httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: new bug introduced
Date Mon, 22 Apr 1996 20:57:27 GMT
> 
> Has anyone looked ot thought about this problem?
> 
> We've been forced to back down to b0a  to fix this problem.

Is the BUFF code the significant difference between these version?

One area of the code that I think could use some error checking,
and may be related in this case is our calls to dup2() in spawn_child().




> > We've got some scripts (perl) that fork a child to do background
> > work while the parent returns a response to the client to say "come
> > back later".
> > 
> > 1.1b0 worked fine, but with 1.1b1 under HPUX the connection remains
> > open until the child exits.
> > 
> > Here's a simplified version of the script which would have worked
> > under 1.1b0 and 1.0.3
> > 
> > 
> > #!/usr/local/bin/perl
> > 
> > print "Content-type: text/html\r\n\r\n";
> > print "done";
> > close STDOUT; 
> > if (fork()) {exit(0);}
> > sleep 10;
> > 
> > 
> > -=-=-=-
> > 
> > So what happened ?
> > 
> > 
> > rob
> > 
> > 
> > 
> 
> 
> --
> 
>    Windows NT  -  the electronic equivalent of British Beef.




Mime
View raw message