Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/internal/http2/compat.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,15 @@ function resumeStream(stream) {
}

const proxySocketHandler = {
has(stream, prop){

const ref = stream.session !== undefined ?
stream.session[kSocket] : stream;

return Reflect.has(stream, prop)||Reflect.has(ref, prop)


},
get(stream, prop) {
switch (prop) {
case 'on':
Expand Down