Files
node/lib
Chris Opperwall 95db54482a debugger: validate sec-websocket-accept response header
This addresses a TODO to validate that the sec-websocket-accept header
in the WebSocket handshake response is valid. To do this we need to
append the WebSocket GUID to the original key sent in sec-websocket-key,
sha1 hash it, and then compare the base64 encoding with the value sent
in the sec-websocket-accept response header.

If they don't match, an error is thrown.

PR-URL: https://github.com/nodejs/node/pull/39357
Refs: https://github.com/nodejs/node-inspect/pull/93
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-07-29 11:56:48 +01:00
..
2020-05-24 03:26:21 +02:00
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2021-05-31 15:34:46 -04:00
2021-07-11 09:43:55 +02:00
2021-04-16 07:47:46 +02:00
2021-06-02 13:22:16 -04:00
2021-05-17 09:11:35 +02:00
2021-07-29 11:56:47 +01:00
2021-05-31 15:34:56 -04:00
…
2021-07-13 08:11:48 +02:00
2021-05-31 15:34:46 -04:00
2021-07-11 09:46:25 +02:00
2021-06-11 07:24:56 +02:00
2021-07-11 09:43:52 +02:00
2021-05-31 15:34:46 -04:00