moonbridge

changeset 57:439eece506ac

Removed explicit garbage collection while waiting for next request
author jbe
date Sun Mar 22 23:42:36 2015 +0100 (2015-03-22)
parents b3d04d528c83
children 16af76ba40a8
files moonbridge_http.lua
line diff
     1.1 --- a/moonbridge_http.lua	Sun Mar 22 23:42:07 2015 +0100
     1.2 +++ b/moonbridge_http.lua	Sun Mar 22 23:42:36 2015 +0100
     1.3 @@ -887,7 +887,6 @@
     1.4          end
     1.5        })
     1.6        -- read and parse request line:
     1.7 -      collectgarbage()  -- avoid memory consumption while we wait for next request
     1.8        local line = socket:readuntil("\n", remaining_header_size_limit)
     1.9        if not line then return survive end
    1.10        remaining_header_size_limit = remaining_header_size_limit - #line

Impressum / About Us