summaryrefslogtreecommitdiffhomepage
path: root/src/http/v2/ngx_http_v2_module.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2023-06-08 16:56:46 +0400
committerSergey Kandaurov <pluknet@nginx.com>2023-06-08 16:56:46 +0400
commit6915d2fb2e88e0c339fe37b37ce14f5fe446c1c6 (patch)
tree7abd9b350b80b07a2c96583025621151dffe1ba5 /src/http/v2/ngx_http_v2_module.h
parentd32f66f1e8dc81a0edbadbacf74191684a653d09 (diff)
downloadnginx-6915d2fb2e88e0c339fe37b37ce14f5fe446c1c6.tar.gz
nginx-6915d2fb2e88e0c339fe37b37ce14f5fe446c1c6.tar.bz2
HTTP/2: removed server push (ticket #2432).
Although it has better implementation status than HTTP/3 server push, it remains of limited use, with adoption numbers seen as negligible. Per IETF 102 materials, server push was used only in 0.04% of sessions. It was considered to be "difficult to use effectively" in RFC 9113. Its use is further limited by badly matching to fetch/cache/connection models in browsers, see related discussions linked from [1]. Server push was disabled in Chrome 106 [2]. The http2_push, http2_push_preload, and http2_max_concurrent_pushes directives are made obsolete. In particular, this essentially reverts 7201:641306096f5b and 7207:3d2b0b02bd3d. [1] https://jakearchibald.com/2017/h2-push-tougher-than-i-thought/ [2] https://chromestatus.com/feature/6302414934114304
Diffstat (limited to 'src/http/v2/ngx_http_v2_module.h')
-rw-r--r--src/http/v2/ngx_http_v2_module.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/v2/ngx_http_v2_module.h b/src/http/v2/ngx_http_v2_module.h
index 22a2d84ca..07a595cfd 100644
--- a/src/http/v2/ngx_http_v2_module.h
+++ b/src/http/v2/ngx_http_v2_module.h
@@ -22,11 +22,6 @@ typedef struct {
typedef struct {
size_t chunk_size;
-
- ngx_flag_t push_preload;
-
- ngx_flag_t push;
- ngx_array_t *pushes;
} ngx_http_v2_loc_conf_t;