tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Uploading large files and session timeout
Date Fri, 08 Jul 2011 20:38:27 GMT
> From: Sai Pullabhotla [mailto:sai.pullabhotla@jmethods.com] 
> Subject: Re: Uploading large files and session timeout

> As far as changing the session timeout from the servlet, I do not
> think it works well when multiple uploads are going simultaneously
> under one session, if we reset (we must, we cannot leave the timeout
> at infinity) the timeout to normal value after each upload.

Don't reset it after each upload, reset it after all uploads for a session are done.  Just
keep an atomic counter of the number of active uploads and only reset the session timeout
when it's zero.

> And finally, what is the use of "disableUploadTimeout" on tomcat's
> connector? Is it for session timeout or the actual socket timeouts?

Socket - and the default value is already true.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message