Hi Dai Jun,<div><br></div><div>Thanks for your response, it now works in Firefox, in other browsers there is still a(nother) bug. It throws an illegal charset exception. In BayeuxDecoder it searches the http header ContentType for the charset of the content, not all browsers send it ie. Chrome, Safari. Look for line 75. I do not know what you plan to do in cases it is not send so I won&#39;t provide a patch to &quot;resolve&quot; it. I guess you can either use it when its available and just use the single argument decode function when it is not or you can just ignore that information and always use the single argument function, really up to you. Looking forward to new commits!</div>
<div><br></div><div>Good luck,</div><div><br></div><div>Tom<br>
<br><div class="gmail_quote">On Mon, Jul 27, 2009 at 11:36 AM, Dai Jun <span dir="ltr">&lt;<a href="mailto:guiwuu@gmail.com" target="_blank">guiwuu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi, Tom Hastjarjanto:<br>
<br>
Thanks a lot for your bug report and I am very excited about it, which<br>
is the first bug feedback from community. This bug is caused by a<br>
wrong client assignment of class ConnectRequest, assigning id property<br>
to clientId. I&#39;ve already fix it as well as some spelling errors. You<br>
could check out the latest codes again and let me know if it still<br>
doesn&#39;t work.<br>
<br>
BTW, although the codec is not complete now, I am working on a big<br>
update with some<br>
features(<a href="http://guiwuu.blogspot.com/2009/07/bayeux4netty-report-5-new-journey.html" target="_blank">http://guiwuu.blogspot.com/2009/07/bayeux4netty-report-5-new-journey.html</a>).<br>
Any feedback from you will help me a lot and I will be very<br>
appreciate.<br>
<br>
Best regards,<br>
<br>
Dai Jun or Danny Dai in English, <a href="http://guiwuu.googlepages.com" target="_blank">http://guiwuu.googlepages.com</a><br>
GTalk: <a href="mailto:guiwuu@gmail.com" target="_blank">guiwuu@gmail.com</a> | QQ: 93409048 | MSN: <a href="mailto:guiwuu@hotmail.com" target="_blank">guiwuu@hotmail.com</a> |<br>
Twitter: guiwuu<br>
<div><div></div><div><br>
On Mon, Jul 27, 2009 at 1:37 AM, Tom Hastjarjanto&lt;<a href="mailto:tom@intellicode.nl" target="_blank">tom@intellicode.nl</a>&gt; wrote:<br>
&gt; Some additional information:<br>
&gt; Post1 response:<br>
&gt;<br>
&gt; [{&quot;channel&quot;:&quot;/meta/handshake&quot;,&quot;supportedConnectionTypes&quot;:[&quot;long-polling&quot;],&quot;clientId&quot;:&quot;5d529469-dc66-47b7-a2d8-b3e0d384e468&quot;<br>
&gt;<br>
&gt; ,&quot;minimumVersion&quot;:&quot;1.0beta&quot;,&quot;successful&quot;:true,&quot;version&quot;:&quot;1.0beta&quot;,&quot;id&quot;:&quot;0&quot;,&quot;advice&quot;:{&quot;interval&quot;:0,&quot;multiple-clients&quot;<br>


&gt;<br>
&gt; :false,&quot;reconnect&quot;:&quot;retry&quot;}}]<br>
&gt;<br>
&gt; Post2 response:<br>
&gt;<br>
&gt; [{&quot;channel&quot;:&quot;/meta/connect&quot;,&quot;clientId&quot;:&quot;1&quot;,&quot;successful&quot;:false,&quot;error&quot;:&quot;401:clientId:Uknow<br>
&gt; ClientId: 1&quot;<br>
&gt;<br>
&gt; ,&quot;id&quot;:&quot;1&quot;,&quot;timestamp&quot;:&quot;26-7-09<br>
&gt; 17:34&quot;,&quot;advice&quot;:{&quot;interval&quot;:0,&quot;multiple-clients&quot;:false,&quot;reconnect&quot;:&quot;retry&quot;<br>
&gt;<br>
&gt; }}]<br>
&gt;<br>
&gt; Post 3:<br>
&gt;<br>
&gt; [{&quot;channel&quot;:&quot;/meta/handshake&quot;,&quot;supportedConnectionTypes&quot;:[&quot;long-polling&quot;],&quot;clientId&quot;:&quot;ccfbb57c-d868-4227-afb5-e2187626757a&quot;<br>
&gt;<br>
&gt; ,&quot;minimumVersion&quot;:&quot;1.0beta&quot;,&quot;successful&quot;:true,&quot;version&quot;:&quot;1.0beta&quot;,&quot;id&quot;:&quot;2&quot;,&quot;advice&quot;:{&quot;interval&quot;:0,&quot;multiple-clients&quot;<br>


&gt;<br>
&gt; :false,&quot;reconnect&quot;:&quot;retry&quot;}}]<br>
&gt;<br>
&gt; Post 4:<br>
&gt;<br>
&gt; [{&quot;channel&quot;:&quot;/meta/connect&quot;,&quot;clientId&quot;:&quot;3&quot;,&quot;successful&quot;:false,&quot;error&quot;:&quot;401:clientId:Uknow<br>
&gt; ClientId: 3&quot;<br>
&gt;<br>
&gt; ,&quot;id&quot;:&quot;3&quot;,&quot;timestamp&quot;:&quot;26-7-09<br>
&gt; 17:35&quot;,&quot;advice&quot;:{&quot;interval&quot;:0,&quot;multiple-clients&quot;:false,&quot;reconnect&quot;:&quot;retry&quot;<br>
&gt;<br>
&gt; }}]<br>
&gt;<br>
&gt; it seems it increments the clientid during handshake/connect phase<br>
&gt; On Sun, Jul 26, 2009 at 6:57 PM, Tom Hastjarjanto &lt;<a href="mailto:tom@intellicode.nl" target="_blank">tom@intellicode.nl</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hey guys,<br>
&gt;&gt; I was just playing with the latest version of the bayeux4netty source code<br>
&gt;&gt; from trunk, it doesn&#39;t seem to work properly. When I try to run it and<br>
&gt;&gt; insert my username it keeps sending a stream of post requests to<br>
&gt;&gt; http://localhost:port/cometd which respond with the wild web server<br>
&gt;&gt; response, When I look at the log messages it goes through the connect and<br>
&gt;&gt; handshake phase, sends some data and then starts the same cycle again, I<br>
&gt;&gt; don&#39;t know whether this is due dojo or the netty code, any pointers on what<br>
&gt;&gt; this might be?<br>
&gt;&gt; Thanks!<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; netty-dev mailing list<br>
&gt; <a href="mailto:netty-dev@lists.jboss.org" target="_blank">netty-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-dev</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
netty-dev mailing list<br>
<a href="mailto:netty-dev@lists.jboss.org" target="_blank">netty-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-dev</a><br>
</blockquote></div><br></div>