{"thread":{"id":"36674","subject":"Truncated patch","startedAt":"2014-05-16T08:34:57Z","lastAt":"2014-05-16T09:24:58Z","messageCount":3,"participants":["David Newall","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"241861","messageId":"5375CDB1.6040001@davidnewall.com","threadId":"36674","inReplyTo":null,"subject":"Truncated patch","fromName":"David Newall","fromEmail":"davidn@davidnewall.com","sentAt":"2014-05-16T08:34:57Z","receivedAt":"2014-05-16T08:34:57Z","isPatch":false,"sender":{"key":"davidn@davidnewall.com","avatar":null},"body":"The patch returned by \nhttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=462fb2af9788a82a534f8184abfde31574e1cfa0 \nis truncated.  The page which refers to that patch, at \nhttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=462fb2af9788a82a534f8184abfde31574e1cfa0, \nshows the full patch.\n\nI am not subscribed to this list so please CC me in discussion.\n"},{"id":"241863","messageId":"20140516085116.GC21468@sigill.intra.peff.net","threadId":"36674","inReplyTo":"5375CDB1.6040001@davidnewall.com","subject":"Re: Truncated patch","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-05-16T08:51:16Z","receivedAt":"2014-05-16T08:51:16Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, May 16, 2014 at 06:04:57PM +0930, David Newall wrote:\n\n> The patch returned by http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=462fb2af9788a82a534f8184abfde31574e1cfa0\n> is truncated.  The page which refers to that patch, at http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=462fb2af9788a82a534f8184abfde31574e1cfa0,\n> shows the full patch.\n\nWeird. It is truncated if I fetch it with \"curl\", but it looks fine in\nmy browser. It's truncated at exactly 4K, and the transfer-encoding is\nchunked. Maybe cgit (or kernel.org's webserver) is doing something\nnon-standard with chunking that the browser understands but curl does\nnot?\n\n-Peff\n"},{"id":"241869","messageId":"20140516092458.GD21468@sigill.intra.peff.net","threadId":"36674","inReplyTo":"20140516085116.GC21468@sigill.intra.peff.net","subject":"Re: Truncated patch","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-05-16T09:24:58Z","receivedAt":"2014-05-16T09:24:58Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, May 16, 2014 at 04:51:16AM -0400, Jeff King wrote:\n\n> On Fri, May 16, 2014 at 06:04:57PM +0930, David Newall wrote:\n> \n> > The patch returned by http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=462fb2af9788a82a534f8184abfde31574e1cfa0\n> > is truncated.  The page which refers to that patch, at http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=462fb2af9788a82a534f8184abfde31574e1cfa0,\n> > shows the full patch.\n> \n> Weird. It is truncated if I fetch it with \"curl\", but it looks fine in\n> my browser. It's truncated at exactly 4K, and the transfer-encoding is\n> chunked. Maybe cgit (or kernel.org's webserver) is doing something\n> non-standard with chunking that the browser understands but curl does\n> not?\n\nI take it back. Now it is screwed up in my browser, too. Perhaps related\nto hitting different kernel.org servers (though all three IPs now give\nme the truncated output).\n\nLooking at the raw protocol, the chunked encoding is fine; it literally\njust quits after 4K, and sends the 0-byte \"all done\" chunk. So I'm\nguessing it's either a bug in cgit, or a temporary error that\nerroneously ended up cached (I don't know enough about cgit's or\nkernel.org's caching infrastructure to say more).\n\n-Peff\n"}]}