Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Microsoft Internet Explorer Displays a Blank Page While It Uses an HTTP 1.0 Request in a WinInet Application


View products that this article applies to.

Symptoms

When Internet Explorer uses an HTTP 1.0 protocol in a Win32 Internet Extension (WinInet) or a WinInet application to send multiple synchronous POST requests, then Internet Explorer may not display the page that the Web server returns. When you use Internet Explorer 5.0, a blank page appears instead of the page that you requested. When you use Internet Explorer version 5.5, you receive the following error message:
The page cannot be displayed

↑ Back to the top


Cause

When an Internet Explorer POST request uses an HTTP 1.0 protocol, the HttpSendRequest appends two additional null bytes to the HttpSendRequest. The two null bytes result in the mismatch of the content length with the actual data sent. Therefore, Internet Information Services (IIS) identifies the packet as erroneous and then sends the RESET packet back to the client. After the RESET package returns to the client, Internet Explorer incorrectly displays the page.

↑ Back to the top


Workaround

To work around this problem, use one of the following methods:
  1. Use HTTP 1.1 instead of HTTP 1.0 to send a request. To do so, follow these steps:
    1. Start Internet Explorer.
    2. On the Tools menu, click Internet Options.
    3. Click the Advanced tab.
    4. Under HTTP 1.1 settings, click to select theUse HTTP 1.1 check box.


      -or-
  2. Modify the registry value for
    Internet Settings\SendExtraCRLF
    registry DWORD to 0x0. To do this, follow these steps:
    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
    322756 How to back up and restore the registry in Windows

    1. Click Start, and then click Run.
    2. In the Open textbox, type Regedit, and then click OK.
    3. Locate, and then click the following key in the registry:
      HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\
    4. On the Edit menu, click Add Value, and then add the following registry value:
      Value name:
      SendExtraCRLF

      Data type: REG_DWORD
      Radix: Decimal Value data: 0

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


References

For more information about WinInet, visit the following Microsoft Developer Network Web sites:
http://msdn2.microsoft.com/en-us/library/aa385438.aspx
http://msdn2.microsoft.com/en-us/library/aa279190(VS.60).aspx

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: KB816405, kbbug, kbhttp, kbhtml

↑ Back to the top

Article Info
Article ID : 816405
Revision : 6
Created on : 5/12/2007
Published on : 5/12/2007
Exists online : False
Views : 373