git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2 0/2] Accept error packets in any context

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 15, 2019, 01:43 UTC
Message-ID
<20190115014348.GM162110@google.com>
In-Reply-To
<xmqqef9tfikg.fsf@gitster-ct.c.googlers.com>
Hi,
Junio C Hamano wrote:
> Masaya Suzuki <masayasuzuki@google.com> writes:
>> This makes it possible for servers to send an error message back to clients in
>> an arbitrary situation.
Yay!  Yes, this should simplify server implementations and user support.
[...]
Show 6 quoted lines
> In short, are you shooting js/smart-http-detect-remote-error topic
> down and replacing it with this one?
>
> As that topic is not yet in 'next', I am perfectly fine doing that.
> I just want to make sure that is what you meant, as my reading of
> [4] was a bit fuzzy.
Josh, looking at that branch, I see:
 remote-curl: die on server-side errors
	Includes a test illustrating error handling in the ref
	advertisement.  Should that be revived as a standalone patch,
	without the remote-curl.c change?
 remote-curl: tighten "version 2" check for smart-http
	A bug fix.  We had an analogous bug in the .googlesource.com
	servers and it was problematic when experimenting with
	protocol changes using placeholder version numbers YYYYmmdd
	(since that starts with a "2").
 remote-curl: refactor smart-http discovery
	A nice cleanup.

Thanks, Jonathan

Previous: Masaya SuzukiNext: Jonathan Nieder
Message 11 of 13 in “Accept error packets in any context”
  1. 0/2 Accept error packets in any contextMasaya Suzuki, Dec 29, 2018
  2. 1/2 Use packet_reader instead of packet_read_lineMasaya Suzuki, Dec 29, 2018
  3. Jonathan TanJan 7, 2019
  4. Josh SteadmonJan 7, 2019
  5. Masaya SuzukiJan 8, 2019
  6. 2/2 pack-protocol.txt: accept error packets in any contextMasaya Suzuki, Dec 29, 2018
  7. Jonathan TanJan 7, 2019
  8. Josh SteadmonJan 7, 2019
  9. Junio C HamanoJan 3, 2019
  10. Masaya SuzukiJan 4, 2019
  11. Jonathan NiederJan 15, 2019
  12. Jonathan NiederJan 15, 2019
  13. Junio C HamanoJan 15, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.