Fixed HTTP proxying status code when not multiplexing requests.

This commit is contained in:
Thulinma 2014-02-13 11:37:33 +01:00
parent 537c3cff94
commit c7e6f966b0

View file

@ -525,7 +525,7 @@ namespace Connector_HTTP {
//unknown length
H.SetHeader("X-UID", uid);
H.SetHeader("Server", "mistserver/" PACKAGE_VERSION "/" + Util::Config::libver);
conn.SendNow(H.BuildResponse("200", "OK"));
conn.SendNow(H.BuildResponse(H.url, H.method));
//switch out the connection for an empty one - it makes no sense to keep these globally
Socket::Connection * myConn = myCConn->conn;
myCConn->conn = new Socket::Connection();