From b008a9f667dfbe92c7275adec7d9b9d6b05c3ec8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 10:51:45 +0200 Subject: Adding upstream version 1.60.0. Signed-off-by: Daniel Baumann --- src/shrpx_http.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/shrpx_http.cc') diff --git a/src/shrpx_http.cc b/src/shrpx_http.cc index ad32dc9..4750500 100644 --- a/src/shrpx_http.cc +++ b/src/shrpx_http.cc @@ -167,9 +167,9 @@ std::string colorizeHeaders(const char *hdrs) { return nhdrs; } -ssize_t select_padding_callback(nghttp2_session *session, - const nghttp2_frame *frame, size_t max_payload, - void *user_data) { +nghttp2_ssize select_padding_callback(nghttp2_session *session, + const nghttp2_frame *frame, + size_t max_payload, void *user_data) { return std::min(max_payload, frame->hd.length + get_config()->padding); } -- cgit v1.2.3