RE: HTTP2: How to check if the client aborted a request

2023-03-15 Thread EXT-Denton, Sam T
Solutions Architect Mobile (314) 827-4017 24x7 SBS Suppot (405) 312-9936 Advanced Leave Notice: NONE -Original Message- From: Robin Stevens Sent: Tuesday, March 14, 2023 4:01 AM To: users@tomcat.apache.org Subject: HTTP2: How to check if the client aborted a request Use case / problem: Th

Re: HTTP2: How to check if the client aborted a request

2023-03-14 Thread Mark Thomas
On 14/03/2023 09:00, Robin Stevens wrote: Does anybody has a pointer on how to obtain this info through official APIs, or to some documentation related to this that I might have missed ? The short answer is that there is no way do this via the Servlet API that doesn't involved trying to do

HTTP2: How to check if the client aborted a request

2023-03-14 Thread Robin Stevens
Version: Tomcat 9.0.35 (embedded in Spring Boot 2.3.0.RELEASE) Use case / problem: The frontend is doing requests that trigger heavy calculations in the backend. Often these requests get cancelled by the frontend before the backend has finished doing the calculations. The cancellation of the r