Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Enumerations | Variables
ngx_http_request.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ngx_http_header_t
struct  ngx_http_header_out_t
struct  ngx_http_headers_in_t
struct  ngx_http_headers_out_t
struct  ngx_http_request_body_t
struct  ngx_http_connection_t
struct  ngx_http_cleanup_s
struct  ngx_http_post_subrequest_t
struct  ngx_http_postponed_request_s
struct  ngx_http_posted_request_s
struct  ngx_http_request_s
struct  ngx_http_ephemeral_t

Macros

#define NGX_HTTP_MAX_URI_CHANGES   10
#define NGX_HTTP_MAX_SUBREQUESTS   200
#define NGX_HTTP_LC_HEADER_LEN   32
#define NGX_HTTP_DISCARD_BUFFER_SIZE   4096
#define NGX_HTTP_LINGERING_BUFFER_SIZE   4096
#define NGX_HTTP_VERSION_9   9
#define NGX_HTTP_VERSION_10   1000
#define NGX_HTTP_VERSION_11   1001
#define NGX_HTTP_UNKNOWN   0x0001
#define NGX_HTTP_GET   0x0002
#define NGX_HTTP_HEAD   0x0004
#define NGX_HTTP_POST   0x0008
#define NGX_HTTP_PUT   0x0010
#define NGX_HTTP_DELETE   0x0020
#define NGX_HTTP_MKCOL   0x0040
#define NGX_HTTP_COPY   0x0080
#define NGX_HTTP_MOVE   0x0100
#define NGX_HTTP_OPTIONS   0x0200
#define NGX_HTTP_PROPFIND   0x0400
#define NGX_HTTP_PROPPATCH   0x0800
#define NGX_HTTP_LOCK   0x1000
#define NGX_HTTP_UNLOCK   0x2000
#define NGX_HTTP_PATCH   0x4000
#define NGX_HTTP_TRACE   0x8000
#define NGX_HTTP_CONNECTION_CLOSE   1
#define NGX_HTTP_CONNECTION_KEEP_ALIVE   2
#define NGX_NONE   1
#define NGX_HTTP_PARSE_HEADER_DONE   1
#define NGX_HTTP_CLIENT_ERROR   10
#define NGX_HTTP_PARSE_INVALID_METHOD   10
#define NGX_HTTP_PARSE_INVALID_REQUEST   11
#define NGX_HTTP_PARSE_INVALID_09_METHOD   12
#define NGX_HTTP_PARSE_INVALID_HEADER   13
#define NGX_HTTP_SUBREQUEST_IN_MEMORY   2
#define NGX_HTTP_SUBREQUEST_WAITED   4
#define NGX_HTTP_LOG_UNSAFE   8
#define NGX_HTTP_CONTINUE   100
#define NGX_HTTP_SWITCHING_PROTOCOLS   101
#define NGX_HTTP_PROCESSING   102
#define NGX_HTTP_OK   200
#define NGX_HTTP_CREATED   201
#define NGX_HTTP_ACCEPTED   202
#define NGX_HTTP_NO_CONTENT   204
#define NGX_HTTP_PARTIAL_CONTENT   206
#define NGX_HTTP_SPECIAL_RESPONSE   300
#define NGX_HTTP_MOVED_PERMANENTLY   301
#define NGX_HTTP_MOVED_TEMPORARILY   302
#define NGX_HTTP_SEE_OTHER   303
#define NGX_HTTP_NOT_MODIFIED   304
#define NGX_HTTP_TEMPORARY_REDIRECT   307
#define NGX_HTTP_BAD_REQUEST   400
#define NGX_HTTP_UNAUTHORIZED   401
#define NGX_HTTP_FORBIDDEN   403
#define NGX_HTTP_NOT_FOUND   404
#define NGX_HTTP_NOT_ALLOWED   405
#define NGX_HTTP_REQUEST_TIME_OUT   408
#define NGX_HTTP_CONFLICT   409
#define NGX_HTTP_LENGTH_REQUIRED   411
#define NGX_HTTP_PRECONDITION_FAILED   412
#define NGX_HTTP_REQUEST_ENTITY_TOO_LARGE   413
#define NGX_HTTP_REQUEST_URI_TOO_LARGE   414
#define NGX_HTTP_UNSUPPORTED_MEDIA_TYPE   415
#define NGX_HTTP_RANGE_NOT_SATISFIABLE   416
#define NGX_HTTP_CLOSE   444
#define NGX_HTTP_NGINX_CODES   494
#define NGX_HTTP_REQUEST_HEADER_TOO_LARGE   494
#define NGX_HTTPS_CERT_ERROR   495
#define NGX_HTTPS_NO_CERT   496
#define NGX_HTTP_TO_HTTPS   497
#define NGX_HTTP_CLIENT_CLOSED_REQUEST   499
#define NGX_HTTP_INTERNAL_SERVER_ERROR   500
#define NGX_HTTP_NOT_IMPLEMENTED   501
#define NGX_HTTP_BAD_GATEWAY   502
#define NGX_HTTP_SERVICE_UNAVAILABLE   503
#define NGX_HTTP_GATEWAY_TIME_OUT   504
#define NGX_HTTP_INSUFFICIENT_STORAGE   507
#define NGX_HTTP_LOWLEVEL_BUFFERED   0xf0
#define NGX_HTTP_WRITE_BUFFERED   0x10
#define NGX_HTTP_GZIP_BUFFERED   0x20
#define NGX_HTTP_SSI_BUFFERED   0x01
#define NGX_HTTP_SUB_BUFFERED   0x02
#define NGX_HTTP_COPY_BUFFERED   0x04
#define ngx_http_set_connection_log(c, l)

