Merge branch 'issue/son-for-hive-rpc-connection' of https://gitlab.com/PBSA/peerplays into issue/son-for-hive-rpc-connection
This commit is contained in:
commit
8e4dad7593
2 changed files with 3 additions and 3 deletions
|
|
@ -991,7 +991,7 @@ http_response rpc_client::send_post_request(const std::string &body, bool show_l
|
|||
|
||||
if (show_log) {
|
||||
std::string url = client.is_ssl() ? "https" : "http";
|
||||
url = url + "://" + client.host() + std::to_string(client.port()) + client.path();
|
||||
url = url + "://" + client.host() + ":" + std::to_string(client.port()) + client.path();
|
||||
ilog("### Request URL: ${url}", ("url", url));
|
||||
ilog("### Request: ${body}", ("body", body));
|
||||
std::stringstream ss(std::string(response.body.begin(), response.body.end()));
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <boost/asio.hpp>
|
||||
#include <boost/asio/ssl.hpp>
|
||||
|
||||
#include <fc/network/http/connection.hpp>
|
||||
//#include <fc/network/http/connection.hpp>
|
||||
|
||||
namespace graphene { namespace peerplays_sidechain {
|
||||
|
||||
|
|
@ -93,7 +93,7 @@ private:
|
|||
friend class detail::http_call_impl;
|
||||
friend detail::tcp_socket;
|
||||
friend detail::ssl_socket;
|
||||
static constexpr auto response_size_limit_bytes = 1024 * 1024 * 1024;
|
||||
static constexpr auto response_size_limit_bytes = 16 * 1024 * 1024;
|
||||
static constexpr auto response_first_alloc_bytes = 32 * 1024;
|
||||
static constexpr auto response_next_alloc_bytes = 256 * 1024;
|
||||
std::string m_host;
|
||||
|
|
|
|||
Loading…
Reference in a new issue