[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: error: git-remote-https died of signal 13
From: Greg M <morenzg () gmail ! com>
Date: 2014-04-24 12:11:39
Message-ID: CAEHyFQJs2_hMU70ibSe8_k98M6bXrfFWTiHBKcu-473uNhWivQ () mail ! gmail ! com
[Download RAW message or body]
On Thu, Apr 24, 2014 at 12:15 AM, Jeff King <peff@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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic