Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

quic: allow multiple independent .connect() calls #176

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

Explicitly allow calling .connect() multiple times to generate
separate client sessions on the same socket. This requires making
kMaybeBind call its callback even if the socket is already bound.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Explicitly allow calling `.connect()` multiple times to generate
separate client sessions on the same socket. This requires making
`kMaybeBind` call its callback even if the socket is already bound.
addaleax added a commit that referenced this pull request Oct 16, 2019
Explicitly allow calling `.connect()` multiple times to generate
separate client sessions on the same socket. This requires making
`kMaybeBind` call its callback even if the socket is already bound.

PR-URL: #176
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleax
Copy link
Member Author

Landed in b2197b5

@addaleax addaleax closed this Oct 16, 2019
@addaleax addaleax deleted the multiple-connect branch October 16, 2019 22:48
addaleax added a commit that referenced this pull request Dec 11, 2019
Explicitly allow calling `.connect()` multiple times to generate
separate client sessions on the same socket. This requires making
`kMaybeBind` call its callback even if the socket is already bound.

PR-URL: #176
Reviewed-By: James M Snell <jasnell@gmail.com>
juanarbol pushed a commit to juanarbol/quic that referenced this pull request Dec 17, 2019
Explicitly allow calling `.connect()` multiple times to generate
separate client sessions on the same socket. This requires making
`kMaybeBind` call its callback even if the socket is already bound.

PR-URL: nodejs#176
Reviewed-By: James M Snell <jasnell@gmail.com>
juanarbol pushed a commit to juanarbol/quic that referenced this pull request Dec 17, 2019
Explicitly allow calling `.connect()` multiple times to generate
separate client sessions on the same socket. This requires making
`kMaybeBind` call its callback even if the socket is already bound.

PR-URL: nodejs#176
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants