I see that WinHTTP is not reentrant (1,2). Is WinINET reentrant?
We have an ActiveX control that does synchronous HTTP with WinINET. If the browser (in javascript) fires an asynchronous http request (ajax) and then immediately calls the ActiveX operation (same IE process), it seems like the two operations are interleaving, perhaps reentrant on the same API, and breaking the WinINET state: clearInterval on the ajax incorrectly fails once. We're using EXT for ajax and EXT assumes clearInterval works the first time.