From 3d5c548d630f8b6c86a250e1b7358824557ef01f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 13 Aug 2009 16:14:53 +0000 Subject: Ok, shared core looks good, and I added a unit test for Bu::List to check a few basics. It works, so now I'm going to apply SharedCore to Bu::List and see how bad it is. Also, I got rid of all the warnings and things that showed up during compilation, they were all silly anyway. Finally, mkunit.sh is much cooler. Hard to believe it's a shell script, it now also adds proper #line directives to the cpp output so if there is an error or warning g++ will give you the right line number in your .unit file, not the resultant cpp file. --- src/fastcgi.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/fastcgi.cpp') diff --git a/src/fastcgi.cpp b/src/fastcgi.cpp index 9aecbfb..3cc3a10 100644 --- a/src/fastcgi.cpp +++ b/src/fastcgi.cpp @@ -278,7 +278,9 @@ void Bu::FastCgi::run() // sio << "Scary."; // ??? we shouldn't get these. break; - + + case typeGetValues: + break; } // sio << sio.nl; @@ -313,10 +315,7 @@ void Bu::FastCgi::run() iSize = 65528; rOut.uContentLength = iSize; write( s, rOut ); - int iAmnt = s.write( - sStdOut.getStr()+iPos, iSize ); -// sio << "Wrote " << iAmnt << -// " of " << iSize << sio.nl; + s.write( sStdOut.getStr()+iPos, iSize ); } } rOut.uContentLength = 0; @@ -333,10 +332,7 @@ void Bu::FastCgi::run() iSize = 65528; rOut.uContentLength = iSize; write( s, rOut ); - int iAmnt = s.write( - sStdErr.getStr()+iPos, iSize ); -// sio << "Wrote " << iAmnt << -// " of " << iSize << sio.nl; + s.write( sStdErr.getStr()+iPos, iSize ); } } rOut.uContentLength = 0; -- cgit v1.2.3