From da5f2c39146d3fb421ae2e7babe6065bc75ed08c Mon Sep 17 00:00:00 2001 From: Valera Cogut Date: Tue, 17 Jul 2018 13:16:17 +0300 Subject: [PATCH 1/2] fixed issue #929 --- src/network/http/websocket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/http/websocket.cpp b/src/network/http/websocket.cpp index 7f26b4d..9e9daf8 100644 --- a/src/network/http/websocket.cpp +++ b/src/network/http/websocket.cpp @@ -226,6 +226,7 @@ namespace fc { namespace http { fc::async([current_con, request_body, con] { std::string response = current_con->on_http(request_body); + idump((response)); con->set_body( response ); con->set_status( websocketpp::http::status_code::ok ); con->send_http_response(); From ee25279db65f6a7968edfcffa2a33a066e0731e2 Mon Sep 17 00:00:00 2001 From: Valera Cogut Date: Tue, 17 Jul 2018 20:43:34 +0300 Subject: [PATCH 2/2] added idump for websocket_tls_server_impl --- src/network/http/websocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/http/websocket.cpp b/src/network/http/websocket.cpp index 9e9daf8..0246c0b 100644 --- a/src/network/http/websocket.cpp +++ b/src/network/http/websocket.cpp @@ -349,7 +349,7 @@ namespace fc { namespace http { auto con = _server.get_con_from_hdl(hdl); wdump(("server")(con->get_request_body())); auto response = current_con->on_http( con->get_request_body() ); - + idump((response)); con->set_body( response ); con->set_status( websocketpp::http::status_code::ok ); } catch ( const fc::exception& e )