Typedefs

typedef void(* ngx_http_client_body_handler_pt )(ngx_http_request_t *r)
typedef struct ngx_http_addr_conf_s ngx_http_addr_conf_t
typedef void(* ngx_http_cleanup_pt )(void *data)
typedef struct ngx_http_cleanup_s ngx_http_cleanup_t
typedef ngx_int_t(* ngx_http_post_subrequest_pt )(ngx_http_request_t *r, void *data, ngx_int_t rc)
typedef struct
ngx_http_postponed_request_s 
ngx_http_postponed_request_t
typedef struct
ngx_http_posted_request_s 
ngx_http_posted_request_t
typedef ngx_int_t(* ngx_http_handler_pt )(ngx_http_request_t *r)
typedef void(* ngx_http_event_handler_pt )(ngx_http_request_t *r)

Enumerations

enum  ngx_http_state_e {
  NGX_HTTP_INITING_REQUEST_STATE = 0, NGX_HTTP_READING_REQUEST_STATE, NGX_HTTP_PROCESS_REQUEST_STATE, NGX_HTTP_CONNECT_UPSTREAM_STATE,
  NGX_HTTP_WRITING_UPSTREAM_STATE, NGX_HTTP_READING_UPSTREAM_STATE, NGX_HTTP_WRITING_REQUEST_STATE, NGX_HTTP_LINGERING_CLOSE_STATE,
  NGX_HTTP_KEEPALIVE_STATE
}

Variables

ngx_http_header_t ngx_http_headers_in []
ngx_http_header_out_t ngx_http_headers_out []

Macro Definition Documentation

#define NGX_HTTP_ACCEPTED   202

Definition at line 73 of file ngx_http_request.h.

#define NGX_HTTP_BAD_GATEWAY   502

Definition at line 130 of file ngx_http_request.h.

#define NGX_HTTP_BAD_REQUEST   400

Definition at line 84 of file ngx_http_request.h.

#define NGX_HTTP_CLIENT_CLOSED_REQUEST   499

Definition at line 125 of file ngx_http_request.h.

#define NGX_HTTP_CLIENT_ERROR   10

Definition at line 53 of file ngx_http_request.h.

#define NGX_HTTP_CLOSE   444

Definition at line 102 of file ngx_http_request.h.

#define NGX_HTTP_CONFLICT   409

Definition at line 90 of file ngx_http_request.h.

#define NGX_HTTP_CONNECTION_CLOSE   1

Definition at line 44 of file ngx_http_request.h.

#define NGX_HTTP_CONNECTION_KEEP_ALIVE   2

Definition at line 45 of file ngx_http_request.h.

#define NGX_HTTP_CONTINUE   100

Definition at line 67 of file ngx_http_request.h.

#define NGX_HTTP_COPY   0x0080

Definition at line 34 of file ngx_http_request.h.

#define NGX_HTTP_COPY_BUFFERED   0x04

Definition at line 141 of file ngx_http_request.h.

#define NGX_HTTP_CREATED   201

Definition at line 72 of file ngx_http_request.h.

#define NGX_HTTP_DELETE   0x0020

Definition at line 32 of file ngx_http_request.h.

#define NGX_HTTP_DISCARD_BUFFER_SIZE   4096

Definition at line 19 of file ngx_http_request.h.

#define NGX_HTTP_FORBIDDEN   403

Definition at line 86 of file ngx_http_request.h.

#define NGX_HTTP_GATEWAY_TIME_OUT   504

Definition at line 132 of file ngx_http_request.h.

#define NGX_HTTP_GET   0x0002

Definition at line 28 of file ngx_http_request.h.

#define NGX_HTTP_GZIP_BUFFERED   0x20

Definition at line 138 of file ngx_http_request.h.

