浏览代码

Added a missing member in copy_settings.

yhirose 4 年之前
父节点
当前提交
75fdb06696
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      httplib.h

+ 1 - 0
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_;