Skip to content

Commit

Permalink
fixed issue #929
Browse files Browse the repository at this point in the history
  • Loading branch information
nanomobile committed Jul 17, 2018
1 parent d8437ac commit 66f2a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/network/http/websocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 66f2a0a

Please sign in to comment.