Hi,<div><br></div><div>Sounds good, I&#39;m currently working on my custom http server using netty and bayeux, hope to get some code running soon. I&#39;m currently very new to this kind of low-level development, but it should be a good learning experience, I will be posting issues when I see them at the JIRA page.</div>
<div><br></div><div>Good luck</div><div><br></div><div>Tom<br><br><div class="gmail_quote">On Wed, Jul 29, 2009 at 4:21 PM, Dai Jun <span dir="ltr">&lt;<a href="mailto:guiwuu@gmail.com">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,<br>
<br>
Thanks again for your feedback! Actually it&#39;s a bug. When<br>
disconnecting a connection, I forget to unsubscribe channels that are<br>
subscirbed to. But, I am writing the sending queue of BayeuxConext and<br>
many codes are changed, which need to be test enough. So, I will fix<br>
it togeter soon in next commit.<br>
<br>
Here is the Issue Tracker system of Netty,<br>
<a href="https://jira.jboss.org/jira/browse/NETTY" target="_blank">https://jira.jboss.org/jira/browse/NETTY</a>. If you register as a JBoss<br>
member, you can submit issues there. If you get problems when using<br>
it, please feel free to question here. I am very glad to work with<br>
you, you make me work harder:).<br>
<div class="im"><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">guiwuu@gmail.com</a> | QQ: 93409048 | MSN: <a href="mailto:guiwuu@hotmail.com">guiwuu@hotmail.com</a> |<br>
Twitter: guiwuu<br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On Wed, Jul 29, 2009 at 2:48 AM, Tom Hastjarjanto&lt;<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>&gt; wrote:<br>
&gt; Alright thanks, your commit seems to resolve this issue. Actually is there<br>
&gt; another system of reporting bugs? Like some JIRA page or is that still in<br>
&gt; the process to be migrated to the jboss site? I found another one, but<br>
&gt; looking at the code it seems just to be unfinished rather than being a bug<br>
&gt; (disconnecting). Let me know if there is a better way of reporting these<br>
&gt; bugs/feature requests etc.<br>
&gt; Cheers<br>
&gt;<br>
&gt; On Tue, Jul 28, 2009 at 9:09 AM, Dai Jun &lt;<a href="mailto:guiwuu@gmail.com">guiwuu@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Tom Hastjarjaanto,<br>
&gt;&gt;<br>
&gt;&gt; Thanks for you detail report and suggestion! As you advice, charset<br>
&gt;&gt; will only be used when it&#39;s available in CONTENT-TYPE header and a<br>
&gt;&gt; kind of UNICODE encodings, or will be setted to UTF-8 by default. I<br>
&gt;&gt; also test it in more browsers(ie, opera and chrome) and it works OK to<br>
&gt;&gt; me. Please let me know if you find any bugs, I will fix it ASAP.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt;<br>
&gt;&gt; Dai Jun or Danny Dai in English, <a href="http://guiwuu.googlepages.com" target="_blank">http://guiwuu.googlepages.com</a><br>
&gt;&gt; GTalk: <a href="mailto:guiwuu@gmail.com">guiwuu@gmail.com</a> | QQ: 93409048 | MSN: <a href="mailto:guiwuu@hotmail.com">guiwuu@hotmail.com</a> |<br>
&gt;&gt; Twitter: guiwuub<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 28, 2009 at 9:14 AM, Tom Hastjarjanto&lt;<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Hi Dai Jun,<br>
&gt;&gt; &gt; Thanks for your response, it now works in Firefox, in other browsers<br>
&gt;&gt; &gt; there<br>
&gt;&gt; &gt; is still a(nother) bug. It throws an illegal charset exception. In<br>
&gt;&gt; &gt; BayeuxDecoder it searches the http header ContentType for the charset of<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; content, not all browsers send it ie. Chrome, Safari. Look for line 75.<br>
&gt;&gt; &gt; I do<br>
&gt;&gt; &gt; not know what you plan to do in cases it is not send so I won&#39;t provide<br>
&gt;&gt; &gt; a<br>
&gt;&gt; &gt; patch to &quot;resolve&quot; it. I guess you can either use it when its available<br>
&gt;&gt; &gt; and<br>
&gt;&gt; &gt; just use the single argument decode function when it is not or you can<br>
&gt;&gt; &gt; just<br>
&gt;&gt; &gt; ignore that information and always use the single argument function,<br>
&gt;&gt; &gt; really<br>
&gt;&gt; &gt; up to you. Looking forward to new commits!<br>
&gt;&gt; &gt; Good luck,<br>
&gt;&gt; &gt; Tom<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Jul 27, 2009 at 11:36 AM, Dai Jun &lt;<a href="mailto:guiwuu@gmail.com">guiwuu@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi, Tom Hastjarjanto:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks a lot for your bug report and I am very excited about it, which<br>
&gt;&gt; &gt;&gt; is the first bug feedback from community. This bug is caused by a<br>
&gt;&gt; &gt;&gt; wrong client assignment of class ConnectRequest, assigning id property<br>
&gt;&gt; &gt;&gt; to clientId. I&#39;ve already fix it as well as some spelling errors. You<br>
&gt;&gt; &gt;&gt; could check out the latest codes again and let me know if it still<br>
&gt;&gt; &gt;&gt; doesn&#39;t work.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; BTW, although the codec is not complete now, I am working on a big<br>
&gt;&gt; &gt;&gt; update with some<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 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>
&gt;&gt; &gt;&gt; Any feedback from you will help me a lot and I will be very<br>
&gt;&gt; &gt;&gt; appreciate.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Best regards,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Dai Jun or Danny Dai in English, <a href="http://guiwuu.googlepages.com" target="_blank">http://guiwuu.googlepages.com</a><br>
&gt;&gt; &gt;&gt; GTalk: <a href="mailto:guiwuu@gmail.com">guiwuu@gmail.com</a> | QQ: 93409048 | MSN: <a href="mailto:guiwuu@hotmail.com">guiwuu@hotmail.com</a> |<br>
&gt;&gt; &gt;&gt; Twitter: guiwuu<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Mon, Jul 27, 2009 at 1:37 AM, Tom Hastjarjanto&lt;<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; Some additional information:<br>
&gt;&gt; &gt;&gt; &gt; Post1 response:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &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;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &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;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; :false,&quot;reconnect&quot;:&quot;retry&quot;}}]<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Post2 response:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &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;&gt; &gt;&gt; &gt; ClientId: 1&quot;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; ,&quot;id&quot;:&quot;1&quot;,&quot;timestamp&quot;:&quot;26-7-09<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; 17:34&quot;,&quot;advice&quot;:{&quot;interval&quot;:0,&quot;multiple-clients&quot;:false,&quot;reconnect&quot;:&quot;retry&quot;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; }}]<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Post 3:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &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;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &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;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; :false,&quot;reconnect&quot;:&quot;retry&quot;}}]<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Post 4:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &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;&gt; &gt;&gt; &gt; ClientId: 3&quot;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; ,&quot;id&quot;:&quot;3&quot;,&quot;timestamp&quot;:&quot;26-7-09<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; 17:35&quot;,&quot;advice&quot;:{&quot;interval&quot;:0,&quot;multiple-clients&quot;:false,&quot;reconnect&quot;:&quot;retry&quot;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; }}]<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; it seems it increments the clientid during handshake/connect phase<br>
&gt;&gt; &gt;&gt; &gt; On Sun, Jul 26, 2009 at 6:57 PM, Tom Hastjarjanto<br>
&gt;&gt; &gt;&gt; &gt; &lt;<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>&gt;<br>
&gt;&gt; &gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Hey guys,<br>
&gt;&gt; &gt;&gt; &gt;&gt; I was just playing with the latest version of the bayeux4netty<br>
&gt;&gt; &gt;&gt; &gt;&gt; source<br>
&gt;&gt; &gt;&gt; &gt;&gt; code<br>
&gt;&gt; &gt;&gt; &gt;&gt; from trunk, it doesn&#39;t seem to work properly. When I try to run it<br>
&gt;&gt; &gt;&gt; &gt;&gt; and<br>
&gt;&gt; &gt;&gt; &gt;&gt; insert my username it keeps sending a stream of post requests to<br>
&gt;&gt; &gt;&gt; &gt;&gt; http://localhost:port/cometd which respond with the wild web server<br>
&gt;&gt; &gt;&gt; &gt;&gt; response, When I look at the log messages it goes through the<br>
&gt;&gt; &gt;&gt; &gt;&gt; connect<br>
&gt;&gt; &gt;&gt; &gt;&gt; and<br>
&gt;&gt; &gt;&gt; &gt;&gt; handshake phase, sends some data and then starts the same cycle<br>
&gt;&gt; &gt;&gt; &gt;&gt; again,<br>
&gt;&gt; &gt;&gt; &gt;&gt; I<br>
&gt;&gt; &gt;&gt; &gt;&gt; don&#39;t know whether this is due dojo or the netty code, any pointers<br>
&gt;&gt; &gt;&gt; &gt;&gt; on<br>
&gt;&gt; &gt;&gt; &gt;&gt; what<br>
&gt;&gt; &gt;&gt; &gt;&gt; this might be?<br>
&gt;&gt; &gt;&gt; &gt;&gt; Thanks!<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; &gt; netty-dev mailing list<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:netty-dev@lists.jboss.org">netty-dev@lists.jboss.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-dev</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; netty-dev mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:netty-dev@lists.jboss.org">netty-dev@lists.jboss.org</a><br>
&gt;&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; netty-dev mailing list<br>
&gt;&gt; &gt; <a href="mailto:netty-dev@lists.jboss.org">netty-dev@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; netty-dev mailing list<br>
&gt;&gt; <a href="mailto:netty-dev@lists.jboss.org">netty-dev@lists.jboss.org</a><br>
&gt;&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>
&gt; _______________________________________________<br>
&gt; netty-dev mailing list<br>
&gt; <a href="mailto:netty-dev@lists.jboss.org">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">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>
</div></div></blockquote></div><br></div>