Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: KooiInc on December 07, 2009, 12:15:22 PM

Title: developer question: avast blocking long polling /w ajax
Post by: KooiInc on December 07, 2009, 12:15:22 PM
I am experimenting with long polling XMLHttp Requests (XHR) @ http://testbed.nicon.nl/slowload/longpoll.html (http://testbed.nicon.nl/slowload/longpoll.html). Having Avast antivirus (home edition) installed I noticed that its web shield effectively blocks the use of readyStates<4. Adding an exception for text/xml mime types in the web shield configuration solves this. But is there a way to solve this programmatically? I searched the net thouroughly, but didn't find solutions until now. http://markmail.org/message/dvroivs45gonbto7 (http://markmail.org/message/dvroivs45gonbto7) looked promising, but didn't work.

PS: I need the text/xml response to be able to read the response stream in Internet Explorer