From mboxrd@z Thu Jan 1 00:00:00 1970 From: vz-cgit at zeitlins.org (Vadim Zeitlin) Date: Thu, 29 Sep 2016 16:38:41 +0200 Subject: SIGPIPE from syntax highlighting filter if highlight is not available Message-ID: Hello, As this is the first time I'm posting here, let me start by thanking you for developing cgit! I'm using it since quite some time under Debian (currently Jessie) and it works very well but recently I've mistakenly removed highlight package because I thought it was redundant with other similar tools and completely forgot that cgit depended on it. Since then, viewing any files in cgit didn't work, which was probably only to be expected, but viewing sufficiently large files resulted in 500 server error due to, after debugging, SIGPIPE received but not handled by cgit when reading from the filter subprocess. I'm not sure what exactly should be done here: maybe nothing, and people should be just more careful with uninstalling dependencies. But I think ideally cgit should give an error indicating that filter execution failed and I'd at least expect it not to just die without any further information. Thanks again for cgit! VZ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available URL: