diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-04-03 17:02:21 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-04-03 18:27:00 +0200 |
commit | f22d37b98032b94fc5b63daff296017a7b611fa8 (patch) | |
tree | 15ac6601a44061fa418048c985cb936a97c352a3 /libtransport | |
parent | fc938965a323d0865faf1fc93e375cdfbb66aa7b (diff) |
[HICN-165] Http proxy: segment headers and payload in 2 different steps.
Change-Id: Ic4f6d1bc693d1170df02b470e8b384b51567acf3
Signed-off-by: Mauro Sardara <msardara@cisco.com>
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); |