From 251de734feb2be2d414255dff8358045116e28e1 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 31 Oct 2006 11:01:43 +0000 Subject: Expanded the scope of the stream system to include positional functions. Updated the Connection class so that it won't die horribly if you don't provide the pointers to updatable memory for the amount of time not spent waiting for data during a read. Also fiddled with the http test, as you can see...nothing important. --- src/tests/httpsrv/httpconnectionmonitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/httpsrv') 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() bool HttpConnectionMonitor::onNewConnection( Connection *pCon, int nPort ) { printf("Got connection on port %d\n", nPort ); - Http hp( pCon ); pCon->readInput( 60, 0 ); printf("#######################\n%s\n#######################\n", pCon->getInput() ); + Http hp( pCon ); while( hp.parseRequest() == false ); printf("Done parsing.\n\n"); -- cgit v1.2.3