diff options
author | Jordan Augé <jordan.auge+fdio@cisco.com> | 2019-04-04 07:49:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-04-04 07:49:39 +0000 |
commit | 805cfe7b075b4f906a4646211b5aa29a993cb16f (patch) | |
tree | 48e1c785490e9f48b0b0d7af4decdab3cebcc13a /libtransport | |
parent | 41878be65785063472c3a69139347efe3952492a (diff) | |
parent | f22d37b98032b94fc5b63daff296017a7b611fa8 (diff) |
Merge "[HICN-165] Http proxy: segment headers and payload in 2 different steps."
Diffstat (limited to 'libtransport')
-rw-r--r-- | libtransport/src/hicn/transport/http/response.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/http/response.cc b/libtransport/src/hicn/transport/http/response.cc index 0aa9affe8..db7306cca 100644 --- a/libtransport/src/hicn/transport/http/response.cc +++ b/libtransport/src/hicn/transport/http/response.cc @@ -49,7 +49,7 @@ bool HTTPResponse::parseHeaders() { if (it != end()) { std::stringstream ss; - ss.str(std::string(begin(), it)); + ss.str(std::string(begin(), it + 1)); std::string line; getline(ss, line); |