diff options
Diffstat (limited to 'src/daemon/connection.c')
-rw-r--r-- | src/daemon/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index e3590d5e..acc48390 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -1816,7 +1816,8 @@ MHD_connection_handle_read (struct MHD_Connection *connection) | |||
1816 | /* nothing to do but default action */ | 1816 | /* nothing to do but default action */ |
1817 | if (MHD_YES == connection->read_closed) | 1817 | if (MHD_YES == connection->read_closed) |
1818 | { | 1818 | { |
1819 | connection->state = MHD_CONNECTION_CLOSED; | 1819 | MHD_connection_close (connection, |
1820 | MHD_REQUEST_TERMINATED_READ_ERROR); | ||
1820 | continue; | 1821 | continue; |
1821 | } | 1822 | } |
1822 | break; | 1823 | break; |