httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: r->connection->aborted no longer set?
Date Fri, 24 Jul 1998 16:53:20 GMT
Are you compiling with egcs?  If so, try adding "volatile" to the aborted
field in conn_rec. 

Dean

On Fri, 24 Jul 1998, Rasmus Lerdorf wrote:

> In the PHP module I am checking r->connection->aborted while running a PHP
> script and if set the PHP script will terminate gracefully.  With Apache
> 1.2.6 if I write a little script that looks like:
> 
>   <? while(1) print "Test"; ?>
> 
> And load it up and then hit my browser's stop button, I can tell on the
> server that the script stops which means that r->connection->aborted got
> set and PHP caught that.
> 
> However, in Apache 1.3.x this does not seem to be the case.  I have
> watched r->connection->aborted in gdb and it doesn't get set in this case.
> I'll dive into the Apache code, but if someone can point me at what
> changed, I would appreciate it.
> 
> -Rasmus
> 
> 


Mime
View raw message