-
Notifications
You must be signed in to change notification settings - Fork 566
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
Unable to serve file when Content-Length
is specified
#6541
Comments
Two observations:
|
@martin-sladecek Could you try turning off back pressure in
|
Hi @spericas, the property seems to work. |
@martin-sladecek Great, it is a workaround. There's a bug in the default backpressure strategy that I'm looking into. |
None of the backpressure strategies work, not just the default one. |
The other two would require changes to the code, and some explicit flushing (better suited for SE). AUTO_FLUSH is the default one and should work fine in MP. |
PR #6556 |
In some cases, when
Content-Length
is specified, the server request gets stuck and no response is returned.Environment Details
Problem Description
Sample:
sample.zip
Using the sample, it is possible to reproduce this in 2 ways:
/greet
endpoint with curl. The request will be stuck and no response is sent, not even headers.Alternatively, I've tried
netcat
to send the request manually. Interestingly, when I add 2 newlines after the GET request line, the server starts to send the data.Steps to reproduce
See problem description above.
The text was updated successfully, but these errors were encountered: