You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/08/15 20:44:20 UTC

[jira] [Commented] (TS-1807) shutdown on a write VIO to TSHttpConnect() doesn't propogate

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

Bryan Call commented on TS-1807:
--------------------------------

[~wbardwel]
Can you make a github pull request for this one in a couple weeks?  If not push out the release version.

> shutdown on a write VIO to TSHttpConnect() doesn't propogate
> ------------------------------------------------------------
>
>                 Key: TS-1807
>                 URL: https://issues.apache.org/jira/browse/TS-1807
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: William Bardwell
>            Assignee: William Bardwell
>              Labels: review
>             Fix For: 7.0.0
>
>         Attachments: TS-1807.diff
>
>
> In a plugin I am doing a TSHttpConnect() and then sending HTTP requests and getting responses.  But when I try to do TSVIONBytesSet() and TSVConnShutdown() on the write vio (due to the client side being done sending requests) the write vio just sits there and never wakes up the other side, and the response side doesn't try to close up until an inactivity timeout happens.
> I think that PluginVC::do_io_shutdown() needs to do  other_side->read_state.vio.reenable(); when a shutdown for write shows up.  Then the otherside wakes up and sees the EOF due to the shutdown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)