swim
swim copied to clipboard
Close header fix
- Moved
close
fromdidRequest
todidRespond
as per RFC 2616. - Fixed
didRespond
being called too early.
Fixes #100
The changes to the
AbstractHttpServer
looks good.The changes to the
Station
might impact the performance of the I/O with WebSockets. What is the behavior without this change?
didRespond
for AbstractHttpServer
was being called before the response was actually received by the client, resulting in a server error if the close
method is called.