Skip to content

Commit

Permalink
Fix duplicate sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Nov 10, 2023
1 parent 03bbcd2 commit f1a1776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const kGracefullyClosing = Symbol('gracefullyClosing');
const kLength = Symbol('length');

const nameKeys = [
// Not an Agent option actually
'createConnection',
// Theoretically we could depend on `createConnection`, but practically this results in a bug.
// `createConnection` gets replaced when the session gets reused, so this would result in a duplicate session.

// `http2.connect()` options
'maxDeflateDynamicTableSize',
Expand Down

0 comments on commit f1a1776

Please sign in to comment.