From 8fb8b137c75a2d2952cf974dde7a53118310728f Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Mon, 19 Mar 2018 19:16:11 +0100 Subject: [PATCH] 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. --- src/lib-http/http-message-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.47.3