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

Server side termination not handled properly when a PluginVC/Protocol Plugin is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.1
    • 3.3.1
    • HTTP, Plugins
    • None

    Description

      Using a Protocol Plugin along with a PluginVC (HttpConnect) and HTTP CONNECT command to create tunnel. When the server drops the connection, the protocol plugin will not be notified until the connection times out.

      HttpSM ends up calling PluginVC::do_io_shutdown() which sets the appropriate flags but takes no action. I suspect this would affect real socket VCs as well, but in that case the shutdown() on the socket write side would cause the client to react and close its own side as well.

      The proposed fix solves my specific problem but may not address all related issues (with PluginVCs or other types of VCs as well).

      Attachments

        1. pluginvc_tunnel.diff
          0.5 kB
          Yossi Gottlieb

        Activity

          People

            Unassigned Unassigned
            yossigo Yossi Gottlieb
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: