Almost ready to release.
This commit is contained in:
parent
773e35ced3
commit
a32c6d9140
38 changed files with 115 additions and 383 deletions
|
@ -382,7 +382,8 @@ function connect_timeout()
|
|||
assert(c, e)
|
||||
c:settimeout(0.1)
|
||||
local t = socket.gettime()
|
||||
local r, e = c:connect("127.0.0.2", 80)
|
||||
local r, e = c:connect("10.0.0.1", 81)
|
||||
print(r, e)
|
||||
assert(not r, "should not connect")
|
||||
assert(socket.gettime() - t < 2, "took too long to give up.")
|
||||
c:close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue