File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,7 @@ function request_methods:go(timeout)
352
352
local host = self .host
353
353
local port = self .port
354
354
local tls = self .tls
355
+ local version = self .version
355
356
356
357
-- RFC 6797 Section 8.3
357
358
if not tls and self .hsts and self .hsts :check (host ) then
@@ -439,7 +440,7 @@ function request_methods:go(timeout)
439
440
tls = tls ;
440
441
ctx = self .ctx ;
441
442
sendname = self .sendname ;
442
- version = self . version ;
443
+ version = version ;
443
444
h2_settings = default_h2_settings ;
444
445
}, deadline and deadline - monotime ())
445
446
if connection == nil then
@@ -475,7 +476,7 @@ function request_methods:go(timeout)
475
476
tls = tls ;
476
477
ctx = self .ctx ;
477
478
sendname = self .sendname ~= nil and self .sendname or host ;
478
- version = self . version ;
479
+ version = version ;
479
480
h2_settings = default_h2_settings ;
480
481
}, deadline and deadline - monotime ())
481
482
if connection == nil then
@@ -496,7 +497,7 @@ function request_methods:go(timeout)
496
497
tls = tls ;
497
498
ctx = self .ctx ;
498
499
sendname = self .sendname ;
499
- version = self . version ;
500
+ version = version ;
500
501
h2_settings = default_h2_settings ;
501
502
}, deadline and deadline - monotime ())
502
503
if connection == nil then
You can’t perform that action at this time.
0 commit comments