Skip to content

Commit 8d2ba93

Browse files
committed
local reason variable
1 parent 3451d36 commit 8d2ba93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/http.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ end
585585
function _M.read_response(self, params)
586586
local sock = self.sock
587587

588-
local status, version, err
588+
local status, version, reason, err
589589

590590
-- If we expect: continue, we need to handle this, sending the body if allowed.
591591
-- If we don't get 100 back, then status is the actual status.

0 commit comments

Comments
 (0)