ipkn / crow

Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
BSD 3-Clause "New" or "Revised" License
7.47k stars 888 forks source link

Fix connection close bug when response write over 5 seconds #294

Open shyblue opened 6 years ago

shyblue commented 6 years ago

Fix connection close in tick time(5 seconds default) even if remaining to write response data.

When writing response to client over 5 seconds, connection will close by timer. so if big response data or weak network condition make reset connection before received all response.