You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
The heater's first requests after a reconnect are no longer lost.
The quirk: after GET /ping, the heater sends a stray Content-Length: 0 line on its own, after the request has already ended.
What it cost: the relay took that line for the start of a new request,
logged BadHttpMethod … Invalid method encountered, answered 400 and
closed the connection. That lost the request queued behind it, and the
heater retried about 16 seconds later on a new connection.
Now: the relay drops a chunk that is only that line, and counts it in /state as stray_headers.