You simply terminate the TCP connection. In my tests I kill the curl processes performing the requests. In a browser you can do either: * Close the browser tab or the browser. * Hit the reload button. * Abort AJAX requests by calling the 'abort' method on the XMLHttpRequest.
/ Martin On Tue, Jan 21, 2014 at 6:09 AM, Cuong Thai <[email protected]> wrote: > Hi all, > > I don't know how to cancel request to reproduce. I also curious about this. > As I know Django throws Broken Pipe exception when server is handling > request if client cancels it. Loïc Hoguin, the author of cowboy server, > answers me that it happens similarly with cowboy. > -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/CAD7D%3D90%2By8RkAk8e4dKyEE50CwgCeedsbT%3DHMYghoQ65QswR5w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
