Could you provide an example code, which you are trying to fix?

-- 
Best Wishes,
Evgeny Grin

On 15.03.2017 15:13, Vitaliy T wrote:
> The patch is below.
> 
> diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
> index f192a1bb..bc1e2abc 100644
> --- a/src/microhttpd/connection.c
> +++ b/src/microhttpd/connection.c
> @@ -1406,7 +1406,8 @@ MHD_connection_update_event_loop_info (struct
> MHD_Connection *connection)
>            connection->event_loop_info = MHD_EVENT_LOOP_INFO_WRITE;
>            break;
>          case MHD_CONNECTION_CONTINUE_SENT:
> -          if (connection->read_buffer_offset == connection->read_buffer_size)
> +          if (! connection->suspended &&
> +              (connection->read_buffer_offset == 
> connection->read_buffer_size))
>              {
>                if ((MHD_YES != try_grow_read_buffer (connection)) &&
>                    (0 != (connection->daemon->options &
> 
> Thanks.
> 

Reply via email to