diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2018-02-16 17:22:53 +0100 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2018-02-16 17:22:53 +0100 |
commit | 953f18b834951680c738e9ce367b5a3eff91ccda (patch) | |
tree | 52bc181e53b9c76db1e14e693f473ca8cfca7250 /apps/http/icnet_http_echo_server.cc | |
parent | c5e952d1cadbdf85c976e88ba97ea8bee7e422ab (diff) |
Improvements for HTTP messages processing
Change-Id: Iefcbfa1820bd47fd52475780c68c363a2baa2568
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'apps/http/icnet_http_echo_server.cc')
-rw-r--r-- | apps/http/icnet_http_echo_server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/http/icnet_http_echo_server.cc b/apps/http/icnet_http_echo_server.cc index 223646a2..961c44fd 100644 --- a/apps/http/icnet_http_echo_server.cc +++ b/apps/http/icnet_http_echo_server.cc @@ -19,7 +19,7 @@ namespace icnet { namespace http { -void onPayload(std::shared_ptr<HTTPServerPublisher> &publisher, const uint8_t *buffer, std::size_t size) { +void onPayload(std::shared_ptr<HTTPServerPublisher> &publisher, const uint8_t *buffer, std::size_t size, int request_id) { char *string = (char *) buffer; std::cout << "Received this content:" << std::endl; |