Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3.h @ 7954:1ed698947172 quic
HTTP/3: error code definitions for HTTP/3 and QPACK.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 30 Jun 2020 12:30:57 +0300 |
parents | c9538aef3211 |
children | 72f9ff4e0a88 |
comparison
equal
deleted
inserted
replaced
7953:e0f92f68e018 | 7954:1ed698947172 |
---|---|
48 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6 | 48 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6 |
49 | 49 |
50 #define NGX_HTTP_V3_DEFAULT_MAX_FIELD_SIZE 4096 | 50 #define NGX_HTTP_V3_DEFAULT_MAX_FIELD_SIZE 4096 |
51 #define NGX_HTTP_V3_DEFAULT_MAX_TABLE_CAPACITY 16384 | 51 #define NGX_HTTP_V3_DEFAULT_MAX_TABLE_CAPACITY 16384 |
52 #define NGX_HTTP_V3_DEFAULT_MAX_BLOCKED_STREAMS 16 | 52 #define NGX_HTTP_V3_DEFAULT_MAX_BLOCKED_STREAMS 16 |
53 | |
54 /* HTTP/3 errors */ | |
55 #define NGX_HTTP_V3_ERR_NO_ERROR 0x100 | |
56 #define NGX_HTTP_V3_ERR_GENERAL_PROTOCOL_ERROR 0x101 | |
57 #define NGX_HTTP_V3_ERR_INTERNAL_ERROR 0x102 | |
58 #define NGX_HTTP_V3_ERR_STREAM_CREATION_ERROR 0x103 | |
59 #define NGX_HTTP_V3_ERR_CLOSED_CRITICAL_STREAM 0x104 | |
60 #define NGX_HTTP_V3_ERR_FRAME_UNEXPECTED 0x105 | |
61 #define NGX_HTTP_V3_ERR_FRAME_ERROR 0x106 | |
62 #define NGX_HTTP_V3_ERR_EXCESSIVE_LOAD 0x107 | |
63 #define NGX_HTTP_V3_ERR_ID_ERROR 0x108 | |
64 #define NGX_HTTP_V3_ERR_SETTINGS_ERROR 0x109 | |
65 #define NGX_HTTP_V3_ERR_MISSING_SETTINGS 0x10a | |
66 #define NGX_HTTP_V3_ERR_REQUEST_REJECTED 0x10b | |
67 #define NGX_HTTP_V3_ERR_REQUEST_CANCELLED 0x10c | |
68 #define NGX_HTTP_V3_ERR_REQUEST_INCOMPLETE 0x10d | |
69 #define NGX_HTTP_V3_ERR_CONNECT_ERROR 0x10f | |
70 #define NGX_HTTP_V3_ERR_VERSION_FALLBACK 0x110 | |
71 | |
72 /* QPACK errors */ | |
73 #define NGX_HTTP_V3_ERR_DECOMPRESSION_FAILED 0x200 | |
74 #define NGX_HTTP_V3_ERR_ENCODER_STREAM_ERROR 0x201 | |
75 #define NGX_HTTP_V3_ERR_DECODER_STREAM_ERROR 0x202 | |
53 | 76 |
54 | 77 |
55 #define ngx_http_v3_get_module_srv_conf(c, module) \ | 78 #define ngx_http_v3_get_module_srv_conf(c, module) \ |
56 ngx_http_get_module_srv_conf( \ | 79 ngx_http_get_module_srv_conf( \ |
57 ((ngx_http_v3_connection_t *) c->qs->parent->data)->hc.conf_ctx, \ | 80 ((ngx_http_v3_connection_t *) c->qs->parent->data)->hc.conf_ctx, \ |