jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: Default timeout for async operations

From: Rémy Maucherat <rmaucher_at_redhat.com>
Date: Mon, 25 Mar 2013 18:30:39 +0100

On 03/21/2013 07:19 PM, Shing Wai Chan wrote:
> Currently, there is no mention of default async timeout.
> The issue was discussed and closed in Servlet 3.0 EG. The default
> should be 30000L.
> However, this has never made it to the spec or javadoc of Servlet 3.1.
> We plan to add this it to javadoc of ServletRequest#setAsyncTimeout
> (as suggested in Servlet 3.1 EG discussion).
> Please let me know if you have any concern.
+1

30s looks like a decent default for a timeout. It is indeed better if it
is the same on all implementations.

Rémy