luv icon indicating copy to clipboard operation
luv copied to clipboard

http hello server broken

Open douyw opened this issue 11 years ago • 0 comments

I just run the example: http_hellosvr.lua. After the browser get a "Hello" string, the server is broken.

$ lua http_hellosvr.lua 
HTTP server listening to http://0.0.0.0:8080/. Hit CTRL+C to exit.
table: 0x7fb9a38005c0   end
lua: ./http.lua:68: attempt to call method 'reset' (a nil value)
stack traceback:
    [C]: in function 'join'
    http_hellosvr.lua:33: in main chunk
    [C]: ?

douyw avatar Nov 11 '12 08:11 douyw