-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Large request messages - http routes #907
Comments
Hi, would it be possible to show the source code? Its hard to say something without knowing what is expected. |
|
The error would be thrown from the http parser if you send an invalid request method - or alternatively if something is wrong with the encoding of the request. |
By reducing the size of what I send below 1KB it seems to work though |
I can't see, what is sent over the wire. so for now I assume, an incorrect Method is sent if request size is above 1K. |
Is there a limit to the size of the request message.
When I run a
curl -x PUT url -H "Content-Type: application/json" -d "JsonMessage"
it seems that when the json message exceeds 1000 bytes I dont get any response back from my end point. In fact, it seems that problem happens somewhere deep inside the crow code, i.e., I dont reach to my callback url.
Curl just replies back with the following:
curl: (52) Empty reply from server
Any help / hint would be much appreciated
@The-EDev
I discovered stream_threshold which is defaulted to around 1MiB, however , this seems to only apply for response body, not request bodies. Is there really no way I can extend the threshold to send larger request bodies
I now tried with debug log enabled and I got some more logs: - please note when reducing the json size I dont see the invalid http method error
The text was updated successfully, but these errors were encountered: