File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ local function connect(self, options)
166
166
local proxy_uri_t
167
167
proxy_uri_t , err = self :parse_uri (proxy_uri )
168
168
if not proxy_uri_t then
169
- return nil , " uri parse error: " , err
169
+ return nil , " uri parse error: " .. err
170
170
end
171
171
172
172
local proxy_scheme = proxy_uri_t [1 ]
@@ -260,7 +260,7 @@ local function connect(self, options)
260
260
if not ok then
261
261
return nil , " failed to connect to: " .. (proxy_host or " " ) ..
262
262
" :" .. (proxy_port or " " ) ..
263
- " : " , err
263
+ " : " .. err
264
264
end
265
265
266
266
if ssl and sock :getreusedtimes () == 0 then
@@ -280,7 +280,7 @@ local function connect(self, options)
280
280
})
281
281
282
282
if not res then
283
- return nil , " failed to issue CONNECT to proxy:" , err
283
+ return nil , " failed to issue CONNECT to proxy: " .. err
284
284
end
285
285
286
286
if res .status < 200 or res .status > 299 then
You can’t perform that action at this time.
0 commit comments