From 1b2247103ae06b261283156566705f0953a45818 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 12 Aug 2015 14:21:31 -0700 Subject: [PATCH] Fix error case on HTTPClient --- simgear/io/HTTPClient.cxx | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2