diff options
author | Matthew Wild <mwild1@gmail.com> | 2014-08-28 12:05:18 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2014-08-28 12:05:18 +0100 |
commit | 580f0a2a97b67c80dcb77d386bf469912c5ddfcb (patch) | |
tree | f9b41c73e3cda1b1f3ffe63a3921967eea4a20d6 /net/http | |
parent | af8588572ea3aef8d7c799315adaaf7c7bb64c4f (diff) | |
parent | e5cad1e21d8d45fb12dc0f3d53767c7fb875c96c (diff) | |
download | prosody-580f0a2a97b67c80dcb77d386bf469912c5ddfcb.tar.gz prosody-580f0a2a97b67c80dcb77d386bf469912c5ddfcb.zip |
Merge 0.10->trunk
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/server.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua index 510b77fb..09f8d2a4 100644 --- a/net/http/server.lua +++ b/net/http/server.lua @@ -98,7 +98,7 @@ function listener.onconnect(conn) local pending = {}; local waiting = false; local function process_next() - if waiting then log("debug", "can't process_next, waiting"); return; end + if waiting then return; end -- log("debug", "can't process_next, waiting"); waiting = true; while sessions[conn] and #pending > 0 do local request = t_remove(pending); |