#define NGX_HTTP_HEAD   0x0004

Definition at line 29 of file ngx_http_request.h.

#define NGX_HTTP_INSUFFICIENT_STORAGE   507

Definition at line 133 of file ngx_http_request.h.

#define NGX_HTTP_INTERNAL_SERVER_ERROR   500

Definition at line 128 of file ngx_http_request.h.

#define NGX_HTTP_LC_HEADER_LEN   32

Definition at line 16 of file ngx_http_request.h.

#define NGX_HTTP_LENGTH_REQUIRED   411

Definition at line 91 of file ngx_http_request.h.

#define NGX_HTTP_LINGERING_BUFFER_SIZE   4096

Definition at line 20 of file ngx_http_request.h.

#define NGX_HTTP_LOCK   0x1000

Definition at line 39 of file ngx_http_request.h.

#define NGX_HTTP_LOG_UNSAFE   8

Definition at line 64 of file ngx_http_request.h.

#define NGX_HTTP_LOWLEVEL_BUFFERED   0xf0

Definition at line 136 of file ngx_http_request.h.

#define NGX_HTTP_MAX_SUBREQUESTS   200

Definition at line 13 of file ngx_http_request.h.

#define NGX_HTTP_MAX_URI_CHANGES   10

Definition at line 12 of file ngx_http_request.h.

#define NGX_HTTP_MKCOL   0x0040

Definition at line 33 of file ngx_http_request.h.

#define NGX_HTTP_MOVE   0x0100

Definition at line 35 of file ngx_http_request.h.

#define NGX_HTTP_MOVED_PERMANENTLY   301

Definition at line 78 of file ngx_http_request.h.

#define NGX_HTTP_MOVED_TEMPORARILY   302

Definition at line 79 of file ngx_http_request.h.

#define NGX_HTTP_NGINX_CODES   494

Definition at line 104 of file ngx_http_request.h.

#define NGX_HTTP_NO_CONTENT   204

Definition at line 74 of file ngx_http_request.h.

#define NGX_HTTP_NOT_ALLOWED   405

Definition at line 88 of file ngx_http_request.h.

#define NGX_HTTP_NOT_FOUND   404

Definition at line 87 of file ngx_http_request.h.

#define NGX_HTTP_NOT_IMPLEMENTED   501

Definition at line 129 of file ngx_http_request.h.

#define NGX_HTTP_NOT_MODIFIED   304

Definition at line 81 of file ngx_http_request.h.

#define NGX_HTTP_OK   200

Definition at line 71 of file ngx_http_request.h.

#define NGX_HTTP_OPTIONS   0x0200

Definition at line 36 of file ngx_http_request.h.

#define NGX_HTTP_PARSE_HEADER_DONE   1

Definition at line 51 of file ngx_http_request.h.

#define NGX_HTTP_PARSE_INVALID_09_METHOD   12

Definition at line 56 of file ngx_http_request.h.

#define NGX_HTTP_PARSE_INVALID_HEADER   13

Definition at line 58 of file ngx_http_request.h.

#define NGX_HTTP_PARSE_INVALID_METHOD   10

Definition at line 54 of file ngx_http_request.h.

#define NGX_HTTP_PARSE_INVALID_REQUEST   11

Definition at line 55 of file ngx_http_request.h.

#define NGX_HTTP_PARTIAL_CONTENT   206

Definition at line 75 of file ngx_http_request.h.

#define NGX_HTTP_PATCH   0x4000

Definition at line 41 of file ngx_http_request.h.

#define NGX_HTTP_POST   0x0008

Definition at line 30 of file ngx_http_request.h.

#define NGX_HTTP_PRECONDITION_FAILED   412

Definition at line 92 of file ngx_http_request.h.

#define NGX_HTTP_PROCESSING   102

Definition at line 69 of file ngx_http_request.h.

#define NGX_HTTP_PROPFIND   0x0400

Definition at line 37 of file ngx_http_request.h.

#define NGX_HTTP_PROPPATCH   0x0800

Definition at line 38 of file ngx_http_request.h.

#define NGX_HTTP_PUT   0x0010

Definition at line 31 of file ngx_http_request.h.

#define NGX_HTTP_RANGE_NOT_SATISFIABLE   416

Definition at line 96 of file ngx_http_request.h.

#define NGX_HTTP_REQUEST_ENTITY_TOO_LARGE   413

Definition at line 93 of file ngx_http_request.h.

#define NGX_HTTP_REQUEST_HEADER_TOO_LARGE   494

Definition at line 106 of file ngx_http_request.h.

#define NGX_HTTP_REQUEST_TIME_OUT   408

Definition at line 89 of file ngx_http_request.h.

#define NGX_HTTP_REQUEST_URI_TOO_LARGE   414

