xcb-proto/Document-BIG-REQUESTS.patch
Zile Yao 482f2fc15a Document BIG-REQUESTS
Upstream commit Document BIG-REQUESTS

Signed-off-by: Zile Yao <yaozile@xfusion.com>
2023-07-15 21:59:06 +08:00

39 lines
1.2 KiB
Diff

From bf228d330ed0be8bfb5d9055febabf81b785b8fa Mon Sep 17 00:00:00 2001
From: Demi Marie Obenour <demiobenour@gmail.com>
Date: Sun, 21 Aug 2022 10:26:47 -0400
Subject: [PATCH] Document BIG-REQUESTS
Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
src/bigreq.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/bigreq.xml b/src/bigreq.xml
index 3cca2f7..ddd1e21 100644
--- a/src/bigreq.xml
+++ b/src/bigreq.xml
@@ -33,6 +33,20 @@ authorization from the authors.
<reply>
<pad bytes="1" />
<field type="CARD32" name="maximum_request_length" />
+ <doc>
+ <field name="maximum_request_length">
+The maximum length of requests supported by the server, in 4-byte units.
+ </field>
+ </doc>
</reply>
+ <doc>
+ <brief>Enable the BIG-REQUESTS extension</brief>
+ <description>
+This enables the BIG-REQUESTS extension, which allows for requests larger than
+262140 bytes in length. When enabled, if the 16-bit length field is zero, it
+is immediately followed by a 32-bit length field specifying the length of the
+request in 4-byte units.
+ </description>
+ </doc>
</request>
</xcb>
--
2.36.0.windows.1