Original Message-
> From: Andrei Zmievski [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 18, 2006 1:20 AM
> To: Dmitry Stogov
> Cc: 'php internals'
> Subject: Re: [PHP-DEV] add_*_vars() speed-up
>
>
> Dmitry,
>
> My patch is almost exactly the sam
This is the updated patch.
* Remove check for SECURITY_HOLE_PASS_AUTHORIZATION, since we are
not CGI and can always skip these headers.
* The optimization is only done for main request now. We check for
r->main (sub-request) and r->prev (internal redirect, like on
ErrorDocument). If eit
Dmitry,
My patch is almost exactly the same code as the original
add_common_vars() and add_cgi_vars() functions except that it avoids
the expensive ap_overlap_tables() call and replaces some ap_table_setn
() calls with ap_table_addn().
-Andrei
On Mar 16, 2006, at 11:25 PM, Dmitry Stogov
Those are all generated elsewhere. Have a look at:
http://lerdorf.com/info.php
This server is running the patch and as you can see HTTP_HOST is there,
for example.
-Rasmus
Dmitry Stogov wrote:
Hi Andrei,
I don't see AUTH_USER, HTTPS..., CLIENT_CERT, HTTP_HOST, REQUEST_LINE,
SERVER_URL.
Hi Andrei,
I don't see AUTH_USER, HTTPS..., CLIENT_CERT, HTTP_HOST, REQUEST_LINE,
SERVER_URL.
May be not all of them necessary and available in apache, but AUTH_USER,
HTTPS are required for PHP.
Thanks. Dmitry.
> -Original Message-
> From: Andrei Zmievski [mailto:[EMAIL PROTECTED]
> Se