From: Stephan Bosch Date: Mon, 19 Mar 2018 18:16:11 +0000 (+0100) Subject: lib-http: http-message parser - Refer to message payload rather than response payload... X-Git-Tag: 2.3.11.2~297 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8fb8b137c75a2d2952cf974dde7a53118310728f;p=thirdparty%2Fdovecot%2Fcore.git lib-http: http-message parser - Refer to message payload rather than response payload in error message. The message parser is used for both requests and responses. --- diff --git a/src/lib-http/http-message-parser.c b/src/lib-http/http-message-parser.c index e25f27fe8e..80716ea26e 100644 --- a/src/lib-http/http-message-parser.c +++ b/src/lib-http/http-message-parser.c @@ -493,7 +493,7 @@ http_istream_error_callback(const struct istream_sized_error_data *data, i_assert(data->v_offset + data->new_bytes < data->wanted_size); return t_strdup_printf( - "Disconnected while reading response payload at offset %"PRIuUOFF_T + "Disconnected while reading message payload at offset %"PRIuUOFF_T " (wanted %"PRIuUOFF_T"): %s", data->v_offset + data->new_bytes, data->wanted_size, io_stream_get_disconnect_reason(input, NULL)); }