Added URL passthrough.

This commit is contained in:
Thulinma 2016-05-19 15:37:17 +02:00
parent b77e7c8b7c
commit 5d4366fdf1
3 changed files with 18 additions and 1 deletions

View file

@ -160,7 +160,9 @@ namespace Mist {
if (!myConn.Received().size()){
if (myConn.peek() && H.Read(myConn)){
std::string handler = getHandler();
reqUrl = H.url;/*LTS*/
/*LTS-START*/
reqUrl = H.url + H.allVars();
/*LTS-END*/
DEBUG_MSG(DLVL_MEDIUM, "Received request: %s => %s (%s)", H.getUrl().c_str(), handler.c_str(), H.GetVar("stream").c_str());
if (!handler.size()){
H.Clean();