Blame SOURCES/unbundle-http-parser.patch
|
|
5699b7 |
diff -Nur aiohttp-3.7.1/aiohttp/_cparser.pxd aiohttp-3.7.1-new/aiohttp/_cparser.pxd
|
|
|
5699b7 |
--- aiohttp-3.7.1/aiohttp/_cparser.pxd 2020-10-25 08:26:45.000000000 +0100
|
|
|
5699b7 |
+++ aiohttp-3.7.1-new/aiohttp/_cparser.pxd 2020-10-26 09:07:05.024487885 +0100
|
|
|
5699b7 |
@@ -1,7 +1,7 @@
|
|
|
5699b7 |
from libc.stdint cimport uint16_t, uint32_t, uint64_t
|
|
|
5699b7 |
|
|
|
5699b7 |
|
|
|
5699b7 |
-cdef extern from "../vendor/http-parser/http_parser.h":
|
|
|
5699b7 |
+cdef extern from "http_parser.h":
|
|
|
5699b7 |
ctypedef int (*http_data_cb) (http_parser*,
|
|
|
5699b7 |
const char *at,
|
|
|
5699b7 |
size_t length) except -1
|
|
|
5699b7 |
diff -Nur aiohttp-3.7.1/setup.py aiohttp-3.7.1-new/setup.py
|
|
|
5699b7 |
--- aiohttp-3.7.1/setup.py 2020-10-25 08:26:45.000000000 +0100
|
|
|
5699b7 |
+++ aiohttp-3.7.1-new/setup.py 2020-10-26 09:07:05.024487885 +0100
|
|
|
5699b7 |
@@ -27,7 +27,6 @@
|
|
|
5699b7 |
"aiohttp._http_parser",
|
|
|
5699b7 |
[
|
|
|
5699b7 |
"aiohttp/_http_parser.c",
|
|
|
5699b7 |
- "vendor/http-parser/http_parser.c",
|
|
|
5699b7 |
"aiohttp/_find_header.c",
|
|
|
5699b7 |
],
|
|
|
5699b7 |
define_macros=[("HTTP_PARSER_STRICT", 0)],
|