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 e71133a commit 7761a83Copy full SHA for 7761a83
lib/ngx/ssl/clienthello.lua
@@ -7,6 +7,7 @@ base.allows_subsystem('http', 'stream')
7
8
local ffi = require "ffi"
9
local bit = require "bit"
10
+local bor = bit.bor
11
local C = ffi.C
12
local ffi_str = ffi.string
13
local get_request = base.get_request
@@ -153,7 +154,7 @@ function _M.set_protocols(protocols)
153
154
if not prot_map[v] then
155
return nil, "invalid protocols failed"
156
end
- prots = bit.bor(prots, prot_map[v])
157
+ prots = bor(prots, prot_map[v])
158
159
160
local rc = ngx_lua_ffi_ssl_set_protocols(r, prots, errmsg)
0 commit comments