From 73eba08cf4029d63f7830d1adef9787b49bf50c5 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 18 Nov 2017 18:06:56 -0800 Subject: [PATCH] Fix websocket permessage-deflate negotiation --- CHANGELOG.md | 6 ++++++ include/boost/beast/websocket/impl/accept.ipp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 854f8e6a..7c7a0c77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 144: + +* Fix websocket permessage-deflate negotiation + +-------------------------------------------------------------------------------- + Version 143: * Fix autobahn report link diff --git a/include/boost/beast/websocket/impl/accept.ipp b/include/boost/beast/websocket/impl/accept.ipp index 29adfb00..e52a74ef 100644 --- a/include/boost/beast/websocket/impl/accept.ipp +++ b/include/boost/beast/websocket/impl/accept.ipp @@ -746,7 +746,7 @@ do_accept( // teardown if Connection: close. return; } - pmd_read(pmd_config_, req); + pmd_read(pmd_config_, res); open(role_type::server); }