diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-02 00:24:37 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-02 00:24:37 +0200 |
commit | 4aca019397008f0d14d445709610954e6cd56ad4 (patch) | |
tree | 5749f7a93bf1a098085221f3bbcde3c238c778d5 /net/http | |
parent | a5612dad90e194a256a5a2f0f1938d656055f3af (diff) | |
parent | 3e7bffe8c8c5c1ee0022dca4d1a5bb7b16d78b1b (diff) | |
download | prosody-4aca019397008f0d14d445709610954e6cd56ad4.tar.gz prosody-4aca019397008f0d14d445709610954e6cd56ad4.zip |
Merge 0.10->trunk
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/parser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua index 96d32ec8..4e4ae9fb 100644 --- a/net/http/parser.lua +++ b/net/http/parser.lua @@ -46,7 +46,7 @@ function httpstream.new(success_cb, error_cb, parser_type, options_cb) packet.body = buf; success_cb(packet); elseif buf ~= "" then -- unexpected EOF - error = true; return error_cb(); + error = true; return error_cb("unexpected-eof"); end return; end |