8.0.26

> -----Ursprüngliche Nachricht-----
> Von: Mark Thomas [mailto:ma...@apache.org]
> Gesendet: Montag, 18. Juli 2016 13:37
> An: Tomcat Users List <users@tomcat.apache.org>
> Betreff: Re: SocketTimeoutException in CoyoteInputStream
> 
> On 18 July 2016 12:06:42 CEST, "Steffen Heil (Mailinglisten)" 
> <li...@steffen-heil.de> wrote:
> 
> Tomcat version?
> 
> Mark
> 
> 
> >Hi
> >
> >
> >I am getting the following exception:
> >
> >2016-07-18 07:46:52.667 /http/httpmodule WARN null - error during
> >upload
> >| java.net.SocketTimeoutException
> >|       at
> >org.apache.tomcat.util.net.NioBlockingSelector.read(NioBlockingSelector
> >.java:202)
> >|       at
> >org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:25
> >0)
> >|       at
> >org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:23
> >1)
> >|       at
> >org.apache.coyote.http11.InternalNioInputBuffer.fill(InternalNioInputBu
> >ffer.java:133)
> >|       at
> >org.apache.coyote.http11.InternalNioInputBuffer$SocketInputBuffer.doRea
> >d(InternalNioInputBuffer.java:177)
> >|       at
> >org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInp
> >utFilter.java:110)
> >|       at
> >org.apache.coyote.http11.AbstractInputBuffer.doRead(AbstractInputBuffer
> >.java:416)
> >|       at org.apache.coyote.Request.doRead(Request.java:469)
> >|       at
> >org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.jav
> >a:342)
> >|       at
> >org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:395)
> >|       at
> >org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:367)
> >|       at
> >org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.
> >java:156)
> >
> >This happens when I try to read about 100MB from the client using
> >(repeatedly) request..getInputStream().read(...).
> >It happens 42 Seconds after the upload was started.
> >
> >I did not set any timeout on the connector and the default is supposed
> >to be 60 seconds.
> >
> >
> >So I have the following questions:
> >
> >1. Does it make any sense to catch this exception and call read again?
> >2. Can I configure the read timeout on a per connection basis?
> >3. Why is the exception thrown after just 42 seconds?
> >
> >
> >Regards,
> >  Steffen
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to