aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2019-04-04 07:49:39 +0000
committerGerrit Code Review <gerrit@fd.io>2019-04-04 07:49:39 +0000
commit805cfe7b075b4f906a4646211b5aa29a993cb16f (patch)
tree48e1c785490e9f48b0b0d7af4decdab3cebcc13a /libtransport
parent41878be65785063472c3a69139347efe3952492a (diff)
parentf22d37b98032b94fc5b63daff296017a7b611fa8 (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.cc2
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);