William Bardwell created TS-1807:
------------------------------------

             Summary: 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


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 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

Reply via email to