]> git.mxchange.org Git - simgear.git/commitdiff
Fix error case on HTTPClient
authorJames Turner <zakalawe@mac.com>
Wed, 12 Aug 2015 21:21:31 +0000 (14:21 -0700)
committerJames Turner <zakalawe@mac.com>
Mon, 21 Sep 2015 00:28:23 +0000 (19:28 -0500)
simgear/io/HTTPClient.cxx

index 4d1f2c0e757292a8cb37e7ed81a8130882a9d65f..95c5c5199ccc9ed2337cfb8ac4cf7fe792e01ca9 100644 (file)
@@ -219,6 +219,7 @@ public:
             activeRequest->responseStart(buffer);
         } catch (sg_exception& e) {
             handleError(EIO);
+            return;
         }
         
       state = STATE_GETTING_HEADERS;