Definition at line 94 of file ngx_http_request.h.

#define NGX_HTTP_SEE_OTHER   303

Definition at line 80 of file ngx_http_request.h.

#define NGX_HTTP_SERVICE_UNAVAILABLE   503

Definition at line 131 of file ngx_http_request.h.

#define ngx_http_set_connection_log (   c,
 
)
Value:
\
c->log->file = l->file; \
if (!(c->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { \
c->log->log_level = l->log_level; \
}

Definition at line 584 of file ngx_http_request.h.

#define NGX_HTTP_SPECIAL_RESPONSE   300

Definition at line 77 of file ngx_http_request.h.

#define NGX_HTTP_SSI_BUFFERED   0x01

Definition at line 139 of file ngx_http_request.h.

#define NGX_HTTP_SUB_BUFFERED   0x02

Definition at line 140 of file ngx_http_request.h.

#define NGX_HTTP_SUBREQUEST_IN_MEMORY   2

Definition at line 62 of file ngx_http_request.h.

#define NGX_HTTP_SUBREQUEST_WAITED   4

Definition at line 63 of file ngx_http_request.h.

#define NGX_HTTP_SWITCHING_PROTOCOLS   101

Definition at line 68 of file ngx_http_request.h.

#define NGX_HTTP_TEMPORARY_REDIRECT   307

Definition at line 82 of file ngx_http_request.h.

#define NGX_HTTP_TO_HTTPS   497

Definition at line 115 of file ngx_http_request.h.

#define NGX_HTTP_TRACE   0x8000

Definition at line 42 of file ngx_http_request.h.

#define NGX_HTTP_UNAUTHORIZED   401

Definition at line 85 of file ngx_http_request.h.

#define NGX_HTTP_UNKNOWN   0x0001

Definition at line 27 of file ngx_http_request.h.

#define NGX_HTTP_UNLOCK   0x2000

Definition at line 40 of file ngx_http_request.h.

#define NGX_HTTP_UNSUPPORTED_MEDIA_TYPE   415

Definition at line 95 of file ngx_http_request.h.

#define NGX_HTTP_VERSION_10   1000

Definition at line 24 of file ngx_http_request.h.

#define NGX_HTTP_VERSION_11   1001

Definition at line 25 of file ngx_http_request.h.

#define NGX_HTTP_VERSION_9   9

Definition at line 23 of file ngx_http_request.h.

#define NGX_HTTP_WRITE_BUFFERED   0x10

Definition at line 137 of file ngx_http_request.h.

#define NGX_HTTPS_CERT_ERROR   495

Definition at line 108 of file ngx_http_request.h.

#define NGX_HTTPS_NO_CERT   496

Definition at line 109 of file ngx_http_request.h.

#define NGX_NONE   1

Definition at line 48 of file ngx_http_request.h.

Typedef Documentation

Definition at line 292 of file ngx_http_request.h.

typedef void(* ngx_http_cleanup_pt)(void *data)

Definition at line 317 of file ngx_http_request.h.

Definition at line 319 of file ngx_http_request.h.

typedef void(* ngx_http_client_body_handler_pt)(ngx_http_request_t *r)

Definition at line 278 of file ngx_http_request.h.

typedef void(* ngx_http_event_handler_pt)(ngx_http_request_t *r)

Definition at line 355 of file ngx_http_request.h.

typedef ngx_int_t(* ngx_http_handler_pt)(ngx_http_request_t *r)

Definition at line 354 of file ngx_http_request.h.

typedef ngx_int_t(* ngx_http_post_subrequest_pt)(ngx_http_request_t *r, void *data, ngx_int_t rc)

Definition at line 328 of file ngx_http_request.h.

Definition at line 346 of file ngx_http_request.h.

Definition at line 337 of file ngx_http_request.h.

Enumeration Type Documentation

Enumerator:
NGX_HTTP_INITING_REQUEST_STATE 
NGX_HTTP_READING_REQUEST_STATE 
NGX_HTTP_PROCESS_REQUEST_STATE 
NGX_HTTP_CONNECT_UPSTREAM_STATE 
NGX_HTTP_WRITING_UPSTREAM_STATE 
NGX_HTTP_READING_UPSTREAM_STATE 
NGX_HTTP_WRITING_REQUEST_STATE 
NGX_HTTP_LINGERING_CLOSE_STATE 
NGX_HTTP_KEEPALIVE_STATE 

Definition at line 144 of file ngx_http_request.h.

Variable Documentation

ngx_http_header_t ngx_http_headers_in[]

Definition at line 80 of file ngx_http_request.c.

ngx_http_header_out_t ngx_http_headers_out[]

Definition at line 132 of file ngx_http_header_filter_module.c.