I'm using XMLHTTPRequest level 2 to keep a sticky connection with the server.
In IE10, Chrome and Firefox, every data chunk received is triggering the onprogress event as expected. However, on IE11, if the data chunk has more than 4kiB, the event is not triggered for that chunk. It will only be triggered after I receive something else.
I've implemented a workaround that sends a dummy data after 0.5 seconds if the previous chunk was bigger than 4k, so the onprogress is triggered for the dummy data and I can retrieve the desired data.
I would like to know: the real IE11 behavior regarding the onprogress to make sure if there is a better fix for this issue or if the workaround is actually the right fix.
Any help?