-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
[jquery.atmosphere.js] problem using streaming transport in IE6 with trackMessageLength #1010
Comments
Which verison of Atmosphere are you using? |
Ah. Just saw you are using Master. Have you tested with other IE version by any chance? |
Fixed. Thanks! |
I tried 1.0.12 and 1.1.0.RC1, both have the same problem, which also exists in Master as i examined the code. BTW, I think it's better to move the line you fixed to the inner braces of if (text.length != 0) {
...
} (up one brace) since the variable skipCallbackInvocation is declared there, and _prepareCallback has to be invoked only when there is text content;-) |
OK my bad. Fixed in master. But I'm unable to reproduce the issue with 1.0.12, |
Environment: ie6 + streaming transport, with trackMessageLength set to true
Problem:
Every time a message arrives, the onMessage handler will be invoked twice: The first message got from onMessage is the size of the received message (added by TrackMessageSizeInterceptor or TrackMessageSizeFilter).
Fix (master):
Line: 1939 - 1945
change to:
The first parameter of the _prepareCallback function should be _response.responseBody instead of text.
The text was updated successfully, but these errors were encountered: