Skip to content

Commit 594600e

Browse files
committed
Update rockspec & change params in connect
1 parent 993e491 commit 594600e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lua-websockets.rockspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ dependencies = {
1717
"lua >= 5.1",
1818
"luasocket",
1919
"luabitop",
20-
"copas"
20+
"copas",
21+
"luasec"
2122
}
2223

2324
build = {

rockspecs/lua-websockets-scm-1.rockspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ dependencies = {
1717
"luasocket",
1818
"luabitop",
1919
"lua-ev",
20-
"copas"
20+
"copas",
21+
"luasec"
2122
}
2223

2324
build = {

src/websocket/sync.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ local close = function(self,code,reason)
117117
return was_clean,code,reason or ''
118118
end
119119

120-
local connect = function(self,ws_url,ssl_params,ws_protocol)
120+
local connect = function(self,ws_url,ws_protocol,ssl_params)
121121
if self.state ~= 'CLOSED' then
122122
return nil,'wrong state'
123123
end

0 commit comments

Comments
 (0)