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 a939c7e commit bdaf80aCopy full SHA for bdaf80a
lib/resty/http_connect.lua
@@ -4,6 +4,7 @@ local ngx_re_sub = ngx.re.sub
4
local ngx_re_find = ngx.re.find
5
local ngx_log = ngx.log
6
local ngx_WARN = ngx.WARN
7
+local ngx_DEBUG = ngx.DEBUG
8
local to_hex = require("resty.string").to_hex
9
local ffi_gc = ffi.gc
10
local ffi_cast = ffi.cast
@@ -272,6 +273,8 @@ local function connect(self, options)
272
273
-- with a plain http request the authorization is part of the actual request.
274
end
275
276
+ ngx_log(ngx_DEBUG, "poolname: " .. poolname)
277
+
278
-- do TCP level connection
279
local tcp_opts = { pool = poolname, pool_size = pool_size, backlog = backlog }
280
if proxy then
0 commit comments