aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.server_epoll: Clear write flag before calling ondrain, fixes calling of ↵Kim Alvefur2016-08-161-7/+3
| | | | ondisconnect on explicit close
* net.server_epoll: Wrap calling of ondisconnect listener in additional ↵Kim Alvefur2016-08-141-4/+12
| | | | indirection
* net.server_epoll: Continue reading after a slight delay if there is buffered ↵Kim Alvefur2016-08-121-0/+7
| | | | data after a read
* net.server_epoll: Replace any previous pausefor timerKim Alvefur2016-08-121-3/+8
|
* net.server_epoll: Fix calculation of next timer eventKim Alvefur2016-08-121-9/+7
|
* net.server_epoll: Don't mistake success for an errorKim Alvefur2016-08-111-1/+1
|
* net.server_epoll: Make addclient conform to API (expected by net.http.request)Kim Alvefur2016-08-101-1/+1
|
* net.server_epoll: Some logging when closing a connectionKim Alvefur2016-08-101-0/+2
|
* net.server_epoll: Use first writable event to signal onconnectKim Alvefur2016-08-101-4/+4
|
* net.server_epoll: Make addclient use wrapclientKim Alvefur2016-08-101-6/+14
|
* net.server_epoll: Log epoll_ctl() calls and return valuesKim Alvefur2016-08-101-0/+2
|
* net.server_epoll: Rename arguments and varibles for consistensyKim Alvefur2016-08-101-7/+7
|
* net.server_epoll: Remove last traces of code for bypassing buffering on ↵Kim Alvefur2016-08-101-8/+2
| | | | writable sockets
* net.server_epoll: New experimental server backendKim Alvefur2016-08-101-0/+562
|
* net.server: Monkey-patch in a fallback get_backend method if missingKim Alvefur2016-08-101-0/+5
|
* net.server: Allow arbitrary network backends to be configuredKim Alvefur2016-08-101-1/+2
|
* net.server: Only update configuration if server backend supports changing ↵Kim Alvefur2016-08-101-1/+1
| | | | settings
* net.server: Fix whitespaceKim Alvefur2016-08-101-22/+22
|
* Merge 0.10->trunkKim Alvefur2016-08-081-1/+1
|\
| * net.http.server: Set blocksize for serving data from FDs to 64k (sweet spot ↵Kim Alvefur2016-08-081-1/+1
| | | | | | | | of efficiency according to a recent study)
* | Merge 0.10 -> trunkMatthew Wild2016-07-281-2/+2
|\|
| * net.dns: remove unused variable unpack [luacheck]Anton Shestakov2016-07-281-2/+2
| |
| * net.server_select: remove unused import [luacheck]Anton Shestakov2016-07-281-1/+0
| |
* | Merge 0.10 -> trunkMatthew Wild2016-07-271-3/+3
|\|
| * net.http: Add quotes around ids in log messagesMatthew Wild2016-07-271-3/+3
| |
* | Merge 0.10->trunkKim Alvefur2016-07-142-5/+5
|\|
| * 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
| |
* | Merge 0.10->trunkKim Alvefur2016-07-132-2/+44
|\|
| * 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
| |
* | Merge 0.10->trunkKim Alvefur2016-07-083-7/+6
|\|
| * 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
| |
* | Merge 0.10->trunkMatthew Wild2016-07-071-1/+17
|\|
| * 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)
* | Merge 0.10->trunkKim Alvefur2016-05-041-5/+6
|\|
| * 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.10->trunkKim Alvefur2016-04-191-1/+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.10->trunkKim Alvefur2016-04-191-4/+3
|\| |
| * | 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.10->trunkKim Alvefur2016-04-191-0/+4
|\| |
| * | Merge 0.9->0.10Kim Alvefur2016-04-191-0/+4
| |\|