https://issues.apache.org/bugzilla/show_bug.cgi?id=51414

             Bug #: 51414
           Summary: TCP connection closes immediately after sending the
                    response
           Product: Tomcat 7
           Version: 7.0.14
          Platform: HP
        OS/Version: Windows Vista
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: adarsh.tm...@gmail.com
    Classification: Unclassified


I am using Apache Tomcat 7.0 (7.0.14 version) server. I have a requirement such
that once i make a HTTP request, and get back the response, i want to keep that
connection alive indefinitely or till the connection timeout happens. But, the
connection gets closed soon after response is sent.
I believe this a bug. 

This is the Connector tag configuration i have done in my server.xml:
<Connector port="80" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="200000" redirectPort="8443" />

Connection doesn't timeout after 200 seconds are elapsed...if i get response
after 5 secs from the time i made the request.....TCP connection is closed soon
after sending response.


If not, what is the configuration i need to make on the server side. By
default, client uses HTTP/1.1 protocol version to make HTTP requests. I know
that in HTTP/1.1, the Connection is kept alive by default. I am testing this
setup on localhost.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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