Repository navigation
bpo-32622: Implement loop.sendfile() #5271
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
fa07b35
Implement loop.sendfile()
asvetlov 8ebd388
Fix notes
asvetlov c7194f7
Add NEWS
asvetlov 1632e0a
Fix error text
asvetlov 535be77
Raise an exception on sendfile via closing transport
asvetlov bd8c515
Add more tests
asvetlov fab4669
More tests
asvetlov 2f51d6a
Update comment
asvetlov d36fcdf
More tests
asvetlov defc61c
Merge branch 'master' into sendfile
asvetlov 2ae8bf5
Stop file reading early
asvetlov 6b30924
Revert back, test was failed
asvetlov 9271eb1
Merge branch 'master' into sendfile
asvetlov d2bb432
Clarify empty_waiter possible values
asvetlov 2bf14d3
Add docs
asvetlov c1ad2f4
Add a test
asvetlov 57f02cf
Merge branch 'master' into sendfile
asvetlov 968c8c5
Inline variable
asvetlov b905d1d
Fix error texts
asvetlov 2969cf4
Merge branch 'master' into sendfile
asvetlov a9af6c7
Merge branch 'master' into sendfile
asvetlov e5f24b6
_SenfileProtocol -> _SendfileFallbackProtocol
asvetlov bc458b3
Raise an exception for bad transport type
asvetlov e1a173e
Drop assert
asvetlov 032bd40
Tune exception text
asvetlov b466ed3
Cancel sendfile waiter on transport closing
asvetlov 359181d
Extract drain() method
asvetlov 1169407
Fix sendfile tests
asvetlov 312e2c5
Update docstring
asvetlov cdc898d
Simplify code
asvetlov df556f2
Mark proactor socket transport as sendfile-fallback
asvetlov 5a9d056
Cleanup more resources in tests
asvetlov 7f99184
Cleanup more resources in tests
asvetlov b8f2c1a
Fix a bug in reading from not ready future
asvetlov 4224bde
Fix proactor support
asvetlov 3975b5a
Skip windows specific tests on Unix
asvetlov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix error text
- Loading branch information
commit 1632e0a0b8cf47cb84aedbaba9e99c2921fdce62
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reads better: "Invalid state, " -> "Invalid state: "
ditto for other similar errors