richardhundt / luv

libuv bindings for Lua
Apache License 2.0
118 stars 19 forks source link

http hello server broken #26

Open douyw opened 11 years ago

douyw commented 11 years ago

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]: ?