Welcome! Log In Create A New Profile

Advanced

[nginx] Style: moved ngx_http_ephemeral() macro to ngx_http_requ...

Ruslan Ermilov
March 05, 2015 01:18AM
details: http://hg.nginx.org/nginx/rev/f8ee988cfe6d
branches:
changeset: 6002:f8ee988cfe6d
user: Ruslan Ermilov <ru@nginx.com>
date: Wed Mar 04 08:10:40 2015 +0300
description:
Style: moved ngx_http_ephemeral() macro to ngx_http_request.h.

diffstat:

src/http/ngx_http.h | 3 ---
src/http/ngx_http_request.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r add12ee1d01c -r f8ee988cfe6d src/http/ngx_http.h
--- a/src/http/ngx_http.h Wed Mar 04 08:05:38 2015 +0300
+++ b/src/http/ngx_http.h Wed Mar 04 08:10:40 2015 +0300
@@ -131,9 +131,6 @@ void ngx_http_empty_handler(ngx_event_t
void ngx_http_request_empty_handler(ngx_http_request_t *r);


-#define ngx_http_ephemeral(r) (void *) (&r->uri_start)
-
-
#define NGX_HTTP_LAST 1
#define NGX_HTTP_FLUSH 2

diff -r add12ee1d01c -r f8ee988cfe6d src/http/ngx_http_request.h
--- a/src/http/ngx_http_request.h Wed Mar 04 08:05:38 2015 +0300
+++ b/src/http/ngx_http_request.h Wed Mar 04 08:10:40 2015 +0300
@@ -577,6 +577,9 @@ typedef struct {
} ngx_http_ephemeral_t;


+#define ngx_http_ephemeral(r) (void *) (&r->uri_start)
+
+
extern ngx_http_header_t ngx_http_headers_in[];
extern ngx_http_header_out_t ngx_http_headers_out[];


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

[nginx] Style: moved ngx_http_ephemeral() macro to ngx_http_requ...

Ruslan Ermilov 480 March 05, 2015 01:18AM



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

Online Users

Guests: 268
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