How to set the BLOCKING_SEND_TIMEOUT property?

2016-05-13 Thread Tejas Nandanikar
I am using Apache Tomcat 8.0.33 The documentation says: "The write timeout used when sending WebSocket messages in blocking mode defaults to 2 milliseconds (20 seconds). This may be changed by setting the propertyorg.apache.tomcat.websocket.BLOCKING_SEND_TIMEOUT in the user properties collecti

Re: A question regarding websocket implementation of Apache Tomcat 8.0.33

2016-05-12 Thread Tejas Nandanikar
which message caused IOException. On Thu, May 12, 2016 at 1:09 PM, Mark Thomas wrote: > On 12/05/2016 08:24, Tejas Nandanikar wrote: >> Thank you for your quick reply. >> So consider a case where client abruptly loses internet connection. >> In that scenario, the sendText() would ret

Re: A question regarding websocket implementation of Apache Tomcat 8.0.33

2016-05-12 Thread Tejas Nandanikar
as wrote: > On 12/05/2016 06:16, Tejas Nandanikar wrote: >> I am using Apache Tomcat 8.0.33. >> I was going through Java documentation about RemoteEndpoint.Basic >> which says that sendText(String text) blocks until all of the message >> has been transmitted. >> B

A question regarding websocket implementation of Apache Tomcat 8.0.33

2016-05-11 Thread Tejas Nandanikar
I am using Apache Tomcat 8.0.33. I was going through Java documentation about RemoteEndpoint.Basic which says that sendText(String text) blocks until all of the message has been transmitted. But I noticed that when the client loses internet connection and sendText() method is called on the server s