-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle http connections in dedicated threads, related to #31
HTTP connections are done using blocking calls. These blocking calls could have rather long timeouts (10 min for offline server to ensure that it works on slow hardware and allows to handle hardware suspend to some limited extent) and could result in hanging application exit. By pushing HTTP connections into separate threads, the connections can be terminated with the program exit through thread termination. All idle connections are closed properly.
- Loading branch information
Showing
1 changed file
with
98 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters