We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b5dca commit f2b1838Copy full SHA for f2b1838
lib/resty/http.lua
@@ -500,14 +500,14 @@ end
500
local function _handle_continue(sock, body)
501
local status, version, reason, err = _receive_status(sock)
502
if not status then
503
- return nil, err
+ return nil, nil, err
504
end
505
506
-- Only send body if we receive a 100 Continue
507
if status == 100 then
508
local ok, err = sock:receive("*l") -- Read carriage return
509
if not ok then
510
511
512
_send_body(sock, body)
513
0 commit comments