On Thu, Apr 24, 2014 at 12:15 AM, Jeff King <p...@peff.net> wrote:
> I suspect the curl patch below may fix it:
>
> diff --git a/lib/multi.c b/lib/multi.c
> index bc93264..72e4825 100644
> --- a/lib/multi.c
> +++ b/lib/multi.c
> @@ -1804,10 +1804,13 @@ static void close_all_connections(struct Curl_multi 
> *multi)
>
>    conn = Curl_conncache_find_first_connection(multi->conn_cache);
>    while(conn) {
> +    SIGPIPE_VARIABLE(pipe_st);
>      conn->data = multi->closure_handle;
>
> +    sigpipe_ignore(conn->data, &pipe_st);
>      /* This will remove the connection from the cache */
>      (void)Curl_disconnect(conn, FALSE);
> +    sigpipe_restore(&pipe_st);
>
>      conn = Curl_conncache_find_first_connection(multi->conn_cache);
>    }

The patch fixes the problem,

Greg
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to