summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-03-20Preliminary experimental support for SPDY draft 2.Valentin Bartenev1-0/+3
2013-03-07Refactored ngx_http_init_request().Valentin Bartenev1-2/+3
Now it can be used as the request object factory with minimal impact on the connection object. Therefore it was renamed to ngx_http_create_request().
2013-03-01Allocate request object from its own pool.Valentin Bartenev1-2/+0
Previously, it was allocated from a connection pool and was selectively freed for an idle keepalive connection. The goal is to put coupled things in one chunk of memory, and to simplify handling of request objects.
2013-02-27SNI: avoid surplus lookup of virtual server if SNI was used.Valentin Bartenev1-0/+7
2013-02-27SSL: do not treat SSL handshake as request.Valentin Bartenev1-2/+2
The request object will not be created until SSL handshake is complete. This simplifies adding another connection handler that does not need request object right after handshake (e.g., SPDY). There are also a few more intentional effects: - the "client_header_buffer_size" directive will be taken from the server configuration that was negotiated by SNI; - SSL handshake errors and timeouts are not logged into access log as bad requests; - ngx_ssl_create_connection() is not called until the first byte of ClientHello message was received. This also decreases memory consumption if plain HTTP request is sent to SSL socket.
2013-02-27SNI: reuse selected configuration for all requests in a connection.Valentin Bartenev1-0/+1
Previously, only the first request in a connection was assigned the configuration selected by SNI. All subsequent requests initially used the default server's configuration, ignoring SNI, which was wrong. Now all subsequent requests in a connection will initially use the configuration selected by SNI. This is done by storing a pointer to configuration in http connection object. It points to default server's configuration initially, but changed upon receipt of SNI. (The request's configuration can be further refined when parsing the request line and Host: header.) This change was not made specific to SNI as it also allows slightly faster access to configuration without the request object.
2013-02-27Introduced the ngx_http_set_connection_log() macro.Valentin Bartenev1-0/+8
No functional changes.
2013-02-27The default server lookup is now done only once per connection.Valentin Bartenev1-13/+4
Previously, it was done for every request in a connection.
2013-02-27Correctly handle multiple X-Forwarded-For headers (ticket #106).Ruslan Ermilov1-1/+1
2013-02-18Proxy: support for connection upgrade (101 Switching Protocols).Maxim Dounin1-0/+5
This allows to proxy WebSockets by using configuration like this: location /chat/ { proxy_pass http://backend; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } Connection upgrade is allowed as long as it was requested by a client via the Upgrade request header.
2012-11-21Request body: chunked transfer encoding support.Maxim Dounin1-1/+4
2012-07-07Entity tags: basic support in not modified filter.Maxim Dounin1-0/+2
This includes handling of ETag headers (if present in a response) with basic support for If-Match, If-None-Match conditionals in not modified filter. Note that the "r->headers_out.last_modified_time == -1" check in the not modified filter is left as is intentionally. It's to prevent handling of If-* headers in case of proxy without cache (much like currently done with If-Modified-Since).
2012-06-21Fixed compile-time conditionals used to detect if X-Forwarded-For supportRuslan Ermilov1-1/+1
is needed.
2012-02-28Raised simultaneous subrequest limit from 50 to 200.Maxim Dounin1-1/+1
It wasn't enforced for a long time, and there are reports that people use up to 100 simultaneous subrequests now. As this is a safety limit to prevent loops, it's raised accordingly.
2012-02-27Added support for the 307 Temporary Redirect.Ruslan Ermilov1-0/+1
2012-02-10Fixed module name in comment. It was forgotten in r4281.Valentin Bartenev1-1/+1
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-11-14Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.Valentin Bartenev1-1/+1
2011-07-30Accept-Encoding refactoring: remove ancient MSIE 4.x test for gzipIgor Sysoev1-1/+0
2011-01-20introduce 494 code "Request Header Too Large"Igor Sysoev1-1/+3
2010-12-14rename NGX_HTTP_OWN_CODES to NGX_HTTP_NGINX_CODESIgor Sysoev1-1/+1
2010-12-06"If-Unmodified-Since" supportIgor Sysoev1-0/+1
2010-06-30remove r->zero_body unused since the previous commitIgor Sysoev1-1/+0
2010-06-18303 See OtherIgor Sysoev1-0/+1
2010-06-15allow spaces in URIIgor Sysoev1-0/+3
2010-06-10PATCH methodIgor Sysoev1-1/+2
2010-06-07202 Accepted status codeIgor Sysoev1-0/+1
2010-05-27fix a try_files/alias case when alias uses captures andIgor Sysoev1-0/+1
try_files .html "" / =404;
2010-05-24remove r->zero_in_uriIgor Sysoev1-4/+1
2010-02-01disable keepalive for Safari:Igor Sysoev1-0/+1
https://bugs.webkit.org/show_bug.cgi?id=5760
2009-11-16regex named capturesIgor Sysoev1-1/+0
2009-11-12r->chromeIgor Sysoev1-0/+1
2009-11-12refactor gzip_vary handlingIgor Sysoev1-1/+6
2009-09-25check unsafe DestinationIgor Sysoev1-0/+1
2009-09-04preload just a single byte to avoid testing file overrunIgor Sysoev1-1/+1
2009-08-30aio sendfileIgor Sysoev1-0/+3
2009-08-30*) ngx_http_ephemeralIgor Sysoev1-8/+20
*) use preallocated terminal_posted_request
2009-08-28FreeBSD and Linux AIO supportIgor Sysoev1-3/+6
2009-08-26request reference counterIgor Sysoev1-0/+1
2009-07-22geo module supports trusted proxiesIgor Sysoev1-1/+1
2009-05-25refactor ngx_http_charset_header_filter()Igor Sysoev1-1/+0
2009-05-22add charset for ngx_http_gzip_static_module responsesIgor Sysoev1-0/+1
2009-05-08handle big responses for "size" and "test" image_filtersIgor Sysoev1-0/+1
2009-04-09backout r2535: virtual names is a property of address:port pair,Igor Sysoev1-0/+2
but is not a property of server configuration
2009-03-23a prelimiary proxy cache supportIgor Sysoev1-0/+5
2009-03-06now regex captures are per-request entitiesIgor Sysoev1-0/+7
2009-02-24move r->virtual_names to ngx_http_core_srv_conf_tIgor Sysoev1-2/+0
2009-02-24axe r->port_textIgor Sysoev1-1/+0
2009-02-23axe r->portIgor Sysoev1-1/+0
2009-02-23axe r->in_addrIgor Sysoev1-1/+0