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
If http header contain “Expect": 100-contiue, and the server not response 100 OK.
Then the lua-resty-http will block here:
local function _handle_continue(sock, body)
local status, version, reason, err = _receive_status(sock) --luacheck: no unused
///block here....
if not status then
return nil,nil,nil, err
end
How to do?
The text was updated successfully, but these errors were encountered:
We've just hit exactly the same issue here.
According to HTTP 1.1 spec documents:
Because of the presence of older implementations, the protocol allows
ambiguous situations in which a client may send "Expect: 100-
continue" without receiving either a 417 (Expectation Failed) status
or a 100 (Continue) status. Therefore, when a client sends this
header field to an origin server (possibly via a proxy) from which it
has never seen a 100 (Continue) status, the client SHOULD NOT wait
for an indefinite period before sending the request body.
If http header contain “Expect": 100-contiue, and the server not response 100 OK.
Then the lua-resty-http will block here:
How to do?
The text was updated successfully, but these errors were encountered: