Skip to content

Support tls.connect({ socket })Β #807

Closed

Description

@kettanaito

I've already added a test (failing, skipped) for tls.connect({ socket }). Establishing TLS connections with a given socket instance will always result in passthrough. We should likely fix this. As testing shows, this is a niche use case but it's real nonetheless.

This is also only relevant for pure ESM consumers.

Activity

  1. kettanaito commented on Sep 29, 2026

    @kettanaito
    MemberAuthor

    Released: v0.45.6 πŸŽ‰

    This has been released in v0.45.6.

    Get these changes by running the following command:

    npm i @mswjs/interceptors@latest
    

    Predictable release automation by Release.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions