From d8ba63fd2b512297b42b8b7db877205ab287e067 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 4 Oct 2007 16:13:03 +0000 Subject: Same as last time, just be sure to check that all your files have been written before you commit :-P --- src/protocolhttp.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/protocolhttp.cpp b/src/protocolhttp.cpp index 6f2ae68..d18d73d 100644 --- a/src/protocolhttp.cpp +++ b/src/protocolhttp.cpp @@ -71,8 +71,15 @@ void Bu::ProtocolHttp::onNewData( Bu::Client *pClient ) case 3: SDB( 3 ); - pClient->disconnect(); - return; + if( iState != ttNewline ) + { + pClient->disconnect(); + return; + } + iState = 4; + break; + + case 4: break; } } -- cgit v1.2.3