Skip to content

Commit 099015d

Browse files
committed
Improve parameter spelling
1 parent 967f6a2 commit 099015d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ConnectionPoolImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class ConnectionPoolImpl
366366
else {
367367
#ifdef RESTC_CPP_WITH_TLS
368368
socket = make_unique<TlsSocketImpl>(owner_.GetIoService(), owner_.GetTLSContext(),
369-
/*can_send_over_unupgraded_socket to send plain data over tls socket before handshake*/
369+
/*allow_sending_over_unupgraded_socket to send plain data over tls socket before handshake*/
370370
properties_->proxy.type == Request::Proxy::Type::HTTPS);
371371
#else
372372
throw NotImplementedException(

src/TlsSocketImpl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ class TlsSocketImpl : public Socket, protected ExceptionWrapper {
2626

2727
TlsSocketImpl(boost::asio::io_service& io_service,
2828
shared_ptr<boost::asio::ssl::context> ctx,
29-
bool can_send_over_unupgraded_socket = false)
29+
bool allow_sending_over_unupgraded_socket = false)
3030
{
3131
ssl_socket_ = std::make_unique<ssl_socket_t>(io_service, *ctx);
32-
can_send_over_unupgraded_socket_ = can_send_over_unupgraded_socket;
32+
can_send_over_unupgraded_socket_ = allow_sending_over_unupgraded_socket;
3333
}
3434

3535
boost::asio::ip::tcp::socket& GetSocket() override {

0 commit comments

Comments
 (0)