added idump for websocket_tls_server_impl

This commit is contained in:
Valera Cogut 2018-07-17 20:43:34 +03:00
parent da5f2c3914
commit ee25279db6

View file

@ -349,7 +349,7 @@ namespace fc { namespace http {
auto con = _server.get_con_from_hdl(hdl); auto con = _server.get_con_from_hdl(hdl);
wdump(("server")(con->get_request_body())); wdump(("server")(con->get_request_body()));
auto response = current_con->on_http( con->get_request_body() ); auto response = current_con->on_http( con->get_request_body() );
idump((response));
con->set_body( response ); con->set_body( response );
con->set_status( websocketpp::http::status_code::ok ); con->set_status( websocketpp::http::status_code::ok );
} catch ( const fc::exception& e ) } catch ( const fc::exception& e )