From 4ce4a56e2ab90009a67f57fa00f486022d65c335 Mon Sep 17 00:00:00 2001 From: elij Date: Tue, 18 Jun 2024 13:44:01 -0700 Subject: [PATCH] update man page and changelog --- CHANGELOG.adoc | 2 ++ man/go-camo.1.adoc | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index aad9b74..bae72a3 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -18,6 +18,8 @@ toc::[] :link-proxy-from-env: https://golang.org/pkg/net/http/#ProxyFromEnvironment == HEAD +* Implement optional redirect when max-size is exceeded + + ref: link:https://github.com/cactus/go-camo/pull/80[#80] == v2.4.13 2024-04-22 * Release tagged for arm64 docker building only. diff --git a/man/go-camo.1.adoc b/man/go-camo.1.adoc index 6fe9897..ea648df 100644 --- a/man/go-camo.1.adoc +++ b/man/go-camo.1.adoc @@ -99,6 +99,9 @@ See __<>__ for more info. Max response size allowed in KB. Set to `0` to disable size restriction. + Default: `0` +*--max-size-redirect*=<__URL__>:: + URL to redirect to when max-size is exceeded. + *--timeout*=<__TIME__>:: Timeout value for upstream response. Format is "4s" where s means seconds. + Default: `4s`