https://bz.apache.org/bugzilla/show_bug.cgi?id=58565

            Bug ID: 58565
           Summary: Connection will be closed on slow file download with
                    non blocking http protocol
           Product: Tomcat 8
           Version: 8.0.28
          Hardware: PC
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: david.pentz...@commscope.com

Problem: 
Setup Tomcat (8.0.28) with default settings. Copy a file in a webapp e.g.
webapps/root and download the file with limited speed to simulate a slow modem
download.
wget http://xxx.xxx.xxx.xxx:8080/xxxxxxx/7.zip --limit-rate=1k

Connection is closed always after 6minutes and 24seconds
e.g:
Saving to: ‘7.zip’
7.zip               0%[                      ] 767.99K  1.00KB/s   in 6m 24s
2015-10-28 17:27:39 (1024 B/s) - Connection closed at byte 786426. Retrying.

if i change the protocol to an old blocking protocol:
protocol="org.apache.coyote.http11.Http11Protocol"
everything is fine and the download will complete with slow speed.

If the change the speed (with protocol HTTP/1.1) the time after the connection
is closed is different (e.g. for 7kb/sec it will always close after 3minutes
and 21sec).

If the speed is 8kb/sec or higher the download is stable with both protocols.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to