From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16448 invoked from network); 10 Feb 2021 07:37:34 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 10 Feb 2021 07:37:34 -0000 Received: from oat.nine.sirjofri.de ([5.45.105.127]) by 1ess; Wed Feb 10 02:31:52 -0500 2021 Received: from sirjofri.de ([178.0.65.31]) by oat; Wed Feb 10 08:31:37 +0100 2021 Date: Wed, 10 Feb 2021 07:31:35 +0000 (UTC) From: sirjofri To: 9front@9front.org Message-ID: <339fdc13-8fbd-46bb-ac4e-69f44a8844b7@sirjofri.de> In-Reply-To: <6B2624687B48229BD4C2C356D0661C68@eigenstate.org> References: <6B2624687B48229BD4C2C356D0661C68@eigenstate.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Correlation-ID: <339fdc13-8fbd-46bb-ac4e-69f44a8844b7@sirjofri.de> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: optimized leveraged ORM session-oriented shader Subject: Re: [9front] mimetype: add entry for .patch extension Reply-To: 9front@9front.org Precedence: bulk 09.02.2021 06:08:56 ori@eigenstate.org: > Quoth Michael Forney : >> This way, upas/vf won't flag .patch files as suspicious by default. >> >> diff [...] > > Seems good, but for most purposes, it also seems > reasonable to just 'rm /mail/lib/validateattachment'; > I don't think it really does anything useful for mail > on plan 9. If you don't think about mail, but http servers: at least rc-httpd uses it to construct content-type headers. It extends this list (which btw doesn't include css and js). I'm not sure about ip/httpd or tcp80. I have some extensions for rc-httpd I did for gridchat-web, that included basic range handling as well as POST. I wanted to prepare a patch. It's on https://github.com/sirjofri/gridchat-web, if someone else wants to do it (it's very easy, but contains one auxiliary native program for range handling. I can try some chain using cat file | {read -c $start >/dev/null; read -c $end} instead and see if it's faster than dd. Sorry for offtopic). sirjofri