comparison src/http/v3/ngx_http_v3.h @ 8829:4f922f611135 quic

HTTP/3: replaced macros with values.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 04 Aug 2021 17:35:11 +0300
parents 054f9be0aaf9
children 72b304f6207c
comparison
equal deleted inserted replaced
8828:a9f6540e61da 8829:4f922f611135
47 #define NGX_HTTP_V3_STREAM_CLIENT_ENCODER 2 47 #define NGX_HTTP_V3_STREAM_CLIENT_ENCODER 2
48 #define NGX_HTTP_V3_STREAM_SERVER_ENCODER 3 48 #define NGX_HTTP_V3_STREAM_SERVER_ENCODER 3
49 #define NGX_HTTP_V3_STREAM_CLIENT_DECODER 4 49 #define NGX_HTTP_V3_STREAM_CLIENT_DECODER 4
50 #define NGX_HTTP_V3_STREAM_SERVER_DECODER 5 50 #define NGX_HTTP_V3_STREAM_SERVER_DECODER 5
51 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6 51 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6
52
53 #define NGX_HTTP_V3_DEFAULT_MAX_TABLE_CAPACITY 16384
54 #define NGX_HTTP_V3_DEFAULT_MAX_BLOCKED_STREAMS 16
55 #define NGX_HTTP_V3_DEFAULT_MAX_CONCURRENT_PUSHES 10
56 #define NGX_HTTP_V3_DEFAULT_MAX_UNI_STREAMS 3
57 52
58 /* HTTP/3 errors */ 53 /* HTTP/3 errors */
59 #define NGX_HTTP_V3_ERR_NO_ERROR 0x100 54 #define NGX_HTTP_V3_ERR_NO_ERROR 0x100
60 #define NGX_HTTP_V3_ERR_GENERAL_PROTOCOL_ERROR 0x101 55 #define NGX_HTTP_V3_ERR_GENERAL_PROTOCOL_ERROR 0x101
61 #define NGX_HTTP_V3_ERR_INTERNAL_ERROR 0x102 56 #define NGX_HTTP_V3_ERR_INTERNAL_ERROR 0x102