-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.7.7 Causes a "Stack Overflow" in IE8 when using xhr-polling #385
Comments
It would be nice if you could share your minimal test implementation so we can reproduce it. |
Server: var io = require('socket.io').listen(8080);
io.sockets.on('connection', function (socket) {
socket.on('update', function(sMsg) {
socket.emit('test', 'bar');
});
}); Client: <script src="http://localhost:8080/socket.io/socket.io.js"></script>
<script>
var socket = io.connect('http://localhost:8080');
setInterval(function() {
socket.emit('update', 'foo');
}, 500);
</script> See? That was minimal! |
just came across this. |
About 1 out of 20 IE 8.0 users get this error on my site, also with 0.7.8. Relevant: http://stackoverflow.com/questions/226102/stack-overflow-in-line-0-on-internet-explorer |
Do you have a reproducible test case? |
No, sorry. I can not reproduce it on my machine, but its permanent at some of my users. Is there a simple way to debug them remotely? |
I was now able to reproduce it, just disable Flash :). firejune fixed it, and it works: #458 |
Fix XHR.check, which was throwing an error and causing non-IE browsers to fall back to JSONP
Using a minimal test implementation (client and server), IE8 shows a popup "stack overflow in line 0", on receiving the GET response.
The problem appears to occur in a random fashion and more often when the frequency of requests increases.
The problem does not occur when using "flashsocket" transport.
Tested on WinXP, IE8
The text was updated successfully, but these errors were encountered: