]> Sergey Matveev's repositories - public-inbox.git/commit
viewvcs: support streaming large blobs
authorEric Wong <e@80x24.org>
Thu, 31 Jan 2019 04:10:29 +0000 (04:10 +0000)
committerEric Wong <e@80x24.org>
Thu, 31 Jan 2019 04:10:29 +0000 (04:10 +0000)
commit658ca41d321d10acf098c43291577e1fd1fae479
tree3f51181b5469fb812a7f50d0a8a4a418e8a0a83e
parent1664112a5d2db906bdb89e4a64b02155183eda05
viewvcs: support streaming large blobs

Forking off git-cat-file here for streaming large blobs is
reasonably efficient, at least no worse than using
git-http-backend for serving clones.  So let our limiter
framework deal with it.

git itself isn't great for large files, and AFAIK there's no
stable/widely-available mechanisms for reading smaller chunks
of giant blobs in git itself.

Tested with some giant GPU headers in the Linux kernel.
lib/PublicInbox/ViewVCS.pm