aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.http: Add quotes around ids in log messagesMatthew Wild2016-07-271-3/+3
|
* net.server_select: remove unused one-letter loop variable [luacheck]Anton Shestakov2016-07-141-1/+1
|
* net.dns: remove unused one-letter loop variables [luacheck]Anton Shestakov2016-07-141-4/+4
|
* net.http.server: Add response method for reading response body from a file ↵Kim Alvefur2016-07-111-0/+42
| | | | handle
* net.dns: don't use "for s,s in pairs..." (unused loop variable s) [luacheck]Anton Shestakov2016-07-091-2/+2
|
* net.adns: remove unused local variables t_insert and t_remove [luacheck]Anton Shestakov2016-07-091-1/+0
|
* net.dns: remove unused one-letter loop variables [luacheck]Anton Shestakov2016-07-091-4/+4
|
* net.server_select: remove unused one-letter loop variables [luacheck]Anton Shestakov2016-07-091-2/+2
|
* net.http: Add log messages for requests, including their id (so "calling ↵Matthew Wild2016-07-071-1/+13
| | | | callback" and tracebacks can be traced back to their initial request)
* net.http: Add request.id to every request object (can be overridden by ↵Matthew Wild2016-07-071-0/+4
| | | | providing ex.id)
* net.server_event: Schedule another read callback if there is still data left ↵Kim Alvefur2016-05-041-1/+5
| | | | in buffer after reading (fixes #583 for real)
* net.server_event: Collect entire one line function on one lineKim Alvefur2016-05-041-4/+1
|
* Merge 0.9->0.10Kim Alvefur2016-04-191-1/+1
|\
| * net.server_event: Check the buffer *length*, not the buffer itself (Fixes ↵Kim Alvefur2016-04-191-1/+1
| | | | | | | | 100% cpu usage introduced in 65abd9d7bf88)
* | Merge 0.9->0.10Kim Alvefur2016-04-191-4/+3
|\|
| * net.server_event: Return the correct value as timeoutKim Alvefur2016-04-191-1/+1
| |
| * net.server_event: Fix traceback if event re-added during starttlsKim Alvefur2016-04-191-4/+3
| |
* | Merge 0.9->0.10Kim Alvefur2016-04-191-0/+4
|\|
| * net.server_event: Re-add write event if writebuffer is non-empty after write ↵Kim Alvefur2016-04-191-0/+4
| | | | | | | | (eg due to writes from ondrain callback) (fixes #661)
* | server_event: addclient: wrapclient already calls startconnection for us ↵daurnimator2013-12-181-2/+1
| | | | | | | | [backported from trunk]
* | server_event: Split long list of assignments into multiple lines for readabilityKim Alvefur2016-04-051-4/+7
| |
* | server_event: Fix indentation (again)Kim Alvefur2016-04-051-526/+527
| |
* | net.server_select: Remove do-nothing os_difftime calls [backported from trunk]daurnimator2015-01-191-5/+3
| |
* | net.dns: Import unpack() in forward-compatible way (Fixes compat with Lua5.2+)Kim Alvefur2016-03-281-2/+2
| |
* | net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵Matthew Wild2016-03-101-1/+0
| | | | | | | | util.rfc6724: Remove unused variables [luacheck]
* | Merge 0.9->0.10Kim Alvefur2016-03-021-525/+526
|\|
| * net.server_event: Return true from conn:resume() to indicate successKim Alvefur2016-03-021-0/+1
| |
| * net.server_event: Prevent resuming connections without readcallback, eg ↵Kim Alvefur2016-03-021-1/+1
| | | | | | | | closed connections (fixes #590)
* | Merge 0.9->0.10Kim Alvefur2016-01-223-8/+28
|\|
| * server_select: Add logging of when servers are paused and resumedKim Alvefur2016-01-221-0/+2
| |
| * server_select: Pause and mark server as full if accepting a client fails ↵Kim Alvefur2016-01-221-0/+2
| | | | | | | | (fixes #597)
| * server_select: Retry accepting clients from full servers after 10s (matches ↵Kim Alvefur2016-01-222-1/+12
| | | | | | | | libevent behaviour)
| * server_select: Keep track of which server listeners are fullKim Alvefur2016-01-221-0/+5
| |
| * net.dns: Remember query only after it was sent, in case it was not (fixes #598)Kim Alvefur2016-01-211-5/+5
| |
* | net.http.server: Return from listen_on() whatever net.server.addserver() returnsKim Alvefur2016-01-161-1/+1
| |
* | net.server_select: Add 'server' method to client connections (present in ↵Kim Alvefur2016-01-091-0/+3
| | | | | | | | server_event)
* | Merge 0.9->0.10Kim Alvefur2016-01-081-2/+4
|\|
| * Backout 88d54bec26b7 prior to release, as it certainly requires more testing0.9.9Matthew Wild2016-01-081-1/+3
| |
| * net.dns: Allow a zone id in resolv.conf (eg like %eth0)Kim Alvefur2016-01-041-1/+1
| |
| * net.dns: Support IPv6 addresses in resolv.conf [Backported from 0.10]Florian Zeitz2013-06-181-6/+13
| |
* | server_select: Forward the actual TLS handshake error messageKim Alvefur2016-01-031-2/+3
| |
* | net.server_select: Close all connections when quitting (and not just ↵Matthew Wild2016-01-021-0/+1
| | | | | | | | stepping), matches server_event
* | net.server_event: Add conn.type == 'server' for server sockets (fixes ↵Matthew Wild2016-01-021-0/+1
| | | | | | | | closeallservers() )
* | net.http.server: Import util.cacheMatthew Wild2015-12-031-0/+1
| |
* | net.http.server: Use new util.cache to remember wildcard event handlersMatthew Wild2015-12-031-5/+5
| |
* | net.websocket.frames: Fix syntax error due to code copy pastingKim Alvefur2015-10-061-2/+2
| |
* | net.websocket.frames: Use struct packing in Lua 5.3 or struct lib if availableKim Alvefur2015-10-061-0/+25
| |
* | net.websocket.frames: Pack and unpack 64bit ints without overflows ↵Kim Alvefur2015-10-061-4/+6
| | | | | | | | (lua-bitop/bit32 are 32bit)
* | net.websocket.frames: Link to documentation when bitop is missingKim Alvefur2015-10-061-1/+1
| |
* | net.websocket.frames: Throw an error if no bit lib is foundKim Alvefur2015-10-061-2/+2
| |