-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-37280: Use threadpool for reading from file in sendfile fallback mode #14076
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
@asvetlov: Please replace |
Thanks @asvetlov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Sorry @asvetlov, I had trouble checking out the |
GH-14101 is a backport of this pull request to the 3.7 branch. |
…nGH-14076) (cherry picked from commit 0237265) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
…ythonGH-14076) (cherry picked from commit 0237265) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
GH-14102 is a backport of this pull request to the 3.8 branch. |
) (cherry picked from commit 0237265) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
We do it for
loop.sock_sendfile()
, there is no reason to call blocking code forloop.sendfile()
https://bugs.python.org/issue37280