Truncated patch

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

Truncated patch

From: David Newall <hidden>
Date: 2016-06-15 23:01:12

The patch returned by http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=462fb2af9788a82a534f8184abfde31574e1cfa0 is truncated.  The page which refers to that patch, at http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=462fb2af9788a82a534f8184abfde31574e1cfa0, shows the full patch.

I am not subscribed to this list so please CC me in discussion.

Re: Truncated patch

From: Jeff King <hidden>
Date: 2016-06-15 23:01:12

On Fri, May 16, 2014 at 06:04:57PM +0930, David Newall wrote:
The patch returned by http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=462fb2af9788a82a534f8184abfde31574e1cfa0
is truncated.  The page which refers to that patch, at http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=462fb2af9788a82a534f8184abfde31574e1cfa0,
shows the full patch.
Weird. It is truncated if I fetch it with "curl", but it looks fine in
my browser. It's truncated at exactly 4K, and the transfer-encoding is
chunked. Maybe cgit (or kernel.org's webserver) is doing something
non-standard with chunking that the browser understands but curl does
not?

-Peff

Re: Truncated patch

From: Jeff King <hidden>
Date: 2016-06-15 23:01:12

On Fri, May 16, 2014 at 04:51:16AM -0400, Jeff King wrote:
On Fri, May 16, 2014 at 06:04:57PM +0930, David Newall wrote:
quoted
The patch returned by http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=462fb2af9788a82a534f8184abfde31574e1cfa0
is truncated.  The page which refers to that patch, at http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=462fb2af9788a82a534f8184abfde31574e1cfa0,
shows the full patch.
Weird. It is truncated if I fetch it with "curl", but it looks fine in
my browser. It's truncated at exactly 4K, and the transfer-encoding is
chunked. Maybe cgit (or kernel.org's webserver) is doing something
non-standard with chunking that the browser understands but curl does
not?
I take it back. Now it is screwed up in my browser, too. Perhaps related
to hitting different kernel.org servers (though all three IPs now give
me the truncated output).

Looking at the raw protocol, the chunked encoding is fine; it literally
just quits after 4K, and sends the 0-byte "all done" chunk. So I'm
guessing it's either a bug in cgit, or a temporary error that
erroneously ended up cached (I don't know enough about cgit's or
kernel.org's caching infrastructure to say more).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help