Discussion:
app hangs on InternetReadFile
(too old to reply)
Damian
2004-06-11 09:21:24 UTC
Permalink
From time to time my application hangs on InternetReadFile.
It uses 100% oc CPU. I found article 263754 in KB:
http://support.microsoft.com/default.aspx?scid=kb;en-us;263754.
As suggested in this article I forced HttpOpenRequest to use HTTP/1.0 but
this didn't fix this bug. This happens on XP and Windows 2003.

Did anybody encounter such problem? Does anybody know any solution?

Regards,
Damian
Stephen Sulzer
2004-06-11 22:20:50 UTC
Permalink
Be sure to also uncheck "Use HTTP/1.1" and "Use HTTP/1.1 through proxy
connections" in the IE options under Tools / Internet Options... / Advanced
/ HTTP 1.1 settings. If "Use HTTP/1.1" is checked, I think it will
override the "HTTP/1.0" string that you specify to HttpOpenRequest. Hope
that helps.

Stephen
Post by Damian
From time to time my application hangs on InternetReadFile.
http://support.microsoft.com/default.aspx?scid=kb;en-us;263754.
As suggested in this article I forced HttpOpenRequest to use HTTP/1.0 but
this didn't fix this bug. This happens on XP and Windows 2003.
Did anybody encounter such problem? Does anybody know any solution?
Regards,
Damian
Damian
2004-06-14 11:06:01 UTC
Permalink
Thanks. I will try this.

Regards,
Damian
Post by Stephen Sulzer
Be sure to also uncheck "Use HTTP/1.1" and "Use HTTP/1.1 through proxy
connections" in the IE options under Tools / Internet Options... / Advanced
/ HTTP 1.1 settings. If "Use HTTP/1.1" is checked, I think it will
override the "HTTP/1.0" string that you specify to HttpOpenRequest. Hope
that helps.
Stephen
Post by Damian
From time to time my application hangs on InternetReadFile.
http://support.microsoft.com/default.aspx?scid=kb;en-us;263754.
As suggested in this article I forced HttpOpenRequest to use HTTP/1.0 but
this didn't fix this bug. This happens on XP and Windows 2003.
Did anybody encounter such problem? Does anybody know any solution?
Regards,
Damian
Loading...