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
{{ message }}
Repository navigation
example/hello_world_server can't handler POST request with big text body #681
Interesting. The hello_world_server is just supposed to respond with text in that case, since it will just attempt to drop the incoming data. Have you tried modifying the server implementation to print the data it's receiving, to see where the problem is?
Activity
deanberris commentedon Aug 25, 2016
Does POSTMAN expect a "100 continue" response for larger POST requests? If so, then the hello_world_server doesn't send those 100-continue responses.
janlely commentedon Aug 26, 2016
I print out all the request headers, it seems that POSTMAN didn't set the "Expect: 100-continue"
Host : 127.0.0.1:8080
Connection : keep-alive
Content-Length : 564
Cache-Control : no-cache
Origin : chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
Content-Type : text/plain;charset=UTF-8
User-Agent : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/51.0.2704.79 Chrome/51.0.2704.79 Safari/537.36
Postman-Token : 15587bd8-154a-fac4-e209-06b752dff5aa
Accept : /
Accept-Encoding : gzip, deflate
Accept-Language : en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4,zh-TW;q=0.2
deanberris commentedon Aug 26, 2016
Interesting. The hello_world_server is just supposed to respond with text in that case, since it will just attempt to drop the incoming data. Have you tried modifying the server implementation to print the data it's receiving, to see where the problem is?
janlely commentedon Sep 9, 2016
The content above was just print by the "hello_world_server".
hope you can test by yourself, and solve the problem
I now use libevent instead.
carun commentedon Jan 13, 2018
I've been able to reproduce the issue on 0.13-release branch on Ubuntu 17.10 64 bit. Will try to find the root cause.
example: send response content-length as part of http header from ser…
carun commentedon Feb 23, 2018
@deanberris @janlely can you close this issue?