nghttpx: Compile with the latest nghttp3

This commit is contained in:
Tatsuhiro Tsujikawa 2021-09-14 16:45:11 +09:00
parent 8903bd1e8a
commit 74162850f0
2 changed files with 3 additions and 3 deletions

View File

@ -1784,7 +1784,7 @@ int http_deferred_consume(nghttp3_conn *conn, int64_t stream_id,
namespace {
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) {
auto upstream = static_cast<Http3Upstream *>(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,
} // namespace
int Http3Upstream::http_acked_stream_data(Downstream *downstream,
size_t datalen) {
uint64_t datalen) {
if (LOG_ENABLED(INFO)) {
ULOG(INFO, this) << "Stream " << downstream->get_stream_id() << " "
<< datalen << " bytes acknowledged";

View File

@ -137,7 +137,7 @@ public:
int stream_close(int64_t stream_id, uint64_t app_error_code);
void log_response_headers(Downstream *downstream,
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_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);