From: James Turner Date: Wed, 12 Aug 2015 21:21:31 +0000 (-0700) Subject: Fix error case on HTTPClient X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b2247103ae06b261283156566705f0953a45818;p=simgear.git Fix error case on HTTPClient --- diff --git a/simgear/io/HTTPClient.cxx b/simgear/io/HTTPClient.cxx index 4d1f2c0e..95c5c519 100644 --- a/simgear/io/HTTPClient.cxx +++ b/simgear/io/HTTPClient.cxx @@ -219,6 +219,7 @@ public: activeRequest->responseStart(buffer); } catch (sg_exception& e) { handleError(EIO); + return; } state = STATE_GETTING_HEADERS;