Merge pull request #108 from bitshares/pr106
Enable websocket permessage-deflate (follow-up of #106)
This commit is contained in:
commit
1a411b813a
2 changed files with 8 additions and 1 deletions
|
|
@ -6,6 +6,8 @@
|
||||||
#include <websocketpp/client.hpp>
|
#include <websocketpp/client.hpp>
|
||||||
#include <websocketpp/logger/stub.hpp>
|
#include <websocketpp/logger/stub.hpp>
|
||||||
|
|
||||||
|
#include <websocketpp/extensions/permessage_deflate/enabled.hpp>
|
||||||
|
|
||||||
#include <fc/optional.hpp>
|
#include <fc/optional.hpp>
|
||||||
#include <fc/variant.hpp>
|
#include <fc/variant.hpp>
|
||||||
#include <fc/thread/thread.hpp>
|
#include <fc/thread/thread.hpp>
|
||||||
|
|
@ -61,6 +63,11 @@ namespace fc { namespace http {
|
||||||
transport_type;
|
transport_type;
|
||||||
|
|
||||||
static const long timeout_open_handshake = 0;
|
static const long timeout_open_handshake = 0;
|
||||||
|
|
||||||
|
// permessage_compress extension
|
||||||
|
struct permessage_deflate_config {};
|
||||||
|
typedef websocketpp::extensions::permessage_deflate::enabled <permessage_deflate_config> permessage_deflate_type;
|
||||||
|
|
||||||
};
|
};
|
||||||
struct asio_tls_with_stub_log : public websocketpp::config::asio_tls {
|
struct asio_tls_with_stub_log : public websocketpp::config::asio_tls {
|
||||||
|
|
||||||
|
|
|
||||||
2
vendor/websocketpp
vendored
2
vendor/websocketpp
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit 792cb455bec45837d8d801e82c6fd86c38e1dbdb
|
Subproject commit 4543c5f9860333e9c73552362ae74239f98e80fe
|
||||||
Loading…
Reference in a new issue