mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dhtproxy: fix sendPushNotification
This commit is contained in:
1 parent
598e38dbf4
commit
bd994384f0
2 files changed
+5
-5
No files matched your search
@@ -47,6 +47,8 @@ do_request(const std::string & request, const std::string & addr, std::uint16_t
|
||||
// write request
|
||||
restinio::asio_ns::streambuf b;
|
||||
std::ostream req_stream(&b);
|
||||
// TODO log
|
||||
std::cout << "sending client request:\n" << request.c_str() << std::endl;
|
||||
req_stream << request;
|
||||
restinio::asio_ns::write(socket, b);
|
||||
// read response
|
||||
|
||||
Reference in new issue
Block a user