tokuhirom / p6-HTTP-Server-Tiny

Web application server for Perl6
Artistic License 2.0
18 stars 10 forks source link

Catch the "broken pipe" Exception in the send-content method #37

Closed jonathanstowe closed 8 years ago

jonathanstowe commented 8 years ago

This handles the not entirely unexpected case where the client closes the socket, for example when they hit escape on a long running response.

Fixes #28

jonathanstowe commented 8 years ago

It appears that the tests timeout on OS/X every once in a while. So will merge despite the apparent failure.