You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/10/12 17:52:43 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=13793384#comment-13793384 ] 

Leif Hedstrom commented on TS-1807:
-----------------------------------

William: Is this a bug you plan on working on? If so, can you please assign it to yourself, and give it a Fix 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
>             Fix For: 5.0.0
>
>
> 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.1#6144)