comparison src/http/ngx_http_request.h @ 613:c73c5c58c619 release-0.3.28

nginx-0.3.28-RELEASE import *) Feature: the "restrict_host_names" directive was canceled. *) Feature: the --with-cpu-opt=ppc64 configuration parameter. *) Bugfix: on some condition the proxied connection with a client was terminated prematurely. Thanks to Vladimir Shutoff. *) Bugfix: the "X-Accel-Limit-Rate" header line was not taken into account if the request was redirected using the "X-Accel-Redirect" header line. *) Bugfix: the "post_action" directive ran only after a successful completion of a request. *) Bugfix: the proxied response body generated by the "post_action" directive was transferred to a client.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 16 Feb 2006 15:26:46 +0000
parents 9262f520ce21
children 7a16e281c01f
comparison
equal deleted inserted replaced
612:182bfe05e2c3 613:c73c5c58c619
75 * We use the special code for the plain HTTP requests that are sent to 75 * We use the special code for the plain HTTP requests that are sent to
76 * HTTPS port to distinguish it from 4XX in an error page redirection 76 * HTTPS port to distinguish it from 4XX in an error page redirection
77 */ 77 */
78 #define NGX_HTTP_TO_HTTPS 497 78 #define NGX_HTTP_TO_HTTPS 497
79 79
80 /* 80 /* 498 is the canceled code for the requests with invalid host name */
81 * We use the special code for the requests with invalid host name
82 * to distinguish it from 4XX in an error page redirection
83 */
84 #define NGX_HTTP_INVALID_HOST 498
85 81
86 /* 82 /*
87 * HTTP does not define the code for the case when a client closed 83 * HTTP does not define the code for the case when a client closed
88 * the connection while we are processing its request so we introduce 84 * the connection while we are processing its request so we introduce
89 * own code to log such situation when a client has closed the connection 85 * own code to log such situation when a client has closed the connection
102 #define NGX_HTTP_LOWLEVEL_BUFFERED 0x000000f0 98 #define NGX_HTTP_LOWLEVEL_BUFFERED 0x000000f0
103 #define NGX_HTTP_WRITE_BUFFERED 0x00000010 99 #define NGX_HTTP_WRITE_BUFFERED 0x00000010
104 #define NGX_HTTP_GZIP_BUFFERED 0x00000020 100 #define NGX_HTTP_GZIP_BUFFERED 0x00000020
105 #define NGX_HTTP_SSI_BUFFERED 0x00000100 101 #define NGX_HTTP_SSI_BUFFERED 0x00000100
106 #define NGX_HTTP_COPY_BUFFERED 0x00000200 102 #define NGX_HTTP_COPY_BUFFERED 0x00000200
107
108
109 typedef enum {
110 NGX_HTTP_RESTRICT_HOST_OFF = 0,
111 NGX_HTTP_RESTRICT_HOST_ON,
112 NGX_HTTP_RESTRICT_HOST_CLOSE
113 } ngx_http_restrict_host_e;
114 103
115 104
116 typedef enum { 105 typedef enum {
117 NGX_HTTP_INITING_REQUEST_STATE = 0, 106 NGX_HTTP_INITING_REQUEST_STATE = 0,
118 NGX_HTTP_READING_REQUEST_STATE, 107 NGX_HTTP_READING_REQUEST_STATE,