File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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)
166166 local proxy_uri_t
167167 proxy_uri_t , err = self :parse_uri (proxy_uri )
168168 if not proxy_uri_t then
169- return nil , " uri parse error: " , err
169+ return nil , " uri parse error: " .. err
170170 end
171171
172172 local proxy_scheme = proxy_uri_t [1 ]
@@ -260,7 +260,7 @@ local function connect(self, options)
260260 if not ok then
261261 return nil , " failed to connect to: " .. (proxy_host or " " ) ..
262262 " :" .. (proxy_port or " " ) ..
263- " : " , err
263+ " : " .. err
264264 end
265265
266266 if ssl and sock :getreusedtimes () == 0 then
@@ -280,7 +280,7 @@ local function connect(self, options)
280280 })
281281
282282 if not res then
283- return nil , " failed to issue CONNECT to proxy:" , err
283+ return nil , " failed to issue CONNECT to proxy: " .. err
284284 end
285285
286286 if res .status < 200 or res .status > 299 then
You can’t perform that action at this time.
0 commit comments