diff options
Diffstat (limited to 'src/fastcgi.cpp')
-rw-r--r-- | src/fastcgi.cpp | 14 |
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; |