0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00

In WS::Client::Config, use C++11 member initializers.

This commit is contained in:
James Yonan 2015-10-24 18:30:42 -06:00 committed by Lev Stipakov
parent fa513773c0
commit 3175805174
No known key found for this signature in database
GPG Key ID: 88670BE258B9C258

View File

@ -124,22 +124,15 @@ namespace openvpn {
{
typedef RCPtr<Config> Ptr;
Config() : connect_timeout(0),
general_timeout(0),
max_headers(0),
max_header_bytes(0),
max_content_bytes(0),
msg_overhead_bytes(0) {}
SSLFactoryAPI::Ptr ssl_factory;
TransportClientFactory::Ptr transcli;
std::string user_agent;
unsigned int connect_timeout;
unsigned int general_timeout;
unsigned int max_headers;
unsigned int max_header_bytes;
olong max_content_bytes;
unsigned int msg_overhead_bytes;
unsigned int connect_timeout = 0;
unsigned int general_timeout = 0;
unsigned int max_headers = 0;
unsigned int max_header_bytes = 0;
olong max_content_bytes = 0;
unsigned int msg_overhead_bytes = 0;
Frame::Ptr frame;
SessionStats::Ptr stats;
};