-
-
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
AtmosphereFramework.configureQueryStringAsRequest fails parsing queryString "=&X-atmo-protocol=true" at async timeout #1321
Labels
Comments
Nice catch! Will look at it. |
Fixed in 2.0.2-SNAPSHOT. Please confirm it worked. |
Hi, The received queryString is now "=", so getting there
, but that too fails with
|
I admit I fail to reproduce this issue...digging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Atmosphere runtime v2.0.1
Atmosphere client v2.0.3-javascript
Transport: long-polling
Server: Jetty 9
When AtmosphereResource is suspended with a timeout, the timeout seems to fire an event after the client has unsubscribed and it will result in an ArrayIndexOutOfBoundsException in AtmosphereFramework.configureQueryStringAsReques#1847. The received query string starts with "=&", but should probably start with just "&".
Not sure if this failure actually has any unfortunate effects besides an ERROR-log as the connection seems to be cleaned up just fine.
Debugging AtmosphereRequest#getQueryString() shows
Tracelog shows:
The text was updated successfully, but these errors were encountered: