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
(i am using OSX, so netcat is the BSD variant, the -i 1 is not needed on linux)
The HTTP RFC specifies that a 204 response MUST NOT contain a body and is considered done after the first empty line after the headers.
Although I'm not exactly sure whether or not a 0\r\n\r\n body is consider an empty body or not when using Transfer-Encoding: chunked - so your call whether or not this should be fixed here.
🐞
This server :
returns invalid HTTP responses:
(i am using OSX, so netcat is the BSD variant, the
-i 1
is not needed on linux)The HTTP RFC specifies that a 204 response
MUST NOT
contain a body and is considered done after the first empty line after the headers.Although I'm not exactly sure whether or not a
0\r\n\r\n
body is consider an empty body or not when usingTransfer-Encoding: chunked
- so your call whether or not this should be fixed here.The eventual bug for us is caused more by this issue https://trac.nginx.org/nginx/ticket/2066#ticket , which stacks with this one to crash our node clients.
The text was updated successfully, but these errors were encountered: