]> git.kaiwu.me - nginx.git/commitdiff
Merged with the default branch.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 15 Jul 2021 13:28:21 +0000 (16:28 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 15 Jul 2021 13:28:21 +0000 (16:28 +0300)
1  2 
src/core/ngx_connection.c
src/event/ngx_event.c
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/http/ngx_http_request.c
src/http/ngx_http_request.h

Simple merge
Simple merge
index 50a9d8ad16a656918931c27a98654ab86555e44b,396cc22b37746b10a5b0b52851ed0416d7da9635..e982c187dec430ad621f8767fe53b4d0f77b6e5e
@@@ -2899,13 -2900,8 +2900,15 @@@ ngx_ssl_shutdown(ngx_connection_t *c
      ngx_err_t   err;
      ngx_uint_t  tries;
  
 +#if (NGX_QUIC)
 +    if (c->quic) {
 +        /* QUIC streams inherit SSL object */
 +        return NGX_OK;
 +    }
 +#endif
 +
+     rc = NGX_OK;
      ngx_ssl_ocsp_cleanup(c);
  
      if (SSL_in_init(c->ssl->connection)) {
Simple merge
Simple merge
index 60ef4fec15bd3f67fb6df0d0830e6ee6b883b3ad,63576274e5daaefd99524aa70b76341caacad5b3..cd6bd66180a2c2decee37232a3ac5efc2e994b44
  #define NGX_HTTP_VERSION_10                1000
  #define NGX_HTTP_VERSION_11                1001
  #define NGX_HTTP_VERSION_20                2000
 +#define NGX_HTTP_VERSION_30                3000
  
- #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_UNKNOWN                   0x00000001
+ #define NGX_HTTP_GET                       0x00000002
+ #define NGX_HTTP_HEAD                      0x00000004
+ #define NGX_HTTP_POST                      0x00000008
+ #define NGX_HTTP_PUT                       0x00000010
+ #define NGX_HTTP_DELETE                    0x00000020
+ #define NGX_HTTP_MKCOL                     0x00000040
+ #define NGX_HTTP_COPY                      0x00000080
+ #define NGX_HTTP_MOVE                      0x00000100
+ #define NGX_HTTP_OPTIONS                   0x00000200
+ #define NGX_HTTP_PROPFIND                  0x00000400
+ #define NGX_HTTP_PROPPATCH                 0x00000800
+ #define NGX_HTTP_LOCK                      0x00001000
+ #define NGX_HTTP_UNLOCK                    0x00002000
+ #define NGX_HTTP_PATCH                     0x00004000
+ #define NGX_HTTP_TRACE                     0x00008000
+ #define NGX_HTTP_CONNECT                   0x00010000
  
  #define NGX_HTTP_CONNECTION_CLOSE          1
  #define NGX_HTTP_CONNECTION_KEEP_ALIVE     2