commit b155d866625132f978e4e1af4bcfd5a4e365a5a5 parent 55bd5a59569fd4ac1f30ec5d56a5fc141b51d0f2 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 16 Jan 2018 13:22:29 +0100 nicer error messages Diffstat:
| M | src/microhttpd/connection.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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; }