This is an automated email from the ASF dual-hosted git repository. kgiusti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push: new 48bfab2 DISPATCH-1908: fix parameter types for http1 codec 48bfab2 is described below commit 48bfab2e74a8e18cd50cdacc09876e1d7a0eb250 Author: Kenneth Giusti <kgiu...@apache.org> AuthorDate: Fri Jan 8 09:54:16 2021 -0500 DISPATCH-1908: fix parameter types for http1 codec --- include/qpid/dispatch/http1_codec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/qpid/dispatch/http1_codec.h b/include/qpid/dispatch/http1_codec.h index 8e53463..48c987b 100644 --- a/include/qpid/dispatch/http1_codec.h +++ b/include/qpid/dispatch/http1_codec.h @@ -127,7 +127,7 @@ typedef struct h1_codec_config_t { int (*rx_header)(h1_codec_request_state_t *hrs, const char *key, const char *value); int (*rx_headers_done)(h1_codec_request_state_t *hrs, bool has_body); - int (*rx_body)(h1_codec_request_state_t *hrs, qd_buffer_list_t *body, uintmax_t len, bool more); + int (*rx_body)(h1_codec_request_state_t *hrs, qd_buffer_list_t *body, size_t len, bool more); // Invoked after a received HTTP message has been completely parsed. // @@ -158,7 +158,7 @@ void h1_codec_connection_free(h1_codec_connection_t *conn); // outstanding requests and destroy the conn by calling // h1_codec_connection_free(). // -int h1_codec_connection_rx_data(h1_codec_connection_t *conn, qd_buffer_list_t *data, uintmax_t len); +int h1_codec_connection_rx_data(h1_codec_connection_t *conn, qd_buffer_list_t *data, size_t len); // Notify the codec that the endpoint closed the connection. For server-facing // connections it is safe to resume calling h1_codec_connection_rx_data() for --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org