rouille icon indicating copy to clipboard operation
rouille copied to clipboard

Stop handler when client disconnects

Open mitranim opened this issue 8 years ago • 0 comments

When a client disconnects, the server should stop its request handler and abort all pending work. Reasons:

  • Less susceptible to DDoS attacks
  • Allows the API clients to take advantage of request cancelation without fear of wasting server resources (I do this in my web apps)

mitranim avatar Jul 17 '17 08:07 mitranim