On 18/03/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote:
> Well, you can register/unregister resources inside your stream 
> functions.  That's probably the best way to go about it.
> >So would it be better for the streams "subsystem" to keep track of
> >the streams itself?  Or even just register each stream as a resource
> >during allocation of the stream?
> The latter, definitely :)

Good; that's what I thought :-)
 
> Connection handling varies across different web servers.  If you're really 
> paranoid, you can use
> 
> HANDLE_BLOCK_INTERRUPTIONS()
> and
> HANDLE_UNBLOCK_INTERRUPTIONS()

Should I bother with this in streams?
 
> around your code, which at least under Apache, prevents certain async 
> signals from bothering us.  Connection aborting is usually detected when 
> you fail writing information back to the browser, which means it's 
> typically detected synchronously.  Which in turn means that you should be 
> safe :)

That helps me get the picture.

Thanks Zeev,

--Wez.



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to