Ivan Kozlovic
ac0a1ee8fd
Fixed compression http header request/response
...
The issue was introduced by PR #1858 .
Key points:
- Sec-WebSocket-Extensions must contain approved headers, so moving
the "no-masking" private extension to its own header "Nats-No-Masking".
- The format of the permessage-deflate negotiation response became
invalid, I have fixed that.
- For leaf nodes, if `permessage-deflate` extension is not at all
present in the response, then simply disable compression, however
if it is present but there is no server/client no context take over,
then we have to fail the connection.
- A leafnode test was not setting the "NoMasking" option so the
test TestLeafNodeWSNoMaskingRejected was not capturing possible
error if negotiation failed.
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2021-02-01 12:10:37 -07:00
..
2020-06-12 15:48:38 -07:00
2020-11-24 23:04:50 -05:00
2020-05-19 14:15:11 -07:00
2021-01-04 14:11:36 -05:00
2021-02-01 12:30:47 -05:00
2020-11-20 13:57:34 -05:00
2021-01-26 17:49:58 -05:00
2020-03-18 10:09:23 -06:00
2020-12-02 13:50:50 -07:00
2021-01-28 13:13:11 -07:00
2020-05-29 17:56:45 -07:00
2020-11-30 20:08:44 -07:00
2021-01-30 17:24:52 -08:00
2021-01-31 09:16:16 -08:00
2021-01-21 21:16:09 -05:00
2020-12-14 19:48:54 -05:00
2020-10-31 12:56:27 -07:00
2020-11-22 20:00:37 -05:00
2020-02-25 19:53:09 -05:00
2021-01-27 17:44:42 -08:00
2021-01-21 21:16:09 -05:00
2021-01-29 15:08:22 -08:00
2021-01-14 01:14:52 -08:00
2021-01-24 19:30:34 -08:00
2020-11-17 18:57:45 +00:00
2021-01-14 01:14:52 -08:00
2021-01-28 13:13:11 -07:00
2021-01-29 09:42:20 -08:00
2021-01-31 09:16:16 -08:00
2021-01-29 08:51:20 -08:00
2021-01-31 09:16:16 -08:00
2021-02-01 12:30:47 -05:00
2021-01-29 13:25:02 -05:00
2021-02-01 12:10:37 -07:00
2021-02-01 12:10:37 -07:00
2021-01-26 15:33:39 -07:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2019-05-06 15:41:38 -07:00
2021-01-29 13:25:02 -05:00
2021-01-29 13:25:02 -05:00
2021-01-26 14:23:49 -07:00
2021-01-28 13:13:11 -07:00
2019-12-12 11:58:24 -07:00
2021-01-26 17:49:58 -05:00
2020-10-22 10:11:16 -06:00
2021-01-07 18:19:25 -05:00
2021-01-29 11:53:20 -07:00
2021-01-26 15:33:39 -07:00
2021-01-26 15:55:00 -07:00
2020-06-12 10:03:47 -06:00
2021-01-30 14:00:26 -08:00
2020-10-19 20:11:52 -07:00
2021-01-21 21:16:09 -05:00
2018-10-06 14:06:14 -07:00
2020-03-23 12:25:51 -04:00
2021-01-28 13:13:11 -07:00
2021-01-14 01:14:52 -08:00
2020-11-30 20:08:44 -07:00
2021-01-29 17:51:14 -08:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2018-03-15 22:31:07 -07:00
2019-06-03 19:45:47 -06:00
2019-11-14 20:05:32 -07:00
2019-11-14 20:05:32 -07:00
2019-12-12 11:58:24 -07:00
2021-01-24 19:30:34 -08:00
2021-01-31 09:16:16 -08:00
2021-01-28 17:43:22 -07:00
2021-01-28 17:43:22 -07:00
2018-12-02 20:34:33 -08:00
2020-05-19 14:16:03 -07:00
2020-08-14 13:37:59 -04:00
2021-01-28 13:13:11 -07:00
2021-02-01 12:10:37 -07:00