Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: error: git-remote-https died of signal 13

From: Greg M <hidden>
Date: 2016-06-15 23:00:49

On Thu, Apr 24, 2014 at 12:15 AM, Jeff King [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help