summaryrefslogtreecommitdiffstats
path: root/contrib/deprecated/http-parser/patches/field-uint32.patch
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2025-05-30 10:25:36 +0300
committerthegeorg <[email protected]>2025-05-30 10:47:42 +0300
commit8b8d94c31949c2597d5c8ed23d8b7c45de2290f5 (patch)
tree59a60c51f2d9c4570718413694af0d6ae4ad3b5b /contrib/deprecated/http-parser/patches/field-uint32.patch
parent84047e399488ec9c924577970e1bd8e0047754ec (diff)
Deprecate contrib/libs/yajl and contrib/restricted/http-parser
* http-parser was explicitly deprecated: https://github.com/nodejs/http-parser Use contrib/restricted/llhttp instead * https://github.com/lloyd/yajl received no updates for 10 years. Use either contrib/libs/json-c or contrib/libs/simdjson instead. commit_hash:4be3755e7075401bf866ec2716550bec000286b1
Diffstat (limited to 'contrib/deprecated/http-parser/patches/field-uint32.patch')
-rw-r--r--contrib/deprecated/http-parser/patches/field-uint32.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/deprecated/http-parser/patches/field-uint32.patch b/contrib/deprecated/http-parser/patches/field-uint32.patch
new file mode 100644
index 00000000000..1d952b3eedf
--- /dev/null
+++ b/contrib/deprecated/http-parser/patches/field-uint32.patch
@@ -0,0 +1,9 @@
+diff --git a/http_parser.h b/http_parser.h
+index 880ed27..8e65ae6 100644
+--- a/http_parser.h
++++ b/http_parser.h
+@@ -365,2 +365,2 @@ struct http_parser_url {
+- uint16_t off; /* Offset into buffer in which field starts */
+- uint16_t len; /* Length of run in buffer */
++ uint32_t off; /* Offset into buffer in which field starts */
++ uint32_t len; /* Length of run in buffer */