-
-
Notifications
You must be signed in to change notification settings - Fork 618
[Core] Invoke selector.close on shutdown
#1055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1055 +/- ##
===========================================
- Coverage 87.32% 87.23% -0.10%
===========================================
Files 160 160
Lines 6683 6688 +5
Branches 675 676 +1
===========================================
- Hits 5836 5834 -2
Misses 741 741
- Partials 106 113 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* [Core] Invoke selector.close on shutdown (#1055) [Core] Invoke `selector.close` on shutdown * [CacheResponsesPlugin] Add ability to cache request packets (#1056) * Start of post encryption tests * Assertion on post encryption callback * Add `--cache-requests` flag * Clean up `on_client_data` API as we no longer have a chain within core http protocol handler * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix flake8 warnings * Fix `inconsistent-return-statements` Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [Task] A generic payload based work abstraction (#1057) * Refactor into an internal task submodule of work * As context managers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add missing license Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * `jupyter` notebook based tutorial (#1059) * `jupyter` notebook based tutorial * Move within `tutorial` directory * Fix spell * Add `as_non_blocking` option during wrap * `as_non_blocking=False` by defaut * `--max-sendbuf-size` flag to speed up large file upload/download (#1060) * Add `--max-sendbuf-size` flag which now defaults to 64Kb * Use `server_recvbuf_size` flag with base tunnel implementation * isort * Add to readme * [Flags] `min_compression_length` consistency (#1061) * `min_compression_length` consistency, it was used as `min_compression_limit` at a few places * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * revert back web server route * Move `serve_static_file` as a staticmethod within web plugin base Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [Fix] Using `okResponse()` without content hangs the connection (#1062) * It hangs because of no content-length or connection close header * Fix tests * [Jupyter] Add a response notebook (#1064) * Add a response generation jupyter notebook * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Make codespell happy * precommit codespell exclude Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [Optimize] Avoid using `tobytes` for zero-copies (#1066) * Avoid using `tobytes` where possible * `send` accepts `Union[memoryview, bytes]` now * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [HttpParser] Memory view compliant, Zero copies (#1067) * Remove usage of `tobytes` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix chunk parser * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Lint fixes Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [Jupyter] Request creation notebook (#1065) * Add plugin tests, responses notebook and enhancements to `build_http_packet` * Add js code snip for ws example * Fix tests * ignore all ipynb from codespell * ignore all ipynb from codespell * Fix tests and doc spell Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This was done in order to debug the
N semaphores leakedwarnings. Turns out this problem is in the Python core. Sending out PR for thecloserelated changes.