Skip to content

Connections aren't actually closed when closing a protocol connection #7165

Closed

Description

@imsodin

Came up starting in #7141 (comment), short summary: A protocol connection doesn't control the underlying tls connection, thus it cannot close it. All the methods that supposedly close it, just tell the model that it's closed and potentielly send a Closed BEP msg, but don't actually close the connection.

The type hierarchy looks like this:
model has: connections.Service implemented by completeConn{internalConn, protocol.Connection} and internalConn are wrappers of the concrete underlying tls connection type (tcp, quic, ...).
The protocol connections gets a reader and a writer based on internalConn. An option would be to instead pass it a io.ReadWriteCloser, based on the same.

Activity

  1. added
    bug
    needs-triage
    on Nov 27, 2020
  2. added a commit that references this issue on Dec 17, 2020
    338ba3e
  3. added a commit that references this issue on Dec 21, 2020
    7b89bc5
  4. added this to the v1.13.0 milestone on Dec 21, 2020
  5. added a commit that references this issue on Jan 11, 2021
    2ea3449
  6. added
    frozen-due-to-age
    on Dec 22, 2021
  7. locked and limited conversation to collaborators on Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions