1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

Ports: Patch Python's http.client due to unimplemented socket option

This problem has been reported on https://bugs.python.org/issue45328 and
a fix has been provided, potential review and merge are pending.
This commit is contained in:
Rodrigo Tobar 2021-09-30 10:40:04 +08:00 committed by Linus Groh
parent e02c843af4
commit c38c93bff1
2 changed files with 28 additions and 0 deletions

View file

@ -16,6 +16,10 @@ Enforce UTF-8 as encoding by defining `_Py_FORCE_UTF8_LOCALE`.
As usual, make the `configure` script recognize Serenity. Also set `MACHDEP` (which is used for `sys.platform`) to a version-less `serenityos`, even when not cross-compiling.
## `http-client.patch`
Allows HTTPConnection to work without the TCP_NODELAY socket option, as this is not supported by Serenity.
## `tweak-setup-py.patch`
Make some tweaks to Python's `setup.py` files: