-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fixed static files handling for loops without .sendfile() #5157
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5157 +/- ##
==========================================
- Coverage 97.56% 97.56% -0.01%
==========================================
Files 43 43
Lines 8846 8781 -65
Branches 1420 1412 -8
==========================================
- Hits 8631 8567 -64
+ Misses 101 100 -1
Partials 114 114
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
LGTM, thanks!
I'll publish aiohttp 3.7.2 with the fix soon.
Changing the sendfile implementation in aio-libs#5157 caused a regression with sending zero byte files, and the test had too much mocking to expose the issue.
Changing the sendfile implementation in aio-libs#5157 caused a regression with sending zero byte files, and the test had too much mocking to expose the issue.
Changing the sendfile implementation in aio-libs#5157 caused a regression with sending zero byte files, and the test had too much mocking to expose the issue.
Changing the sendfile implementation in aio-libs#5157 caused a regression with sending zero byte files, and the test had too much mocking to expose the issue.
Changing the sendfile implementation in #5157 caused a regression with sending zero byte files, and the test had too much mocking to expose the issue.
What do these changes do?
Bug fix. Static routes on
aiohttp+uvloop
now work again.Are there changes in behavior for the user?
No.
Related issue number
Fixes #5149.
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.