dovecot-2.2: lib-http: Minor improvement to "disconnected during...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 6 15:19:24 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/9d2dd826ae7e
changeset: 19286:9d2dd826ae7e
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 06 18:17:45 2015 +0300
description:
lib-http: Minor improvement to "disconnected during payload read" error message.
The same error is also used for http-server for parsing client input, so the
message shouldn't say anything about reading the input from server.
diffstat:
src/lib-http/http-message-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 279c156c90e2 -r 9d2dd826ae7e src/lib-http/http-message-parser.c
--- a/src/lib-http/http-message-parser.c Tue Oct 06 18:14:05 2015 +0300
+++ b/src/lib-http/http-message-parser.c Tue Oct 06 18:17:45 2015 +0300
@@ -392,7 +392,7 @@
i_assert(data->eof);
i_assert(data->v_offset + data->new_bytes < data->wanted_size);
- return t_strdup_printf("Disconnected from server at offset %"PRIuUOFF_T
+ return t_strdup_printf("Disconnected while reading response 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));
}
More information about the dovecot-cvs
mailing list