From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 5A6D3202BB for ; Sat, 23 Mar 2019 08:53:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726056AbfCWIxo (ORCPT ); Sat, 23 Mar 2019 04:53:44 -0400 Received: from cloud.peff.net ([104.130.231.41]:33562 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726026AbfCWIxn (ORCPT ); Sat, 23 Mar 2019 04:53:43 -0400 Received: (qmail 26670 invoked by uid 109); 23 Mar 2019 08:53:43 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Sat, 23 Mar 2019 08:53:43 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 27498 invoked by uid 111); 23 Mar 2019 08:54:06 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.94) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) SMTP; Sat, 23 Mar 2019 04:54:06 -0400 Authentication-Results: peff.net; auth=none Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Sat, 23 Mar 2019 04:53:41 -0400 Date: Sat, 23 Mar 2019 04:53:41 -0400 From: Jeff King To: Eric Wong Cc: Wolfgang Denk , Heinrich Schuchardt , git@vger.kernel.org, Junio C Hamano , Takahiro Akashi Subject: Re: [BUG] Cloning with git HEAD fails for some repositories Message-ID: <20190323085341.GA9002@sigill.intra.peff.net> References: <7e4a2f1d-2b3a-eb83-d3f1-9ac63d68991b@gmx.de> <20190322005107.GL9937@linaro.org> <017964a9-bd75-5e36-0de7-57d4467d6a7e@gmx.de> <20190322071231.GA26114@sigill.intra.peff.net> <20190322082114.BC19924013C@gemini.denx.de> <20190322093132.GA17498@sigill.intra.peff.net> <20190322165034.GA23124@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190322165034.GA23124@dcvr> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Fri, Mar 22, 2019 at 04:50:34PM +0000, Eric Wong wrote: > > Weird. I had set http.maxrequests to "1" to give more readable output > > from GIT_CURL_VERBOSE, etc. It fails with that setting, but not with the > > default of 5. Which certainly seems like a bug, but one that has been > > there for a while (at least since v2.9.x, which I tested). > > I couldn't reproduce an error after porting your patch to > master (commit 041f5ea1cf987a40 "The third batch"): > https://80x24.org/spew/20190322163449.25362-1-e@80x24.org/raw > > So you might've hit an ephemeral error (bad connection, > HTTP server restarting, etc). No, it was quite reproducible. Curious, I decided to bisect. The problem started in ad75ebe5b3 (http: maintain curl sessions, 2009-11-27), but was later fixed by your 2abc848d54 (http: always remove curl easy from curlm session on release, 2016-09-13). So trying to build the fix directly on 17966c0a63d (which is in between those) will run into this unrelated bug. But forward-porting does work. -Peff