Re: [JXTA dev] Patch for issue 1367
Mohamed Abdelaziz <[email protected]> Tue, 02 Aug 2005 16:47:13 -0700
| Newsgroups | gmane.comp.java.jxta.user,gmane.comp.java.jxta.devel |
|---|---|
| Message-ID | <[email protected]> |
Vanessa thanks for the feedback. In order to best isolate any remaining issues and test the patch fully, I have changed the tutorial to be multi-threaded, and process each connection on a separate thread. This is should maintain the focus on where a close message is dropped/lost, rather than on the deficiencies of server example. The change was committed under the platform (see platform/www/java/tutorial/examples/socket) Mohamed -- http://blogs.sun.com/roller/page/hamada http://weblogs.java.net/blog/hamada Vanessa Williams wrote: > Hi Mohamed, > > coincidentally, I started testing that patch today. I have had some > mixed results, so far, but I haven't been able to get something > reproducible yet to share with you. I'll keep working on it until I > do, but briefly what's happening is that (using the JxtaSocketServer > and JxtaSocket example programs from the programmer's guide) the > client *sometimes* attempts to make the second connection before the > server has received EOT for the first batch of data, and that 2nd > connection fails (connection attempt times out). I'm no longer seeing > the error where the client closes the connection and the server > misses the last of the data, however. As to the new problem, it's not > happening consistently, and I'm not even sure of the cause yet. As > soon as I can get a better description of it, I'll post it to the > issue (1367). > > Regards, > > Vanessa > > P.S. I'm also posting this to [email protected] and routing the replies > there. >