James Coglan
|
998a1725ea
|
Formatting change: {...} should have spaces inside the braces
|
2019-06-11 15:56:58 +01:00 |
|
Luigi Pinca
|
1682df15bf
|
Avoid using deprecated Buffer API
Usage of `Buffer` constructor has been deprecated due to usability
issues that can potentially lead to accidental security issues.
Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor
Tracking: https://github.com/nodejs/node/issues/19079
|
2018-03-22 09:49:28 +01:00 |
|
James Coglan
|
47c5e4d9ee
|
Handle errors in the draft76 handshake by throwing an error that Base.start() will catch, triggering a 400 response.
|
2017-11-23 08:51:35 +00:00 |
|
James Coglan
|
ae30f9952f
|
Bake the isWebSocket() check into the start() method so that if somebody constructs a driver without making that check, the driver will send a 400 response.
|
2017-11-23 08:30:24 +00:00 |
|
James Coglan
|
68990a260b
|
Close the connection if a draft-76 client sends a Sec-WebSocket-Key header where the numeric value is a non-integer multiple of the number of spaces.
|
2015-10-01 23:47:15 +01:00 |
|
James Coglan
|
dfe7b2b000
|
Trailing blank lines are bad.
|
2014-05-17 00:35:31 +01:00 |
|
James Coglan
|
9f2782da14
|
Correct the draft-76 status line reason phrase.
|
2014-04-17 02:23:58 +01:00 |
|
James Coglan
|
c5b3df986b
|
Migrate to jstest.
|
2013-07-01 02:10:29 +01:00 |
|
James Coglan
|
25c075a408
|
Rename the module to websocket-driver.
|
2013-05-04 16:42:44 +01:00 |
|