javaee / grizzly

Writing scalable server applications in the Java™ programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly NIO framework has been designed to help developers to take advantage of the Java™ NIO API.
https://javaee.github.io/grizzly/
Other
221 stars 60 forks source link

cometd chat-room does not logout completely #447

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 15 years ago

In current implementation, the cometd chat-room does not logout completely. The dojo client will send a connect message back. This is because it does not get the expected logout message. This issue is also related to load test issue that we observe.

Environment

Operating System: All Platform: Macintosh

Affected Versions

[1.9.22]

glassfishrobot commented 15 years ago

Reported by swchan2@java.net

glassfishrobot commented 15 years ago

swchan2@java.net said: Sending extras/cometd-client/src/main/java/org/mortbay/cometd/client/BayeuxLoadGenerator.java Sending extras/cometd-client/src/test/java/com/sun/grizzly/cometd/client/BayeuxClientLoadTest.java Sending extras/pom.xml Sending modules/cometd/src/main/java/com/sun/grizzly/cometd/BayeuxParser.java Sending modules/cometd/src/main/java/com/sun/grizzly/cometd/DataHandler.java Sending modules/cometd/src/main/java/com/sun/grizzly/cometd/EventRouterImpl.java Adding modules/cometd/src/main/java/com/sun/grizzly/cometd/bayeux/End.java Sending samples/comet/cometd-chat/src/main/webapp/chat.js Sending samples/comet/cometd-javaapiupdate-chat/src/main/webapp/chat.js Transmitting file data ......... Committed revision 2475.

glassfishrobot commented 15 years ago

jfarcand@java.net said: Fixed

Author: swchan2 Date: 2009-02-14 01:41:22+0000 New Revision: 2475

Added: trunk/modules/cometd/src/main/java/com/sun/grizzly/cometd/bayeux/End.java Modified:

trunk/extras/cometd-client/src/main/java/org/mortbay/cometd/client/BayeuxLoadGenerator.java

trunk/extras/cometd-client/src/test/java/com/sun/grizzly/cometd/client/BayeuxClientLoadTest.java trunk/extras/pom.xml trunk/modules/cometd/src/main/java/com/sun/grizzly/cometd/BayeuxParser.java trunk/modules/cometd/src/main/java/com/sun/grizzly/cometd/DataHandler.java trunk/modules/cometd/src/main/java/com/sun/grizzly/cometd/EventRouterImpl.java trunk/samples/comet/cometd-chat/src/main/webapp/chat.js trunk/samples/comet/cometd-javaapiupdate-chat/src/main/webapp/chat.js

Log: Fix Issue https://grizzly.dev.java.net/issues/show_bug.cgi?id=447 (cometd chat-room logout and loa

glassfishrobot commented 15 years ago

Was assigned to swchan2@java.net

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA GRIZZLY-447

glassfishrobot commented 14 years ago

Marked as fixed on Wednesday, December 16th 2009, 6:13:23 pm