Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861209 - www-apps/cgit: Truncated output
Summary: www-apps/cgit: Truncated output
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
Keywords: PATCH
Depends on:
Reported: 2022-07-26 10:09 UTC by Marcin Deranek
Modified: 2022-11-14 10:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

sendfile patch (sendfile.patch,1.55 KB, patch)
2022-07-26 10:10 UTC, Marcin Deranek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Deranek 2022-07-26 10:09:22 UTC
Problem is well described at
Effectively cgit output for bigger files is truncated at ~65kB. Applying attached patch (see link) addresses the issue. 

Reproducible: Always

Steps to Reproduce:
1. Configure cgit and add a bigger file to the repository (35kB+ in my case)
2. Try to display content of that file using cgit
Actual Results:  
Webpage gets truncated

Expected Results:  
Full webpage gets displayed
Comment 1 Marcin Deranek 2022-07-26 10:10:50 UTC
Created attachment 794549 [details, diff]
sendfile patch
Comment 2 steffen_brauer 2022-11-14 10:06:28 UTC
Please, can this patch finally be applied in the official ebuild?