File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -252,12 +252,12 @@ void multithreadthroughputtest() {
252252int main (int argc, char * argv[]) {
253253 wssautobahntest ();
254254 std::this_thread::sleep_for (1s);
255- /* generaltest();
255+ generaltest ();
256256 std::this_thread::sleep_for (1s);
257257 generalTLStest ();
258258 std::this_thread::sleep_for (1s);
259259 multithreadtest ();
260260 std::this_thread::sleep_for (1s);
261- multithreadthroughputtest();*/
261+ multithreadthroughputtest ();
262262 return 0 ;
263263}
Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ namespace SL {
7272
7373 if (self->onConnection ) {
7474 self->onConnection (socket, header);
75- }
75+ }/*
7676 if (read_buffer->size() > bytes_transferred) {
7777 SL_WS_LITE_LOG(Logging_Levels::INFO_log_level, "Read Extra Data " << read_buffer->size() - bytes_transferred);
78- }
78+ }*/
7979 ReadHeaderStart (self, socket);
8080 }
8181 else {
Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ namespace SL {
1818 SL_WS_LITE_LOG (Logging_Levels::INFO_log_level, " Parse Handshake failed " );
1919 return ;
2020 }
21- if (handshakecontainer->Read .size () > 0 ) {
21+ /* if (handshakecontainer->Read.size() > 0) {
22+
2223 SL_WS_LITE_LOG(Logging_Levels::INFO_log_level, "READ MORE DATA " << handshakecontainer->Read.size());
2324 return;
24- }
25+ }*/
2526
2627 std::ostream handshake (&handshakecontainer->Write );
2728 if (Generate_Handshake (handshakecontainer->Header , handshake)) {
You can’t perform that action at this time.
0 commit comments