Re: Comet and multipart

2011-01-06 Thread sol myr
output the headers, etc), or is there some utilities on Tomcat/apach. Thanks anyway :) --- On Tue, 1/4/11, Filip Hanik - Dev Lists devli...@hanik.com wrote: From: Filip Hanik - Dev Lists devli...@hanik.com Subject: Re: Comet and multipart To: Tomcat Users List users@tomcat.apache.org Date: Tuesday

Re: Comet and multipart

2011-01-06 Thread André Warnier
sol myr wrote: Thanks :) You're correct about blocking inputStreams, but I actually need Tomcat to write a multipart *response*, on an OutputStream (the reading side is on the client, and our client-side programmers will manage it without blocking). I wondered whether I'll have to hand-code

Re: Comet and multipart

2011-01-04 Thread sol myr
...@hanik.com wrote: From: Filip Hanik - Dev Lists devli...@hanik.com Subject: Re: Comet and multipart To: Tomcat Users List users@tomcat.apache.org Date: Monday, January 3, 2011, 8:47 AM On 1/3/2011 7:48 AM, sol myr wrote: Hi, We're implementing a CometServlet on top of Tomcat NIO connector, using

Re: Comet and multipart

2011-01-04 Thread Filip Hanik - Dev Lists
Thanks again --- On Mon, 1/3/11, Filip Hanik - Dev Listsdevli...@hanik.com wrote: From: Filip Hanik - Dev Listsdevli...@hanik.com Subject: Re: Comet and multipart To: Tomcat Users Listusers@tomcat.apache.org Date: Monday, January 3, 2011, 8:47 AM On 1/3/2011 7:48 AM, sol myr wrote: Hi, We're

Comet and multipart

2011-01-03 Thread sol myr
Hi, We're implementing a CometServlet on top of Tomcat NIO connector, using long polling. Currently we're using the approach recommended by most tutorials: the client opens a connection and waits for a message (for a configured timeout); if such a message arrives, the client consumes it (e.g.

Re: Comet and multipart

2011-01-03 Thread Mark Thomas
On 03/01/2011 14:48, sol myr wrote: Hi, We're implementing a CometServlet on top of Tomcat NIO connector, using long polling. Currently we're using the approach recommended by most tutorials: the client opens a connection and waits for a message (for a configured timeout); if such a

Re: Comet and multipart

2011-01-03 Thread Filip Hanik - Dev Lists
On 1/3/2011 7:48 AM, sol myr wrote: Hi, We're implementing a CometServlet on top of Tomcat NIO connector, using long polling. Currently we're using the approach recommended by most tutorials: the client opens a connection and waits for a message (for a configured timeout); if such a message