diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-16 13:22:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-16 13:22:29 +0100 |
commit | b155d866625132f978e4e1af4bcfd5a4e365a5a5 (patch) | |
tree | 4eafbda178628b161da75276bd167687c93edf48 /src/microhttpd/connection.c | |
parent | 55bd5a59569fd4ac1f30ec5d56a5fc141b51d0f2 (diff) | |
download | libmicrohttpd-b155d866625132f978e4e1af4bcfd5a4e365a5a5.tar.gz libmicrohttpd-b155d866625132f978e4e1af4bcfd5a4e365a5a5.zip |
nicer error messages
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 4 |
1 files 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) | |||
2854 | CONNECTION_CLOSE_ERROR (connection, | 2854 | CONNECTION_CLOSE_ERROR (connection, |
2855 | (MHD_CONNECTION_INIT == connection->state) ? | 2855 | (MHD_CONNECTION_INIT == connection->state) ? |
2856 | NULL : | 2856 | NULL : |
2857 | _("Socket is unexpectedly disconnected when reading request.\n")); | 2857 | _("Socket disconnected while reading request.\n")); |
2858 | return; | 2858 | return; |
2859 | } | 2859 | } |
2860 | CONNECTION_CLOSE_ERROR (connection, | 2860 | CONNECTION_CLOSE_ERROR (connection, |
2861 | (MHD_CONNECTION_INIT == connection->state) ? | 2861 | (MHD_CONNECTION_INIT == connection->state) ? |
2862 | NULL : | 2862 | NULL : |
2863 | _("Connection socket is closed due to unexpected error when reading request.\n")); | 2863 | _("Connection socket is closed due to error when reading request.\n")); |
2864 | return; | 2864 | return; |
2865 | } | 2865 | } |
2866 | 2866 | ||