Fixed a HTTP bug causing some requests to never be answered, removed some debug output that was left behind.
This commit is contained in:
parent
b9e978f003
commit
63fb36bf48
3 changed files with 2 additions and 6 deletions
|
@ -250,7 +250,6 @@ namespace Connector_HTTP{
|
|||
}else{
|
||||
connconn[uid]->conn->Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
//check if the whole response was received
|
||||
if (H.Read(connconn[uid]->conn->Received().get())){
|
||||
|
@ -350,7 +349,6 @@ namespace Connector_HTTP{
|
|||
}else{
|
||||
conn->Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (Client.Read(conn->Received().get())){
|
||||
std::string handler = getHTTPType(Client);
|
||||
|
|
|
@ -110,9 +110,9 @@ namespace Connector_HTTP{
|
|||
abst.setSegmentRunTable(asrt, 0);
|
||||
abst.setFragmentRunTable(afrt, 0);
|
||||
|
||||
//#if DEBUG >= 8
|
||||
#if DEBUG >= 8
|
||||
std::cout << "Sending bootstrap:" << std::endl << abst.toPrettyString(0) << std::endl;
|
||||
//#endif
|
||||
#endif
|
||||
return std::string((char*)abst.asBox(), (int)abst.boxedSize());
|
||||
}
|
||||
|
||||
|
@ -189,7 +189,6 @@ namespace Connector_HTTP{
|
|||
}else{
|
||||
conn.Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (HTTP_R.Read(conn.Received().get())){
|
||||
#if DEBUG >= 4
|
||||
|
|
|
@ -51,7 +51,6 @@ namespace Connector_HTTP{
|
|||
}else{
|
||||
conn.Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (HTTP_R.Read(conn.Received().get())){
|
||||
#if DEBUG >= 4
|
||||
|
|
Loading…
Add table
Reference in a new issue