summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-12-13 14:52:46 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-12-13 14:52:46 (GMT)
commit902e2ee8e61acb18d2819e8a59a28921f85bbd77 (patch)
tree792f2ad256c8734536bf58540122f882ca63f290 /Swiften/Network
parent8414b9b6dd1ecf9af622cb291934279c3c52a6a4 (diff)
downloadswift-902e2ee8e61acb18d2819e8a59a28921f85bbd77.zip
swift-902e2ee8e61acb18d2819e8a59a28921f85bbd77.tar.bz2
Avoid crash due to misuse of XMPPLayer
Diffstat (limited to 'Swiften/Network')
-rw-r--r--Swiften/Network/HTTPConnectProxiedConnection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Network/HTTPConnectProxiedConnection.cpp b/Swiften/Network/HTTPConnectProxiedConnection.cpp
index 3e6c986..edbdd82 100644
--- a/Swiften/Network/HTTPConnectProxiedConnection.cpp
+++ b/Swiften/Network/HTTPConnectProxiedConnection.cpp
@@ -85,6 +85,7 @@ void HTTPConnectProxiedConnection::handleConnectionConnectFinished(bool error) {
append(data, createSafeByteArray("\r\n"));
}
append(data, createSafeByteArray("\r\n"));
+ SWIFT_LOG(debug) << "HTTP Proxy send headers: " << byteArrayToString(ByteArray(data.begin(), data.end())) << std::endl;
connection_->write(data);
}
else {