Browse Source

don't delete socket twice

pull/97/head
orignal 10 years ago
parent
commit
956107c679
  1. 4
      HTTPServer.cpp

4
HTTPServer.cpp

@ -531,8 +531,8 @@ namespace util
m_Stream->Send ((uint8_t *)m_Buffer, bytes_transferred, 10); m_Stream->Send ((uint8_t *)m_Buffer, bytes_transferred, 10);
Receive (); Receive ();
} }
else if (ecode != boost::asio::error::operation_aborted) /*else if (ecode != boost::asio::error::operation_aborted)
Terminate (); Terminate ();*/
} }
void HTTPConnection::RunRequest () void HTTPConnection::RunRequest ()

Loading…
Cancel
Save