Is STDOUT flushed?

I am in the process of setting up Fast CGI applications to run under
Jigsaw.  (This is an interim step until I can get the apps
re-written!)  I am using the fast-cgi development kit from the
www.fastcgi.com (Open Market) site.  They have a cgi-fcgi application
that is a cgi to fcgi gateway.  You can set up a CgiResource that calls
a script that invokes the cgi-fcgi gateway and run the fastCGI
application.  It works really great, except for one item that has me
baffled.  On the initial connection to the fastCGI application, the
browser waits and spins.  The browser is waiting for an EOF from the
server.  If I click on the "Stop" menu button, I get a:
"
> 


Transfer interrupted!
"
on the browser screen.  But I can go ahead and fill out the form,
submit and it works fine.  ANY OTHER connections to the fastCGI
application works just fine.  It is just the initial connection.

NCSA 1.5 used to have this same condition until Brandon Long noticed
that he was closing the file handle without flushing.

I looked at the w3c.jigsaw.http.Client.java emitReply method, but it
looks like output is being flushed.

Any ideas?

Thanks.

-- 
---
Brian Millett                    
Technology Applications Inc.     "Heaven can not exist,
(314) 530-1981                          If the family is not eternal"
bpm@techapp.com                   F. Ballard Washburn

Received on Thursday, 21 November 1996 17:23:54 UTC