diff options
author | maxim-yurchuk <[email protected]> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <[email protected]> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/aiohttp/patches | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/aiohttp/patches')
-rw-r--r-- | contrib/python/aiohttp/patches/01-unvedor-llhttp.patch | 11 | ||||
-rw-r--r-- | contrib/python/aiohttp/patches/02-fix-dns.patch | 11 | ||||
-rw-r--r-- | contrib/python/aiohttp/patches/03-fix-const.patch | 20 |
3 files changed, 42 insertions, 0 deletions
diff --git a/contrib/python/aiohttp/patches/01-unvedor-llhttp.patch b/contrib/python/aiohttp/patches/01-unvedor-llhttp.patch new file mode 100644 index 00000000000..a7da904d8a8 --- /dev/null +++ b/contrib/python/aiohttp/patches/01-unvedor-llhttp.patch @@ -0,0 +1,11 @@ +--- contrib/python/aiohttp/aiohttp/_cparser.pxd (index) ++++ contrib/python/aiohttp/aiohttp/_cparser.pxd (working tree) +@@ -10,7 +10,7 @@ + ) + + +-cdef extern from "../vendor/llhttp/build/llhttp.h": ++cdef extern from "llhttp.h": + + struct llhttp__internal_s: + int32_t _index diff --git a/contrib/python/aiohttp/patches/02-fix-dns.patch b/contrib/python/aiohttp/patches/02-fix-dns.patch new file mode 100644 index 00000000000..00934206c1d --- /dev/null +++ b/contrib/python/aiohttp/patches/02-fix-dns.patch @@ -0,0 +1,11 @@ +--- contrib/python/aiohttp/aiohttp/resolver.py (index) ++++ contrib/python/aiohttp/aiohttp/resolver.py (working tree) +@@ -35,7 +35,7 @@ class ThreadedResolver(AbstractResolver): + port, + type=socket.SOCK_STREAM, + family=family, +- flags=socket.AI_ADDRCONFIG, ++ # flags=socket.AI_ADDRCONFIG, + ) + + hosts = [] diff --git a/contrib/python/aiohttp/patches/03-fix-const.patch b/contrib/python/aiohttp/patches/03-fix-const.patch new file mode 100644 index 00000000000..15e52f7b006 --- /dev/null +++ b/contrib/python/aiohttp/patches/03-fix-const.patch @@ -0,0 +1,20 @@ +--- contrib/python/aiohttp/aiohttp/_http_parser.pyx (index) ++++ contrib/python/aiohttp/aiohttp/_http_parser.pyx (working tree) +@@ -393,7 +393,7 @@ cdef class HttpParser: + self._has_value = False + self._raw_headers.append((raw_name, raw_value)) + +- cdef _on_header_field(self, char* at, size_t length): ++ cdef _on_header_field(self, const char* at, size_t length): + cdef Py_ssize_t size + cdef char *buf + if self._has_value: +@@ -404,7 +404,7 @@ cdef class HttpParser: + buf = PyByteArray_AsString(self._raw_name) + memcpy(buf + size, at, length) + +- cdef _on_header_value(self, char* at, size_t length): ++ cdef _on_header_value(self, const char* at, size_t length): + cdef Py_ssize_t size + cdef char *buf + |