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 58b02e2 commit b6e776cCopy full SHA for b6e776c
lib/resty/http.lua
@@ -676,6 +676,9 @@ function _M.send_request(self, params)
676
-- Apply defaults
677
setmetatable(params, { __index = DEFAULT_PARAMS })
678
679
+ -- Sending a new request makes keepalive disabled until its response is fully read
680
+ self.keepalive_ready = false
681
+
682
local sock = self.sock
683
local body = params.body
684
local headers = http_headers.new()
0 commit comments