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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: