luv
luv copied to clipboard
http hello server broken
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]: ?