summaryrefslogtreecommitdiff
path: root/src/fastcgi.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-08-13 16:14:53 +0000
committerMike Buland <eichlan@xagasoft.com>2009-08-13 16:14:53 +0000
commit3d5c548d630f8b6c86a250e1b7358824557ef01f (patch)
tree01bc0a81c7a9ae27209ca26e6ea5e0f09fb32dc5 /src/fastcgi.cpp
parent8e08c85cd77d7306fb3feaef8544778408c9d858 (diff)
downloadlibbu++-3d5c548d630f8b6c86a250e1b7358824557ef01f.tar.gz
libbu++-3d5c548d630f8b6c86a250e1b7358824557ef01f.tar.bz2
libbu++-3d5c548d630f8b6c86a250e1b7358824557ef01f.tar.xz
libbu++-3d5c548d630f8b6c86a250e1b7358824557ef01f.zip
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.
Diffstat (limited to 'src/fastcgi.cpp')
-rw-r--r--src/fastcgi.cpp14
1 files changed, 5 insertions, 9 deletions
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()
278// sio << "Scary."; 278// sio << "Scary.";
279 // ??? we shouldn't get these. 279 // ??? we shouldn't get these.
280 break; 280 break;
281 281
282 case typeGetValues:
283 break;
282 } 284 }
283 285
284// sio << sio.nl; 286// sio << sio.nl;
@@ -313,10 +315,7 @@ void Bu::FastCgi::run()
313 iSize = 65528; 315 iSize = 65528;
314 rOut.uContentLength = iSize; 316 rOut.uContentLength = iSize;
315 write( s, rOut ); 317 write( s, rOut );
316 int iAmnt = s.write( 318 s.write( sStdOut.getStr()+iPos, iSize );
317 sStdOut.getStr()+iPos, iSize );
318// sio << "Wrote " << iAmnt <<
319// " of " << iSize << sio.nl;
320 } 319 }
321 } 320 }
322 rOut.uContentLength = 0; 321 rOut.uContentLength = 0;
@@ -333,10 +332,7 @@ void Bu::FastCgi::run()
333 iSize = 65528; 332 iSize = 65528;
334 rOut.uContentLength = iSize; 333 rOut.uContentLength = iSize;
335 write( s, rOut ); 334 write( s, rOut );
336 int iAmnt = s.write( 335 s.write( sStdErr.getStr()+iPos, iSize );
337 sStdErr.getStr()+iPos, iSize );
338// sio << "Wrote " << iAmnt <<
339// " of " << iSize << sio.nl;
340 } 336 }
341 } 337 }
342 rOut.uContentLength = 0; 338 rOut.uContentLength = 0;