Browse Source

* HTTPProxy.cpp : force clean recv buffer (#508)

pull/509/merge
hagen 9 years ago
parent
commit
e4edc59689
  1. 4
      HTTPProxy.cpp

4
HTTPProxy.cpp

@ -224,8 +224,10 @@ namespace proxy { @@ -224,8 +224,10 @@ namespace proxy {
return;
}
if (HandleRequest(len))
if (HandleRequest(len)) {
m_recv_buf.clear();
return; /* request processed */
}
AsyncSockRead();
}

Loading…
Cancel
Save