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 @@ -357,6 +357,7 @@ function request_methods:go(timeout)
357
357
local host = self .host
358
358
local port = self .port
359
359
local tls = self .tls
360
+ local version = self .version
360
361
361
362
-- RFC 6797 Section 8.3
362
363
if not tls and self .hsts and self .hsts :check (host ) then
@@ -444,7 +445,7 @@ function request_methods:go(timeout)
444
445
tls = tls ;
445
446
ctx = self .ctx ;
446
447
sendname = self .sendname ;
447
- version = self . version ;
448
+ version = version ;
448
449
h2_settings = default_h2_settings ;
449
450
}, deadline and deadline - monotime ())
450
451
if connection == nil then
@@ -480,7 +481,7 @@ function request_methods:go(timeout)
480
481
tls = tls ;
481
482
ctx = self .ctx ;
482
483
sendname = self .sendname ~= nil and self .sendname or host ;
483
- version = self . version ;
484
+ version = version ;
484
485
h2_settings = default_h2_settings ;
485
486
}, deadline and deadline - monotime ())
486
487
if connection == nil then
@@ -501,7 +502,7 @@ function request_methods:go(timeout)
501
502
tls = tls ;
502
503
ctx = self .ctx ;
503
504
sendname = self .sendname ;
504
- version = self . version ;
505
+ version = version ;
505
506
h2_settings = default_h2_settings ;
506
507
}, deadline and deadline - monotime ())
507
508
if connection == nil then
You can’t perform that action at this time.
0 commit comments