From b155d866625132f978e4e1af4bcfd5a4e365a5a5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 16 Jan 2018 13:22:29 +0100 Subject: [PATCH] nicer error messages --- src/microhttpd/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index dd6e2733..a85e56ef 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -2854,13 +2854,13 @@ MHD_connection_handle_read (struct MHD_Connection *connection) CONNECTION_CLOSE_ERROR (connection, (MHD_CONNECTION_INIT == connection->state) ? NULL : - _("Socket is unexpectedly disconnected when reading request.\n")); + _("Socket disconnected while reading request.\n")); return; } CONNECTION_CLOSE_ERROR (connection, (MHD_CONNECTION_INIT == connection->state) ? NULL : - _("Connection socket is closed due to unexpected error when reading request.\n")); + _("Connection socket is closed due to error when reading request.\n")); return; }