Re: Detect client disconnect in Tomcat

2017-08-23 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Wed, Aug 23, 2017 at 8:33 AM, André Warnier (tomcat) wrote: > On 23.08.2017 09:48, Grigor Aleksanyan wrote: > >> Hi Simon, >> >> If I understood your

Re: Detect client disconnect in Tomcat

2017-08-23 Thread tomcat
On 23.08.2017 09:43, Grigor Aleksanyan wrote: Hi André, Thanks for your detailed response, I really appreciate your help. I see what you mean and have a couple of more question regarding to this topic. I was looking at possibilities to use Spring framework's evening facilities to register

Re: Detect client disconnect in Tomcat

2017-08-23 Thread tomcat
On 23.08.2017 10:52, Grigor Aleksanyan wrote: I see André, thanks for clarifications. By the way, have you noticed my previous email about TcpConnectionCloseEvents of Spring and question about HttpRequests handling in Tomcat? Do you have any thoughts about what I stated there? I would highly

Re: Detect client disconnect in Tomcat

2017-08-23 Thread Grigor Aleksanyan
I see André, thanks for clarifications. By the way, have you noticed my previous email about TcpConnectionCloseEvents of Spring and question about HttpRequests handling in Tomcat? Do you have any thoughts about what I stated there? I would highly appreciate any information regarding these points.

Re: Detect client disconnect in Tomcat

2017-08-23 Thread tomcat
On 23.08.2017 09:48, Grigor Aleksanyan wrote: Hi Simon, If I understood your approach correctly, then this will work only if I am the one that implements the client, right ? What about cases when client is browser or curl, not my c++ app ? Yes, that is one of the issues. Most browsers, after

Re: Detect client disconnect in Tomcat

2017-08-23 Thread Grigor Aleksanyan
Hi Simon, If I understood your approach correctly, then this will work only if I am the one that implements the client, right ? What about cases when client is browser or curl, not my c++ app ? Thank you, -Grigor On Tue, Aug 22, 2017 at 1:13 PM, Simon De Uvarow wrote: >

Re: Detect client disconnect in Tomcat

2017-08-23 Thread Grigor Aleksanyan
Hi André, Thanks for your detailed response, I really appreciate your help. I see what you mean and have a couple of more question regarding to this topic. I was looking at possibilities to use Spring framework's evening facilities to register *TcpConnectionClose *events listener in my web

Re: Detect client disconnect in Tomcat

2017-08-22 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Tue, Aug 22, 2017 at 11:36 AM, André Warnier (tomcat) wrote: > On 22.08.2017 10:50, Grigor Aleksanyan wrote: > >> Hi, >> >> I have a web application

Re: Detect client disconnect in Tomcat

2017-08-22 Thread tomcat
On 22.08.2017 10:50, Grigor Aleksanyan wrote: Hi, I have a web application (.war file) running under *apache-tomcat-7.0.52*. It is a proxy application between my c++ client and server apps. Once HTTP request (from the client) is received by web application, it propagates request to the server

Detect client disconnect in Tomcat

2017-08-22 Thread Grigor Aleksanyan
Hi, I have a web application (.war file) running under *apache-tomcat-7.0.52*. It is a proxy application between my c++ client and server apps. Once HTTP request (from the client) is received by web application, it propagates request to the server and sends response back to the client once it is