-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webserver attempts to use chunked encoding even for HTTP/1.0 requests #350
Comments
Thanks for your report. Am I understanding correctly that you're talking to That surprises me a bit as neither |
That's correct; until very recently (lighttpd/lighttpd1.4@f7919c1) After noticing that patch, tho', and jumping up to |
I believe we fixed the too short |
Thank you for your report and help, @nwf. We're replacing the illegal Before:
After:
|
Thank you for the heads up, but I believe that the initial bug -- that the server speaks HTTP/1.1 in response to a HTTP/1.0 request -- still stands? |
Yes, that's part of the embedded mongoose server, and we cannot easily change that. |
- UPD: Leaflet GeoJSON map point popups now contain accuracy if available (owntracks#352) - FIX: prefix Content-Length by X- to avoid issues with chunked encoding owntracks#350 - FIX: fix off-by-one error introduced in owntracks#328 (Safari only)
Like it says in the title: the embedded mongoose server is wired to always send
Transfer-Encoding: chunked
even when the request isHTTP/1.0
. This means that things almost work whenot-recorder
is reverse-proxied behindlighttpd
but theapi
endpoints get a502 Bad Gateway
.Would it be possible to fall back to computing the entire response up front for
HTTP/1.0
requests, or at least failing them with a more descriptive error message (e.g.505 HTTP Version Not Supported
)?The text was updated successfully, but these errors were encountered: