You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2013/09/23 23:47:03 UTC

[jira] [Comment Edited] (TS-2211) SSL client connections hang and a aborted due to inactivity

    [ https://issues.apache.org/jira/browse/TS-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775666#comment-13775666 ] 

Alan M. Carroll edited comment on TS-2211 at 9/23/13 9:45 PM:
--------------------------------------------------------------

First patch - a few lines above, in pre-patch code, should remove the {{!buf.reader->avail()}} condition and just fall through to the new condition.
{code}
    if (s->vio.ntodo() <= 0 || !buf.reader->read_avail())
{code}
to
{code}
    if (s->vio.ntodo() <= 0)
{code}

The write_reschedule around line 384 in UnixNetVConnection.cc which is removed by the patch isn't in 3.2.4, which is interesting since the problem apparently exists in 3.2.4.
                
      was (Author: amc):
    First patch - a few lines above, should remove the {{!buf.reader->avail()}} condition and just fall through to the new condition.

The write_reschedule around line 384 in UnixNetVConnection.cc which is removed by the patch isn't in 3.2.4, which is interesting since the problem apparently exists in 3.2.4.
                  
> SSL client connections hang and a aborted due to inactivity
> -----------------------------------------------------------
>
>                 Key: TS-2211
>                 URL: https://issues.apache.org/jira/browse/TS-2211
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP, SSL
>            Reporter: Theo Schlossnagle
>             Fix For: 4.1.0
>
>         Attachments: 0001-TS-2211-SSL-client-connections-hang-and-a-aborted-du.patch, 0002-TS-2211-SSL-client-connections-hang-and-a-aborted-du.patch
>
>
> Test setup:
> ATS in reverse proxy mode. Terminating SSL for clients, remap to non-SSL for origin.  Origin delays 10s before sending any data (including headers), then dumps a non-chunked response (Content-Length) of about 3Mbytes.
> Over slow client connections, the client session freezes mid download (around 256k in my tests)... hangs until the inactivity timer fires and snips all the connections.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira