mjackson / strata

A modular, streaming HTTP server for node.js

Home Page:http://stratajs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect if remote connection closed

kodemonk opened this issue · comments

How can I detect if remote connection closed? Is there any event I can suscribe to? I am currently creating a server that streams big files from Amazon AS3 and I need to detect when the user closes the connection (i.e closes the browser) to also close the read stream... any idea?

Thanks very much beforehand!!

Alex