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 5c9308b commit ccc4c64Copy full SHA for ccc4c64
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