Microsoft KB Archive/872953

= FIX: HTTP headers are set incorrectly when the AddHeader function or the SetHeader function is called in IIS 6.0 =

Article ID: 872953

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Services 6.0

-





SYMPTOMS
You can call the AddHeader function or the SetHeader function for two similar headers. When you do this, the value of the second header replaces the value of the first header. For example, if you first call the AddHeader  function, and then you call the AddHeader   function, the result is a single   header. The value of the  header is incorrect. Also, the total number of headers is incorrect. You expect to see the following two headers:
 * \r\n
 * \r\n



CAUSE
This problem occurs when the header name that you add is a subset of an existing header. For example, the header &quot;CustomHeader&quot; is a subset of the header &quot;CustomHeader1.&quot; When this problem occurs, Microsoft Internet Information Services (IIS) version 6.0 updates the value of the existing header instead of adding a new header and its value.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version       Size    File name -  23-Oct-2003  18:23  5.2.9354.0   26,112  _sfx_.dll

Date        Time   Version       Size    File name -  27-Jul-2004  17:38  6.0.3790.196  342,016 W3core.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kbfix kbqfe kbwinserv2003presp1fix kbhotfixserver KB872953

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.