diff options
Diffstat (limited to 'net/http.lua')
-rw-r--r-- | net/http.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http.lua b/net/http.lua index 5b9831ac..c37288fe 100644 --- a/net/http.lua +++ b/net/http.lua @@ -61,6 +61,7 @@ end local function request_reader(request, data, startpos) if not request.parser then + if not data then return; end local function success_cb(r) if request.callback then for k,v in pairs(r) do request[k] = v; end |