From 010875a69aec8d984db600e28539d2f902c74776 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 25 Mar 2025 06:45:58 +0000 Subject: Accept an entity body on PUT and PATCH; elaborate on autochunk Signed-off-by: Laurent Bercot --- doc/tipidee.conf.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/tipidee.conf.html b/doc/tipidee.conf.html index 9906629..f60fa32 100644 --- a/doc/tipidee.conf.html +++ b/doc/tipidee.conf.html @@ -754,6 +754,16 @@ chunks. This is friendlier to browsers, and to the transport security layer. Content-Length. It also does nothing when the client request uses HTTP/1.0, which does not support the use of Transfer-Encoding. +
  • It is recommended to set autochunk for CGI scripts that serve +content that needs to be resistant to truncation attacks. For instance, if you +are serving git repositories via cgit, it is recommended to +autochunk /cgi-bin/cgit.cgi. This will ensure your data can be +served under HTTPS with the full TLS guarantees without sacrificing full duplex +functionality. (If you don't have autochunk, the only way to ensure resistance to +truncation attacks is to use TLS close_notify, e.g. via the -S +option to +s6-tlsserver, +which breaks full duplex, and you don't want that.)
  • The default is not to autochunk content.
  • @@ -769,10 +779,13 @@ client request uses HTTP/1.0, which does not support the use of -

    file-type

    -- cgit v1.3.1