Unverified Commit 73533a19 authored by Anatoli Papirovski's avatar Anatoli Papirovski
Browse files

http2: do not allow socket manipulation

Because of the specific serialization and processing requirements
of HTTP/2, sockets should not be directly manipulated. This
forbids any interactions with destroy, emit, end, pause, read,
resume and write methods of the socket. It also redirects
setTimeout to session instead of socket.

PR-URL: https://github.com/nodejs/node/pull/16330
Fixes: https://github.com/nodejs/node/issues/16252
Refs: https://github.com/nodejs/node/pull/16211


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent ed116dc3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment