Commit 74162850 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Compile with the latest nghttp3

parent 8903bd1e
...@@ -1784,7 +1784,7 @@ int http_deferred_consume(nghttp3_conn *conn, int64_t stream_id, ...@@ -1784,7 +1784,7 @@ int http_deferred_consume(nghttp3_conn *conn, int64_t stream_id,
namespace { namespace {
int http_acked_stream_data(nghttp3_conn *conn, int64_t stream_id, int http_acked_stream_data(nghttp3_conn *conn, int64_t stream_id,
size_t datalen, void *user_data, uint64_t datalen, void *user_data,
void *stream_user_data) { void *stream_user_data) {
auto upstream = static_cast<Http3Upstream *>(user_data); auto upstream = static_cast<Http3Upstream *>(user_data);
auto downstream = static_cast<Downstream *>(stream_user_data); auto downstream = static_cast<Downstream *>(stream_user_data);
...@@ -1800,7 +1800,7 @@ int http_acked_stream_data(nghttp3_conn *conn, int64_t stream_id, ...@@ -1800,7 +1800,7 @@ int http_acked_stream_data(nghttp3_conn *conn, int64_t stream_id,
} // namespace } // namespace
int Http3Upstream::http_acked_stream_data(Downstream *downstream, int Http3Upstream::http_acked_stream_data(Downstream *downstream,
size_t datalen) { uint64_t datalen) {
if (LOG_ENABLED(INFO)) { if (LOG_ENABLED(INFO)) {
ULOG(INFO, this) << "Stream " << downstream->get_stream_id() << " " ULOG(INFO, this) << "Stream " << downstream->get_stream_id() << " "
<< datalen << " bytes acknowledged"; << datalen << " bytes acknowledged";
......
...@@ -137,7 +137,7 @@ public: ...@@ -137,7 +137,7 @@ public:
int stream_close(int64_t stream_id, uint64_t app_error_code); int stream_close(int64_t stream_id, uint64_t app_error_code);
void log_response_headers(Downstream *downstream, void log_response_headers(Downstream *downstream,
const std::vector<nghttp3_nv> &nva) const; const std::vector<nghttp3_nv> &nva) const;
int http_acked_stream_data(Downstream *downstream, size_t datalen); int http_acked_stream_data(Downstream *downstream, uin64_t datalen);
int http_shutdown_stream_read(int64_t stream_id); int http_shutdown_stream_read(int64_t stream_id);
int http_reset_stream(int64_t stream_id, uint64_t app_error_code); int http_reset_stream(int64_t stream_id, uint64_t app_error_code);
int http_send_stop_sending(int64_t stream_id, uint64_t app_error_code); int http_send_stop_sending(int64_t stream_id, uint64_t app_error_code);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment