clementfarabet / async

An async framework for Lua/Torch.
116 stars 35 forks source link

Fixed crash of monitor.lua when browser rapidly refreshes. #14

Closed ad2476 closed 10 years ago

ad2476 commented 10 years ago

This also implements the W3's specifications for HTTP/1.1 persistent connections.

A note: messages should have a self-defined length that isn't defined by the closure of the connection, and this should be the length of the chunk. However I wasn't sure how to bring chunk into onHeadersComplete, so that may need fixing (async/http.lua, line 96)

ocallaco commented 10 years ago

Looks like we changed this to fix a problem we saw on the monitor for redis-queue -- turns out the issue was in monitor itself. other simple http servers didn't seem to have the same issue. Arun is looking at why that happened