Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread William Speirs
On Wed, Jan 18, 2012 at 2:00 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > Quick update... I switched the code to using Servlet 3.0 and I can > > get streaming data from all three browsers on the same machine: > > Chrome, FireFox, and IE. > > A Tomcat upgrade probably helped a

Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 1/18/12 1:13 PM, William Speirs wrote: > Quick update... I switched the code to using Servlet 3.0 and I can > get streaming data from all three browsers on the same machine: > Chrome, FireFox, and IE. A Tomcat upgrade probably helped a lo

Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 1/18/12 12:02 PM, Konstantin Kolinko wrote: > The HTTP specification recommends to have no more than 2 active > connections to the same HTTP server. The web browsers usually > respect it. Firefox uses 6 since v3 [1] I remember a whil

Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 1/18/12 11:22 AM, William Speirs wrote: > It seems as though tomcat (or the comet filter) is limiting the > number of connections from the same IP address. Have you discarded the browser as one of the components making these kinds of deci

Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread William Speirs
Quick update... I switched the code to using Servlet 3.0 and I can get streaming data from all three browsers on the same machine: Chrome, FireFox, and IE. I still cannot get two tabs in Chrome or FireFox to stream data, but I think that is simply because they are sharing JSESSIONIDs and I can pro

Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread William Speirs
Thanks for the quick responses, I'll respond to both at once below: On Wed, Jan 18, 2012 at 11:56 AM, André Warnier wrote: > really a second, different browser ? or another window/tab from the same > browser ? > (if the second case, it may be re-using the same local IP:port (or just > the same e

Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread Konstantin Kolinko
2012/1/18 William Speirs : > I have a basic CometProcessor servlet implemented, and everything appears > to work as expected, except for one small issue: I cannot make multiple > requests from the same client to the same server. > > My servlet simply sends messages to the client as they come in (th

Re: Multiple Comet Requests to the Same Server, from the Same Client

2012-01-18 Thread André Warnier
William Speirs wrote: I have a basic CometProcessor servlet implemented, and everything appears to work as expected, except for one small issue: I cannot make multiple requests from the same client to the same server. My servlet simply sends messages to the client as they come in (think of it as