AW: AW: WebSocket asynchronous reads

2015-09-06 Thread Steffen Heil (Mailinglisten)
Hi > > Which means I have to either buffer all incoming messages until I am > > ready to process them (might occupy lots of memory) or I have to drop > > them. Both is not really ideal. > I'm largely ignorant of the asynchronous world, but I do have a question > about what you're asking. Are you

Re: AW: WebSocket asynchronous reads

2015-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steffen, On 8/26/15 12:50 PM, Steffen Heil (Mailinglisten) wrote: >>> Is there a way to tell tomcat to stop receiving data for a >>> certain websocket? (Not to close it, but not to read from >>> inputstream for some time.) > >> Sorry, no. The best

RE: AW: WebSocket asynchronous reads

2015-08-27 Thread Konstantin Preißer
Hi, > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Thursday, August 27, 2015 12:30 AM > To: Tomcat Users List > Subject: Re: AW: WebSocket asynchronous reads > > On 26/08/2015 12:50, Steffen Heil (Mailinglisten) wrote: > > Hi >

Re: AW: WebSocket asynchronous reads

2015-08-26 Thread Mark Thomas
On 26/08/2015 12:50, Steffen Heil (Mailinglisten) wrote: > Hi > > >>> Is there a way to tell tomcat to stop receiving data for a certain >>> websocket? >>> (Not to close it, but not to read from inputstream for some time.) > > >> Sorry, no. >> The best you can do is a no-op branch in the messa

AW: WebSocket asynchronous reads

2015-08-26 Thread Steffen Heil (Mailinglisten)
Hi > >Is there a way to tell tomcat to stop receiving data for a certain > >websocket? > >(Not to close it, but not to read from inputstream for some time.) > Sorry, no. > The best you can do is a no-op branch in the message handler. Which means I have to either buffer all incoming messages