php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6471 Duplicate/redundant ISAPI variable requests
Submitted: 2000-08-31 13:33 UTC Modified: 2001-01-15 15:52 UTC
From: charles at invis dot net Assigned:
Status: Closed Package: Performance problem
PHP Version: 4.0.2 OS: Win2k
Private report: No CVE-ID: None
 [2000-08-31 13:33 UTC] charles at invis dot net
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-15 15:52 UTC] jmoore@php.net
Went to fix this in CVS and it seems Zeev (or someone) has already done this.

James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC