Traffic Server
  1. Traffic Server
  2. TS-1559

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.1
    • Component/s: HTTP, Plugins
    • Labels:
      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).

      1. pluginvc_tunnel.diff
        0.5 kB
        Yossi Gottlieb

        Activity

        Yossi Gottlieb created issue -
        Yossi Gottlieb made changes -
        Field Original Value New Value
        Attachment pluginvc_tunnel.diff [ 12551838 ]
        Yossi Gottlieb made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.1 [ 12321686 ]
        Leif Hedstrom made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Yossi Gottlieb
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development