Re: PHP 4.0 Bug #6471: Duplicate/redundant ISAPI variable requests

From: Date: Fri, 01 Sep 2000 11:37:00 +0000
Subject: Re: PHP 4.0 Bug #6471: Duplicate/redundant ISAPI variable requests
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-31558@lists.php.net to get a copy of this message
I'm writing a web server, and I've got some debug code in the ISAPI module which tells me what the extension is asking for when it calls GetServerVariable. What I've listed is that output when I ran a simple "hello world" script. Charles ----- Original Message ----- From: "Zeev Suraski" <zeev@zend.com> To: <charles@invis.net>; <php-dev@lists.php.net> Sent: Thursday, August 31, 2000 6:50 PM Subject: Re: [PHP-DEV] PHP 4.0 Bug #6471: Duplicate/redundant ISAPI variable requests > What do you mean by 'PHP asks for...'? > > Zeev > > At 20:33 31-08-00, charles@invis.net wrote: > >From: charles@invis.net > >Operating system: Win2k > >PHP version: 4.0.2 > >PHP Bug Type: Performance problem > >Bug description: Duplicate/redundant ISAPI variable requests > > > >PHP asks for the following ISAPI variables, in this order: > > > >HTTP_COOKIE * > >ALL_HTTP * > >APPL_MD_PATH > >APPL_PHYSICAL_PATH > >AUTH_PASSWORD > >AUTH_TYPE > >AUTH_USER > >CERT_COOKIE + > >CERT_FLAGS + > >CERT_ISSUER + > >CERT_KEYSIZE + > >CERT_SECRETKEYSIZE + > >CERT_SERIALNUMBER + > >CERT_SERVER_ISSUER + > >CERT_SERVER_SUBJECT + > >CERT_SUBJECT + > >CONTENT_LENGTH > >CONTENT_TYPE > >LOGON_USER > >HTTP_COOKIE * > >HTTPS > >HTTPS_KEYSIZE + > >HTTPS_SECRETKEYSIZE + > >HTTPS_SERVER_ISSUER + > >HTTPS_SERVER_SUBJECT + > >INSTANCE_ID > >INSTANCE_META_PATH > >PATH_INFO > >PATH_TRANSLATED > >QUERY_STRING > >REMOTE_ADDR > >REMOTE_HOST > >REMOTE_USER > >REQUEST_METHOD > >REQUEST_URI > >SCRIPT_NAME * > >SERVER_NAME > >SERVER_PORT > >SERVER_PORT_SECURE + > >SERVER_PROTOCOL > >SERVER_SOFTWARE > >URL > >SCRIPT_NAME * > >ALL_HTTP * > > > > > >The ones marked with a * are requested twice, and the ones marked with a + > >shouldn't be requested unless HTTPS is set to 'on'. In all, 17 out of the > >44 calls to GetServerVariable are avoidable. > > > > > >-- > >PHP Development Mailing List <http://www.php.net/> > >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > >For additional commands, e-mail: php-dev-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > Zeev Suraski <zeev@zend.com> > http://www.zend.com/ > >

« previous php.dev (#31558) next »