From 75fdb06696d4e27b590135c1e4a226b4e13e9bd7 Mon Sep 17 00:00:00 2001 From: yhirose Date: Sat, 15 May 2021 09:10:54 -0400 Subject: [PATCH] Added a missing member in copy_settings. --- httplib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/httplib.h b/httplib.h index 6534828..0050708 100644 --- a/httplib.h +++ b/httplib.h @@ -5283,6 +5283,7 @@ inline void ClientImpl::copy_settings(const ClientImpl &rhs) { keep_alive_ = rhs.keep_alive_; follow_location_ = rhs.follow_location_; url_encode_ = rhs.url_encode_; + address_family_ = rhs.address_family_; tcp_nodelay_ = rhs.tcp_nodelay_; socket_options_ = rhs.socket_options_; compress_ = rhs.compress_;