aboutsummaryrefslogtreecommitdiff
path: root/src/tests/httpsrv/httpconnectionmonitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/httpsrv/httpconnectionmonitor.cpp')
-rw-r--r--src/tests/httpsrv/httpconnectionmonitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/httpsrv/httpconnectionmonitor.cpp b/src/tests/httpsrv/httpconnectionmonitor.cpp
index ee1eab3..451478e 100644
--- a/src/tests/httpsrv/httpconnectionmonitor.cpp
+++ b/src/tests/httpsrv/httpconnectionmonitor.cpp
@@ -13,11 +13,11 @@ HttpConnectionMonitor::~HttpConnectionMonitor()
13bool HttpConnectionMonitor::onNewConnection( Connection *pCon, int nPort ) 13bool HttpConnectionMonitor::onNewConnection( Connection *pCon, int nPort )
14{ 14{
15 printf("Got connection on port %d\n", nPort ); 15 printf("Got connection on port %d\n", nPort );
16 Http hp( pCon );
17 16
18 pCon->readInput( 60, 0 ); 17 pCon->readInput( 60, 0 );
19 printf("#######################\n%s\n#######################\n", pCon->getInput() ); 18 printf("#######################\n%s\n#######################\n", pCon->getInput() );
20 19
20 Http hp( pCon );
21 while( hp.parseRequest() == false ); 21 while( hp.parseRequest() == false );
22 printf("Done parsing.\n\n"); 22 printf("Done parsing.\n\n");
23 23