Article ID: 263754 - Last Review: October 2, 2003 - Revision: 3.0 BUG: WinInet Application Stops Responding and Shows 100-Percent CPU Utilization
This article was previously published under Q263754 SYMPTOMS
Under some conditions, a WinInet application may stop responding and show 100-percent CPU utilization. When you debug the offending application, you may see that the InternetReadFile API is causing the blocking and CPU-utilization problem. This only happens when the server uses chunked encoding and abruptly closes a connection. CAUSE
The problem is caused by a bug in the InternetReadFile API. Under some conditions, InternetReadFile fails to detect a connection closure and still tries to read data from the socket.
RESOLUTION
Because this problem only occurs when chunked encoding is used, you can disable chunked encoding to solve the problem. Because chunked encoding is not used with HTTP 1.0, you can work around this problem by using HTTP 1.0. To do so you must:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
258425
(http://support.microsoft.com/kb/258425/EN-US/
)
Unable to Specify HTTP Version by Using HttpOpenRequest()
Hypertext Transfer Protocol -- HTTP/1.1
(http://www.rfc-editor.org/rfc/rfc2068.txt)
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






















Back to the top