From 210a5c4f017e1d2c9f81fdbf909e1097f7e8eb31 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 4 Aug 2016 23:11:45 +0900 Subject: [PATCH] nghttpx: Use copy instead of const reference of backend group --- src/shrpx_http_downstream_connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_http_downstream_connection.h b/src/shrpx_http_downstream_connection.h index 8fad5353..98a58d52 100644 --- a/src/shrpx_http_downstream_connection.h +++ b/src/shrpx_http_downstream_connection.h @@ -88,7 +88,7 @@ private: Worker *worker_; // nullptr if TLS is not used. SSL_CTX *ssl_ctx_; - const std::shared_ptr &group_; + std::shared_ptr group_; // Address of remote endpoint DownstreamAddr *addr_; IOControl ioctrl_;