summaryrefslogtreecommitdiff
path: root/http/http2_connection.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/http2_connection.hpp')
-rw-r--r--http/http2_connection.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/http2_connection.hpp b/http/http2_connection.hpp
index 4b1b2dcb91..8416ff738b 100644
--- a/http/http2_connection.hpp
+++ b/http/http2_connection.hpp
@@ -434,7 +434,7 @@ class HTTP2Connection :
close();
return -1;
}
- thisReq.req.method(verb);
+ thisReq.method(verb);
}
else if (nameSv == ":scheme")
{
@@ -442,7 +442,7 @@ class HTTP2Connection :
}
else
{
- thisReq.req.set(nameSv, valueSv);
+ thisReq.addHeader(nameSv, valueSv);
}
return 0;
}