proxy.py/proxy/http
Abhinav Singh 98e6d0b3d4
`--threadless` default for `Python 3.8+` on `mac` and `linux` (#710)
* Explicit `multiprocessing.Manager.shutdown`

Multiprocessing manager is used within eventing core. From doc,
it appears to start a BaseManager which starts a server????
Seriously???? Anyways, using multiprocessing manager is a PITA
and mistake, as it doesn't even give us performance we expect.
Our proxy server can handle more requests than what multiprocess
manager can exchange between processes.

* `--threadless is now ON by default for `Python 3.8+` on `mac` and `linux` environments

* Clarity around why multiprocessing.Manager must be deprecated

* Add `--threaded` flag which can be used to fallback for environments where `--threadless` is now default

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* never used

* Update README

* Use `threaded=True` in tests which were written for threaded model

* Fix issue where sharing manager between global event queue and subscriber can lead to TypeError

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-09 01:34:17 +05:30
..
exception Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
inspector Put core flags where they belong (#702) 2021-11-08 03:21:42 +05:30
proxy Put core flags where they belong (#702) 2021-11-08 03:21:42 +05:30
server Put core flags where they belong (#702) 2021-11-08 03:21:42 +05:30
websocket Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
__init__.py Doc & Banner update to match GitHub (#182) 2019-11-18 20:45:51 -08:00
chunk_parser.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
codes.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
handler.py `--threadless` default for `Python 3.8+` on `mac` and `linux` (#710) 2021-11-09 01:34:17 +05:30
methods.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
parser.py Response bodies can be empty or missing + HttpParser refactoring (#688) 2021-11-06 22:07:11 +05:30
plugin.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30