diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-26 22:02:41 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-26 23:19:15 +0900 |
| commit | 47402c5f29cb806f73aae2ed18aa2dde21956700 (patch) | |
| tree | 64daf58e78b8be50eb3a689bfe1c87700e8f092b /src/HttpResponseCommand.cc | |
| parent | d485c8e76758c68ce55e9554d339eaf715ae7bca (diff) | |
Refactor HttpConnection and its neighbor objects
Diffstat (limited to 'src/HttpResponseCommand.cc')
| -rw-r--r-- | src/HttpResponseCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc index 79e703b2..c2ee84d6 100644 --- a/src/HttpResponseCommand.cc +++ b/src/HttpResponseCommand.cc @@ -165,7 +165,7 @@ bool HttpResponseCommand::executeInternal() httpResponse->validateResponse(); httpResponse->retrieveCookie(); - std::shared_ptr<HttpHeader> httpHeader = httpResponse->getHttpHeader(); + const auto& httpHeader = httpResponse->getHttpHeader(); // Disable persistent connection if: // Connection: close is received or the remote server is not HTTP/1.1. // We don't care whether non-HTTP/1.1 server returns Connection: keep-alive. |
