microsoft.mshtml

Hooking the http/https protocol in IE causes GET requests to be sequential

佐手、 提交于 2019-11-30 05:45:12
I'm using the PassthruAPP method to hook into HTTP/HTTPS requests made by IE. It's working well for the most part, however I noticed a problem. Only one download thread is active at a time, normally IE uses two download threads. I can see two IInternetProtocol objects getting created, but IE uses only one at a time. This is happening with IE7, I haven't tried with other versions yet. The problem seems to be that IE falls back to downloading items one at a time when IInternetSession::RegisterNameSpace is called for any of its default handlers. The code below causes HTTP downloads to be

Hooking the http/https protocol in IE causes GET requests to be sequential

↘锁芯ラ 提交于 2019-11-29 04:01:30
问题 I'm using the PassthruAPP method to hook into HTTP/HTTPS requests made by IE. It's working well for the most part, however I noticed a problem. Only one download thread is active at a time, normally IE uses two download threads. I can see two IInternetProtocol objects getting created, but IE uses only one at a time. This is happening with IE7, I haven't tried with other versions yet. The problem seems to be that IE falls back to downloading items one at a time when IInternetSession: