Skip to content

Problems with TSPortDescriptor (TS API). #6894

Closed

Description

@ywkaras
  1. TSPortDescriptorParse() returns a pointer to a dynamically allocated object. There is no way to delete this object so it would be leaked (

    HttpProxyPort *port = new HttpProxyPort();
    ).

  2. This capability is not fully tested in regression testing (

    // XXX We really ought to do a write/read exchange with the server. The sleep above works around this.
    ).

This capability is not used in any core plugin.

Activity

  1. github-actions commented on Jun 27, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

  2. SolidWallOfCode commented on Nov 1, 2021

    @SolidWallOfCode
    Member

    I'd recommend changing it to take an opaque block of storage defined in "apidefs.h" that's the same size as an HttpProxyPort. AFAICT the struct is a POD so there's no destructor isue.

  3. github-actions commented on Nov 2, 2022

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

  4. added this to the Sometime milestone on Jun 5, 2024
  5. removed their assignment
    on Oct 7, 2024
  6. added 3 commits that reference this issue on Aug 7, 2026
    c59e412
    229c40c
    c93d398
  7. added a commit that references this issue on Aug 18, 2026
    114a16e
  8. added a commit that references this issue on Aug 25, 2026
    052d4a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions