Welcome! Log In Create A New Profile

Advanced

[PATCH] HTTP: include SSI header only where it's needed

Piotr Sikora
October 24, 2015 07:28PM
# HG changeset patch
# User Piotr Sikora <piotrsikora@google.com>
# Date 1445649693 25200
# Fri Oct 23 18:21:33 2015 -0700
# Node ID 685e87ae457b29e30ca99e1ae039f4a87ccc1b8e
# Parent 903e6a14b17e9140ee88f671f1ba2293c512ab3b
HTTP: include SSI header only where it's needed.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

diff -r 903e6a14b17e -r 685e87ae457b src/http/modules/ngx_http_ssi_filter_module.c
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -8,6 +8,7 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
+#include <ngx_http_ssi_filter_module.h>

#define NGX_HTTP_SSI_ERROR 1

diff -r 903e6a14b17e -r 685e87ae457b src/http/modules/perl/ngx_http_perl_module.h
--- a/src/http/modules/perl/ngx_http_perl_module.h
+++ b/src/http/modules/perl/ngx_http_perl_module.h
@@ -14,6 +14,10 @@
#include <ngx_http.h>
#include <nginx.h>

+#if (NGX_HTTP_SSI)
+#include <ngx_http_ssi_filter_module.h>
+#endif
+
#include <EXTERN.h>
#include <perl.h>

diff -r 903e6a14b17e -r 685e87ae457b src/http/ngx_http.h
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -44,9 +44,6 @@ typedef u_char *(*ngx_http_log_handler_p
#if (NGX_HTTP_CACHE)
#include <ngx_http_cache.h>
#endif
-#if (NGX_HTTP_SSI)
-#include <ngx_http_ssi_filter_module.h>
-#endif
#if (NGX_HTTP_SSL)
#include <ngx_http_ssl_module.h>
#endif

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] HTTP: include SSI header only where it's needed

Piotr Sikora 463 October 24, 2015 07:28PM

Re: [PATCH] HTTP: include SSI header only where it's needed

Maxim Dounin 207 October 26, 2015 12:46PM

Re: [PATCH] HTTP: include SSI header only where it's needed

Piotr Sikora 208 October 26, 2015 05:48PM

Re: [PATCH] HTTP: include SSI header only where it's needed

Maxim Dounin 213 October 26, 2015 10:36PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready