| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
global which does not yet exist when net.server is loaded now
|
|
|
|
| |
environment [luacheck]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
buffer because the wantwrite flag must be unset regardless
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
continue if possible
|
|
|
|
|
|
| |
Same as 67311cda0625. Check for readability. If a socket is readable
after initial connection, it likely means an error, so we call the
readcallback for that connection to handle it (and ultimately close).
|
|
|
|
|
|
|
|
|
|
|
| |
On connection failure, a socket is marked readable and writable. So
to detect initial connection failures (connection refused, etc.) we
now watch for sockets becoming readable during initial connection,
and also read from readable sockets before writing to writable
sockets.
This should fix 'onconnect' being called for outgoing connections
that actually failed.
|
|
|
|
| |
called so it is only done once
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
behaviour of inet_ntop
|
| | |
|
| | |
|
|\| |
|
| | |
|
| | |
|
|\| |
|
| | |
|
| |
| |
| |
| | |
c2s:show traceback in telnet console)
|
|\| |
|
| | |
|
| | |
|
|\| |
|
| | |
|
| | |
|
| |
| |
| |
| | |
overriden in new()
|
| | |
|
| | |
|
| | |
|
|\| |
|
| |\ |
|
| | | |
|
|\| | |
|