eidheim / Simple-Web-Server

A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
MIT License
2.61k stars 751 forks source link

Possible implementation for fixing #106 #107

Closed pboettch closed 7 years ago

pboettch commented 7 years ago

This is a possible solution for the requesting the shutdown of a connection after data has been sent out. Useful for HTTP/1.0 server response for example.

pboettch commented 7 years ago

New version of the pull-request, I changed it the way you suggested.

Feel free to integrate and change the commit-message.

eidheim commented 7 years ago

Thank you again. I did some minor changes though.