vapor / http

🚀 Non-blocking, event-driven HTTP built on Swift NIO.
MIT License
240 stars 65 forks source link

fix connection: close for large responses #309

Closed tanner0101 closed 6 years ago

tanner0101 commented 6 years ago

Fixes an issue where the connection would be closed too soon when sending large responses. The connection should be closed once the previous write is known to have succeeded. Fixes #308

penny-coin commented 6 years ago

Hey @tanner0101, you just merged a pull request, have a coin!

You now have 882 coins.