2026-10-01 20:51 UTC
I can't seem to trigger it to be sure, but it sounds like their backend is slow, so they send "{" and then keep sending spaces or newlines every Xty seconds until the backend catches up.
since whitespace is ignored in json, this is perfectly cromulent, but it keeps your HTTP client from giving up and saying the connection is dead
Replies (3)
-
@tekhedd@byteheaven.net 2026-10-01 20:53
@foone@digipres.club Actually this is very clever and would pair well with HTTP slow polling. And also I was right to be scared.
-
@wiert@mastodon.social 2026-10-01 20:56
@foone@digipres.club I remember chatjet doing that for html in the late 1990s.
-
@kw217@mathstodon.xyz 2026-10-01 22:31
@foone@digipres.club around here we call that the Slow Loris attack, and take steps to prevent clients doing it to us.