More of the same.
This commit is contained in:
parent
619b9533bd
commit
4bedda64e9
4 changed files with 10 additions and 1 deletions
|
@ -247,6 +247,8 @@ namespace Connector_HTTP{
|
|||
connconn[uid]->conn->Received().get().clear();
|
||||
if (connconn[uid]->conn->Received().size()){
|
||||
connconn[uid]->conn->Received().get().insert(0, tmp);
|
||||
}else{
|
||||
connconn[uid]->conn->Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
@ -345,6 +347,8 @@ namespace Connector_HTTP{
|
|||
conn->Received().get().clear();
|
||||
if (conn->Received().size()){
|
||||
conn->Received().get().insert(0, tmp);
|
||||
}else{
|
||||
conn->Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -186,6 +186,8 @@ namespace Connector_HTTP{
|
|||
conn.Received().get().clear();
|
||||
if (conn.Received().size()){
|
||||
conn.Received().get().insert(0, tmp);
|
||||
}else{
|
||||
conn.Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -48,6 +48,8 @@ namespace Connector_HTTP{
|
|||
conn.Received().get().clear();
|
||||
if (conn.Received().size()){
|
||||
conn.Received().get().insert(0, tmp);
|
||||
}else{
|
||||
conn.Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -502,10 +502,11 @@ int main(int argc, char ** argv){
|
|||
it->C.Received().get().clear();
|
||||
if (it->C.Received().size()){
|
||||
it->C.Received().get().insert(0, tmp);
|
||||
}else{
|
||||
it->C.Received().append(tmp);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (it->H.Read(it->C.Received().get())){
|
||||
Response.null(); //make sure no data leaks from previous requests
|
||||
if (it->clientMode){
|
||||
|
|
Loading…
Add table
Reference in a new issue