It also does not send the headers if there is not content.

<?php

header("Location: http://spidey.dealnews.com/";);

exit();

?>



Document Contains No Data.



Brian.

dealnews.com


----- Original Message -----
From: "Brian Moon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Joseph Tate" <[EMAIL PROTECTED]>
Cc: "Php-Dev List" <[EMAIL PROTECTED]>; "PHP Group" <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 10:16 AM
Subject: Re: [PHP-DEV] Re: Register Shutdown Function for Apache


| You are correct.  The output buffer is not auto-flushed with this patch.
|
| Brian.
| dealnews.com
|
| ----- Original Message -----
| From: "Zeev Suraski" <[EMAIL PROTECTED]>
| To: "Joseph Tate" <[EMAIL PROTECTED]>
| Cc: "Php-Dev List" <[EMAIL PROTECTED]>; "PHP Group" <[EMAIL PROTECTED]>
| Sent: Tuesday, January 28, 2003 3:16 AM
| Subject: [PHP-DEV] Re: Register Shutdown Function for Apache
|
|
| | Joseph,
| |
| | Your latest patch seems to be in the right direction (admittedly I
haven't
| | reviewed it until now).  A couple of random points:
| |
| | - It sounds dangerous to me to move php_request_shutdown() to be called
| | from Apache's shutdown without further inspection.  At least one thing
| | comes to mind - won't it screw up output buffers (they're supposed to
| | autoflush on shutdown, and if I'm not mistaken, this autoflush will now
| | happen when the connection is already closed)?  Possibly some other
things
| too.
| | - Once we're all happy with the patch, we need to decide what to do with
| | it.  Right now, there are no plans to release any further 4.x versions,
| | except for bug fixes.  And the question arises - should this change be
in
| a
| | bugfix release or not.  It certainly has potential to screw things up.
| |
| | Zeev
| |
| | At 18:38 23/01/2003, Joseph Tate wrote:
| | >I can have the patches ready to go in a very short amount of time.
I'll
| | >work on and post them if I can be reasonably sure they'll be committed.
| I'm
| | >tired of spinning my wheels with this though.  I've got a personally
| patched
| | >version of 4.3.0 that will be going into production in a few weeks, so
| I'm
| | >confident in the changes.  I'd like to not use a personally patched
| version
| | >of PHP the next time a release comes down the pipe though.  As a
| reminder,
| | >this patch will fix bug #15209 without breaking the new functionality
of
| | >register_shutdown_function under !apache systems.
| | >
| | >I've appealed to the [EMAIL PROTECTED] for karma to apply them myself, but
| for
| | >the last two weeks have heard nothing either negative or positive.
| | >
| | >Joseph
| |
| |
| | --
| | PHP Development Mailing List <http://www.php.net/>
| | To unsubscribe, visit: http://www.php.net/unsub.php
| |
| |
| |
|
|
| --
| PHP Development Mailing List <http://www.php.net/>
| To unsubscribe, visit: http://www.php.net/unsub.php
|
|
|


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

Reply via email to