|
|
@@ -2958,7 +2958,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
|
|
|
{
|
|
|
const size_t wb_ready = connection->write_buffer_append_offset
|
|
|
- connection->write_buffer_send_offset;
|
|
|
- mhd_assert (connection->write_buffer_append_offset > \
|
|
|
+ mhd_assert (connection->write_buffer_append_offset >= \
|
|
|
connection->write_buffer_send_offset);
|
|
|
|
|
|
/* if the response body is not available, we use MHD_send_on_connection_() */
|