Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 861209

Summary: www-apps/cgit: Truncated output
Product: Gentoo Linux Reporter: Marcin Deranek <marcin.deranek>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: UNCONFIRMED ---    
Severity: normal CC: marcin.deranek, web-apps
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: sendfile patch

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?