{"thread":{"id":"6022","subject":"git.kernel.org disconnects when git-1.3.3 tries to pull changes","startedAt":"2006-10-24T00:03:10Z","lastAt":"2006-10-30T19:53:26Z","messageCount":3,"participants":["Simon Arlott","Junio C Hamano","Jon Loeliger"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"29787","messageId":"453D583E.3010601@simon.arlott.org.uk","threadId":"6022","inReplyTo":null,"subject":"git.kernel.org disconnects when git-1.3.3 tries to pull changes","fromName":"Simon Arlott","fromEmail":"simon@arlott.org","sentAt":"2006-10-24T00:03:10Z","receivedAt":"2006-10-24T00:03:10Z","isPatch":false,"sender":{"key":"simon@arlott.org","avatar":null},"body":"$ git --version\ngit version 1.3.3\n\n$ git pull\nfatal: unexpected EOF\nFetch failure: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n\n[pid 14283] write(3, \"0046git-upload-pack /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\\n\", 70) = 70\n\n$ nc -vv git.kernel.org git\nDNS fwd/rev mismatch: zeus-pub.kernel.org != zeus-pub1.kernel.org\nDNS fwd/rev mismatch: zeus-pub.kernel.org != zeus-pub2.kernel.org\nzeus-pub.kernel.org [204.152.191.5] 9418 (git) open\n0046git-upload-pack /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n sent 70, rcvd 0\n$\n\n<pasky> the difference seems to be just that newer git version sends a host information\n<pasky> anyway, this isn't supposed to happen\n<pasky> could you mail the mailing list, please?\n\n-- \nSimon Arlott\n\n"},{"id":"29794","messageId":"7vbqo2wlpl.fsf@assigned-by-dhcp.cox.net","threadId":"6022","inReplyTo":"453D583E.3010601@simon.arlott.org.uk","subject":"Re: git.kernel.org disconnects when git-1.3.3 tries to pull changes","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-10-24T01:23:34Z","receivedAt":"2006-10-24T01:23:34Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Yes, this is a recent breakage.  Thanks for bringing it up.\n\nWe need at least a fix like this in 'maint'.\n\ndiff --git a/daemon.c b/daemon.c\nindex ad84928..e66bb80 100644\n--- a/daemon.c\n+++ b/daemon.c\n@@ -450,6 +450,8 @@ void fill_in_extra_table_entries(struct \n \t * Replace literal host with lowercase-ized hostname.\n \t */\n \thp = interp_table[INTERP_SLOT_HOST].value;\n+\tif (!hp)\n+\t\treturn;\n \tfor ( ; *hp; hp++)\n \t\t*hp = tolower(*hp);\n \n@@ -544,8 +546,10 @@ #endif\n \t\tloginfo(\"Extended attributes (%d bytes) exist <%.*s>\",\n \t\t\t(int) pktlen - len,\n \t\t\t(int) pktlen - len, line + len + 1);\n-\tif (len && line[len-1] == '\\n')\n+\tif (len && line[len-1] == '\\n') {\n \t\tline[--len] = 0;\n+\t\tpktlen--;\n+\t}\n \n \t/*\n \t * Initialize the path interpolation table for this connection.\n"},{"id":"295853","messageId":"1162238005.18278.33.camel@cashmere.sps.mot.com","threadId":"6022","inReplyTo":"7vbqo2wlpl.fsf@assigned-by-dhcp.cox.net","subject":"Re: git.kernel.org disconnects when git-1.3.3 tries to pull changes","fromName":"Jon Loeliger","fromEmail":"jdl@freescale.com","sentAt":"2006-10-30T19:53:26Z","receivedAt":"2006-10-30T19:53:26Z","isPatch":false,"sender":{"key":"jdl@jdl.com","avatar":"https://gravatar.com/avatar/75ce9a10b151acd2c28ec4ab2136dba7b2ff1634530bd04b155981a749d08a64?d=mp&s=160"},"body":"On Mon, 2006-10-23 at 20:23, Junio C Hamano wrote:\n> Yes, this is a recent breakage.  Thanks for bringing it up.\n> \n> We need at least a fix like this in 'maint'.\n\nOooo...  Sorry.  That looks like my bad.\n\nThanks.\n\njdl\n\n"}]}