Hi,<div><br></div><div>Sounds good, I'm currently working on my custom http server using netty and bayeux, hope to get some code running soon. I'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"><<a href="mailto:guiwuu@gmail.com">guiwuu@gmail.com</a>></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'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<<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>> wrote:<br>
> Alright thanks, your commit seems to resolve this issue. Actually is there<br>
> another system of reporting bugs? Like some JIRA page or is that still in<br>
> the process to be migrated to the jboss site? I found another one, but<br>
> looking at the code it seems just to be unfinished rather than being a bug<br>
> (disconnecting). Let me know if there is a better way of reporting these<br>
> bugs/feature requests etc.<br>
> Cheers<br>
><br>
> On Tue, Jul 28, 2009 at 9:09 AM, Dai Jun <<a href="mailto:guiwuu@gmail.com">guiwuu@gmail.com</a>> wrote:<br>
>><br>
>> Hi Tom Hastjarjaanto,<br>
>><br>
>> Thanks for you detail report and suggestion! As you advice, charset<br>
>> will only be used when it's available in CONTENT-TYPE header and a<br>
>> kind of UNICODE encodings, or will be setted to UTF-8 by default. I<br>
>> also test it in more browsers(ie, opera and chrome) and it works OK to<br>
>> me. Please let me know if you find any bugs, I will fix it ASAP.<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">guiwuu@gmail.com</a> | QQ: 93409048 | MSN: <a href="mailto:guiwuu@hotmail.com">guiwuu@hotmail.com</a> |<br>
>> Twitter: guiwuub<br>
>><br>
>> On Tue, Jul 28, 2009 at 9:14 AM, Tom Hastjarjanto<<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>><br>
>> wrote:<br>
>> > Hi Dai Jun,<br>
>> > Thanks for your response, it now works in Firefox, in other browsers<br>
>> > there<br>
>> > is still a(nother) bug. It throws an illegal charset exception. In<br>
>> > BayeuxDecoder it searches the http header ContentType for the charset of<br>
>> > the<br>
>> > content, not all browsers send it ie. Chrome, Safari. Look for line 75.<br>
>> > I do<br>
>> > not know what you plan to do in cases it is not send so I won't provide<br>
>> > a<br>
>> > patch to "resolve" it. I guess you can either use it when its available<br>
>> > and<br>
>> > just use the single argument decode function when it is not or you can<br>
>> > just<br>
>> > ignore that information and always use the single argument function,<br>
>> > really<br>
>> > up to you. Looking forward to new commits!<br>
>> > Good luck,<br>
>> > Tom<br>
>> ><br>
>> > On Mon, Jul 27, 2009 at 11:36 AM, Dai Jun <<a href="mailto:guiwuu@gmail.com">guiwuu@gmail.com</a>> wrote:<br>
>> >><br>
>> >> 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'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't work.<br>
>> >><br>
>> >> BTW, although the codec is not complete now, I am working on a big<br>
>> >> update with some<br>
>> >><br>
>> >><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">guiwuu@gmail.com</a> | QQ: 93409048 | MSN: <a href="mailto:guiwuu@hotmail.com">guiwuu@hotmail.com</a> |<br>
>> >> Twitter: guiwuu<br>
>> >><br>
>> >> On Mon, Jul 27, 2009 at 1:37 AM, Tom Hastjarjanto<<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>><br>
>> >> wrote:<br>
>> >> > Some additional information:<br>
>> >> > Post1 response:<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > [{"channel":"/meta/handshake","supportedConnectionTypes":["long-polling"],"clientId":"5d529469-dc66-47b7-a2d8-b3e0d384e468"<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > ,"minimumVersion":"1.0beta","successful":true,"version":"1.0beta","id":"0","advice":{"interval":0,"multiple-clients"<br>
>> >> ><br>
>> >> > :false,"reconnect":"retry"}}]<br>
>> >> ><br>
>> >> > Post2 response:<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > [{"channel":"/meta/connect","clientId":"1","successful":false,"error":"401:clientId:Uknow<br>
>> >> > ClientId: 1"<br>
>> >> ><br>
>> >> > ,"id":"1","timestamp":"26-7-09<br>
>> >> ><br>
>> >> ><br>
>> >> > 17:34","advice":{"interval":0,"multiple-clients":false,"reconnect":"retry"<br>
>> >> ><br>
>> >> > }}]<br>
>> >> ><br>
>> >> > Post 3:<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > [{"channel":"/meta/handshake","supportedConnectionTypes":["long-polling"],"clientId":"ccfbb57c-d868-4227-afb5-e2187626757a"<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > ,"minimumVersion":"1.0beta","successful":true,"version":"1.0beta","id":"2","advice":{"interval":0,"multiple-clients"<br>
>> >> ><br>
>> >> > :false,"reconnect":"retry"}}]<br>
>> >> ><br>
>> >> > Post 4:<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > [{"channel":"/meta/connect","clientId":"3","successful":false,"error":"401:clientId:Uknow<br>
>> >> > ClientId: 3"<br>
>> >> ><br>
>> >> > ,"id":"3","timestamp":"26-7-09<br>
>> >> ><br>
>> >> ><br>
>> >> > 17:35","advice":{"interval":0,"multiple-clients":false,"reconnect":"retry"<br>
>> >> ><br>
>> >> > }}]<br>
>> >> ><br>
>> >> > it seems it increments the clientid during handshake/connect phase<br>
>> >> > On Sun, Jul 26, 2009 at 6:57 PM, Tom Hastjarjanto<br>
>> >> > <<a href="mailto:tom@intellicode.nl">tom@intellicode.nl</a>><br>
>> >> > wrote:<br>
>> >> >><br>
>> >> >> Hey guys,<br>
>> >> >> I was just playing with the latest version of the bayeux4netty<br>
>> >> >> source<br>
>> >> >> code<br>
>> >> >> from trunk, it doesn't seem to work properly. When I try to run it<br>
>> >> >> and<br>
>> >> >> insert my username it keeps sending a stream of post requests to<br>
>> >> >> http://localhost:port/cometd which respond with the wild web server<br>
>> >> >> response, When I look at the log messages it goes through the<br>
>> >> >> connect<br>
>> >> >> and<br>
>> >> >> handshake phase, sends some data and then starts the same cycle<br>
>> >> >> again,<br>
>> >> >> I<br>
>> >> >> don't know whether this is due dojo or the netty code, any pointers<br>
>> >> >> on<br>
>> >> >> what<br>
>> >> >> this might be?<br>
>> >> >> Thanks!<br>
>> >> ><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>
>> >> ><br>
>> >> ><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>
>> ><br>
>> ><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>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<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>
><br>
><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>
><br>
><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>