Netty bayeux example doesn't work properly
Tom Hastjarjanto
tom at intellicode.nl
Sun Jul 26 13:37:05 EDT 2009
Some additional information:
Post1 response:
[{"channel":"/meta/handshake","supportedConnectionTypes":["long-polling"],"clientId":"5d529469-dc66-47b7-a2d8-b3e0d384e468"
,"minimumVersion":"1.0beta","successful":true,"version":"1.0beta","id":"0","advice":{"interval":0,"multiple-clients"
:false,"reconnect":"retry"}}]
Post2 response:
[{"channel":"/meta/connect","clientId":"1","successful":false,"error":"401:clientId:Uknow
ClientId: 1"
,"id":"1","timestamp":"26-7-09
17:34","advice":{"interval":0,"multiple-clients":false,"reconnect":"retry"
}}]
Post 3:
[{"channel":"/meta/handshake","supportedConnectionTypes":["long-polling"],"clientId":"ccfbb57c-d868-4227-afb5-e2187626757a"
,"minimumVersion":"1.0beta","successful":true,"version":"1.0beta","id":"2","advice":{"interval":0,"multiple-clients"
:false,"reconnect":"retry"}}]
Post 4:
[{"channel":"/meta/connect","clientId":"3","successful":false,"error":"401:clientId:Uknow
ClientId: 3"
,"id":"3","timestamp":"26-7-09
17:35","advice":{"interval":0,"multiple-clients":false,"reconnect":"retry"
}}]
it seems it increments the clientid during handshake/connect phase
On Sun, Jul 26, 2009 at 6:57 PM, Tom Hastjarjanto <tom at intellicode.nl>wrote:
> Hey guys,
> I was just playing with the latest version of the bayeux4netty source code
> from trunk, it doesn't seem to work properly. When I try to run it and
> insert my username it keeps sending a stream of post requests to
> http://localhost:port/cometd which respond with the wild web server
> response, When I look at the log messages it goes through the connect and
> handshake phase, sends some data and then starts the same cycle again, I
> don't know whether this is due dojo or the netty code, any pointers on what
> this might be?
>
> Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-dev/attachments/20090726/2322940d/attachment.html
More information about the netty-dev
mailing list