Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1807

shutdown on a write VIO to TSHttpConnect() doesn't propogate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 8.0.0
    • HTTP

    Description

      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.

      Attachments

        1. TS-1807.diff
          9 kB
          William Bardwell

        Activity

          People

            wbardwel William Bardwell
            wbardwel William Bardwell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: