Skip to content
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

Not able to received data on suspended connection when using AtmosphereInterceptor #931

Closed
survivant opened this issue Feb 22, 2013 · 2 comments

Comments

@survivant
Copy link
Member

I created a little sample to show the problem.

I deploy the application on jetty 8.1.7 in the folder : atmosphere-suspend-chat

I access the application with this URL
http://localhost:8080/atmosphere-suspend-chat/index.html

to test the demo.. just click on CONNECT and move the mouse over the box and press Disconnect to stop.

On connect, it will create a GET /info to obtain information about the server

a second connection will be made to /xhr-streaming. It is the connection that will be suspended. I hardcoded the data that I want to received in the AtmosphereInterceptor.

and when you move the mouse, POST will be made, in the AtmosphereInterceptor, I just print the results, nothing important for now. At the end, the data will be sent back on the suspended connection but that's not cover in this sample.

@survivant
Copy link
Member Author

je pensais qu'on pouvait attacher des fichiers .zip :(

@jfarcand
Copy link
Member

Let's have the discussion on the mailing list first :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants