Re: Async servlet and request recycle synchronization

2025-03-06 Thread Mark Thomas
On 05/03/2025 19:19, François Rajotte wrote: Hi Christopher, Thanks for your comments. Regarding the behavior of the non-container thread when an async request gets cancelled, I don't really care exactly how it's handled. Currently, my strategy is to let it finish if it had already started proc

Re: Async servlet and request recycle synchronization

2025-03-05 Thread François Rajotte
Hi Christopher, Thanks for your comments. Regarding the behavior of the non-container thread when an async request gets cancelled, I don't really care exactly how it's handled. Currently, my strategy is to let it finish if it had already started processing when the request got cancelled. Or abort

Re: Async servlet and request recycle synchronization

2025-03-04 Thread Christopher Schultz
François, On 3/4/25 10:32 AM, François Rajotte wrote: Hi, I'm looking for advice on how to properly synchronize asynchronous servlets that use the Java servlet 3.0 async APIs. Especially, I'm trying to avoid having the servlet experience IllegalStateExceptions when accessing HttpServletRequest

Async servlet and request recycle synchronization

2025-03-04 Thread François Rajotte
Hi, I'm looking for advice on how to properly synchronize asynchronous servlets that use the Java servlet 3.0 async APIs. Especially, I'm trying to avoid having the servlet experience IllegalStateExceptions when accessing HttpServletRequest and HttpServletResponse objects that tomcat has recycled