Added error message and handling for non-starting connectors over HTTP.

This commit is contained in:
Thulinma 2014-07-29 13:45:52 +02:00
parent 848f075ff4
commit 3016653f9a

View file

@ -635,6 +635,10 @@ namespace Connector_HTTP {
}
}else{
proxyHandleThroughConnector(Client, conn, handler);
if (conn.connected()){
FAIL_MSG("Request %d (%s) failed - no connector started", conn.getSocket(), handler.c_str());
}
break;
}
DEBUG_MSG(DLVL_HIGH, "Completed request %d (%s) ", conn.getSocket(), handler.c_str());
if (closeConnection){