From 909bdd13b9040793d18c30cb96dd0cf336b45f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Sun, 15 Nov 2020 11:36:05 +0100 Subject: [PATCH] Sync status lines 307,308 with nginx This fixes #87 --- src/ngx_http_srcache_util.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ngx_http_srcache_util.c b/src/ngx_http_srcache_util.c index bc8b0aa..d33adc1 100644 --- a/src/ngx_http_srcache_util.c +++ b/src/ngx_http_srcache_util.c @@ -39,12 +39,12 @@ static ngx_str_t ngx_http_status_lines[] = { ngx_string("302 Moved Temporarily"), ngx_string("303 See Other"), ngx_string("304 Not Modified"), + ngx_null_string, /* "305 Use Proxy" */ + ngx_null_string, /* "306 unused" */ + ngx_string("307 Temporary Redirect"), + ngx_string("308 Permanent Redirect"), - /* ngx_null_string, */ /* "305 Use Proxy" */ - /* ngx_null_string, */ /* "306 unused" */ - /* ngx_null_string, */ /* "307 Temporary Redirect" */ - -#define NGX_HTTP_LAST_LEVEL_300 305 +#define NGX_HTTP_LAST_LEVEL_300 309 #define NGX_HTTP_LEVEL_300 (NGX_HTTP_LAST_LEVEL_300 - 301) ngx_string("400 Bad Request"),