]> git.mxchange.org Git - simgear.git/commit
Fixes for stalling scenery downloads.
authorJames Turner <zakalawe@mac.com>
Sun, 3 Jan 2016 17:58:22 +0000 (11:58 -0600)
committerJames Turner <zakalawe@mac.com>
Sun, 3 Jan 2016 17:58:22 +0000 (11:58 -0600)
commitbe0447d4c0cda5279f885bf7dd22b80bbe9f0396
tree9a023e271344983199567e1c36b53b929d0ecf97
parentef7a0dc5a3a225da7bf2d754e9f1bf2d234a11c4
Fixes for stalling scenery downloads.

- handle closed connections equivalent to IDLE, for timeout purposes
- if the server closes the socket in WAITING_FOR_RESPONSE state, fail
  the first sent request when restoring.

Note this does not explain why the server sometimes closes the socket
in this way, but at least it now causes a detectable failure.
simgear/io/HTTPClient.cxx
simgear/io/HTTPClient.hxx
simgear/io/sg_netChannel.cxx
simgear/io/test_HTTP.cxx