René's URL Explorer Experiment


Title: gh-65920: Implement `socket.sendfile` with `TransmitFile` on Windows by aisk · Pull Request #112337 · python/cpython · GitHub

Open Graph Title: gh-65920: Implement `socket.sendfile` with `TransmitFile` on Windows by aisk · Pull Request #112337 · python/cpython

X Title: gh-65920: Implement `socket.sendfile` with `TransmitFile` on Windows by aisk · Pull Request #112337 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Using the Overlapped.TransmitFile in _overlapped module to implement socket.sendfile; Add Overlapped.getresultex to implement the timeout functionality, which have almost the same codes as exists O...

X Description: Using the Overlapped.TransmitFile in _overlapped module to implement socket.sendfile; Add Overlapped.getresultex to implement the timeout functionality, which have almost the same codes as exists O...

Opengraph URL: https://github.com/python/cpython/pull/112337

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:4344cc8d-636a-d9bd-30a9-be2265fb834e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB49A:16C3D3:57DBDE3:7C37BF6:6A4FFB22
html-safe-noncede05de8a27d6660e734ceaad395d8d1592e3ff3a02e77be65c46ac7bb211207d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDlBOjE2QzNEMzo1N0RCREUzOjdDMzdCRjY6NkE0RkZCMjIiLCJ2aXNpdG9yX2lkIjoiNjEwNTMzNTYyOTgyNTk2NDgzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5c7bd96c1115ce8e78f2259c1f9fc8f429a7b3770bed90c12b5cd2c3bc26c821
hovercard-subject-tagpull_request:1614567302
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/112337/commits
twitter:imagehttps://opengraph.githubassets.com/3a857963e553cf84e760b8a1f04e7b6b7624e457e836bca114fcf7425be475fd/python/cpython/pull/112337
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a857963e553cf84e760b8a1f04e7b6b7624e457e836bca114fcf7425be475fd/python/cpython/pull/112337
og:image:altUsing the Overlapped.TransmitFile in _overlapped module to implement socket.sendfile; Add Overlapped.getresultex to implement the timeout functionality, which have almost the same codes as exists O...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaisk
hostnamegithub.com
expected-hostnamegithub.com
None3bd0ff5d28a87b4801a63fb38c2a21a91b0a700dca159dc9416aeae05771b899
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release67a336083e4dcb40224dc2c01cd4c7ed413bdb09
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/112337/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F112337%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F112337%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/112337/commits
Reloadhttps://github.com/python/cpython/pull/112337/commits
Reloadhttps://github.com/python/cpython/pull/112337/commits
Please reload this pagehttps://github.com/python/cpython/pull/112337/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/112337/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
aiskhttps://github.com/aisk
python:mainhttps://github.com/python/cpython/tree/main
aisk:windows-socket-sendfilehttps://github.com/aisk/cpython/tree/windows-socket-sendfile
Conversationhttps://github.com/python/cpython/pull/112337
Commits20 (20)https://github.com/python/cpython/pull/112337/commits
Checkshttps://github.com/python/cpython/pull/112337/checks
Files changedhttps://github.com/python/cpython/pull/112337/files
gh-65920: Implement socket.sendfile with TransmitFile on Windowshttps://github.com/python/cpython/pull/112337/commits#top
aiskhttps://github.com/aisk
python:mainhttps://github.com/python/cpython/tree/main
aisk:windows-socket-sendfilehttps://github.com/aisk/cpython/tree/windows-socket-sendfile
add socket._sendfile_use_transmitfilehttps://github.com/python/cpython/pull/112337/commits/490df91637b86087b6017d8d104f3f10791cc429
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
490df91https://github.com/python/cpython/pull/112337/commits/490df91637b86087b6017d8d104f3f10791cc429
https://github.com/python/cpython/tree/490df91637b86087b6017d8d104f3f10791cc429
add Overlapped.getresultex to implement timeout in sendfilehttps://github.com/python/cpython/pull/112337/commits/f94935df1632812e866c2a27de557433b07bf3ad
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
f94935dhttps://github.com/python/cpython/pull/112337/commits/f94935df1632812e866c2a27de557433b07bf3ad
https://github.com/python/cpython/tree/f94935df1632812e866c2a27de557433b07bf3ad
using transmitfile for sendfile on windowshttps://github.com/python/cpython/pull/112337/commits/87c88faa88c33cdc927868a09025ab23f77c0208
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
87c88fahttps://github.com/python/cpython/pull/112337/commits/87c88faa88c33cdc927868a09025ab23f77c0208
https://github.com/python/cpython/tree/87c88faa88c33cdc927868a09025ab23f77c0208
fix testshttps://github.com/python/cpython/pull/112337/commits/3f7259fa7dbba7bc81e076f9e7da6ac4d65e0b22
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
3f7259fhttps://github.com/python/cpython/pull/112337/commits/3f7259fa7dbba7bc81e076f9e7da6ac4d65e0b22
https://github.com/python/cpython/tree/3f7259fa7dbba7bc81e076f9e7da6ac4d65e0b22
skip tests on non windows platformshttps://github.com/python/cpython/pull/112337/commits/619ef2205fdaf69b5c50bc65dd0203d86faf907c
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
619ef22https://github.com/python/cpython/pull/112337/commits/619ef2205fdaf69b5c50bc65dd0203d86faf907c
https://github.com/python/cpython/tree/619ef2205fdaf69b5c50bc65dd0203d86faf907c
fix generated filehttps://github.com/python/cpython/pull/112337/commits/19dde50495b71c22ffb1566f645966c74f8eacca
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
19dde50https://github.com/python/cpython/pull/112337/commits/19dde50495b71c22ffb1566f645966c74f8eacca
https://github.com/python/cpython/tree/19dde50495b71c22ffb1566f645966c74f8eacca
Merge branch 'main' into windows-socket-sendfilehttps://github.com/python/cpython/pull/112337/commits/3dd3bc1c89098fe1e75731e9eab70025237e14eb
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
3dd3bc1https://github.com/python/cpython/pull/112337/commits/3dd3bc1c89098fe1e75731e9eab70025237e14eb
https://github.com/python/cpython/tree/3dd3bc1c89098fe1e75731e9eab70025237e14eb
Merge branch 'main' into windows-socket-sendfilehttps://github.com/python/cpython/pull/112337/commits/a4ce9dfa36ce38a5c3d5f0b3c268a5c6ef19c8f9
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/python/cpython/commits?author=erlend-aasland
a4ce9dfhttps://github.com/python/cpython/pull/112337/commits/a4ce9dfa36ce38a5c3d5f0b3c268a5c6ef19c8f9
https://github.com/python/cpython/tree/a4ce9dfa36ce38a5c3d5f0b3c268a5c6ef19c8f9
Update Misc/NEWS.d/next/Windows/2023-11-23-22-25-16.gh-issue-65920.6wWsHN.rsthttps://github.com/python/cpython/pull/112337/commits/77deb6e7156800ff41ac56e6bbf09cf00788c6f7
aiskhttps://github.com/python/cpython/commits?author=aisk
erlend-aaslandhttps://github.com/python/cpython/commits?author=erlend-aasland
77deb6ehttps://github.com/python/cpython/pull/112337/commits/77deb6e7156800ff41ac56e6bbf09cf00788c6f7
https://github.com/python/cpython/tree/77deb6e7156800ff41ac56e6bbf09cf00788c6f7
Update Lib/socket.pyhttps://github.com/python/cpython/pull/112337/commits/47eb386d7d7bb688eeecb99e4507a714b496a976
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
47eb386https://github.com/python/cpython/pull/112337/commits/47eb386d7d7bb688eeecb99e4507a714b496a976
https://github.com/python/cpython/tree/47eb386d7d7bb688eeecb99e4507a714b496a976
Merge branch 'main' into windows-socket-sendfilehttps://github.com/python/cpython/pull/112337/commits/8bd91bb15db3e9fb4bac5938aa03d3fcd5aadabb
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
8bd91bbhttps://github.com/python/cpython/pull/112337/commits/8bd91bb15db3e9fb4bac5938aa03d3fcd5aadabb
https://github.com/python/cpython/tree/8bd91bb15db3e9fb4bac5938aa03d3fcd5aadabb
Merge remote-tracking branch 'origin/main' into windows-socket-sendfilehttps://github.com/python/cpython/pull/112337/commits/b153f22afe551407c31b83c6ab71eb633a9056c4
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
b153f22https://github.com/python/cpython/pull/112337/commits/b153f22afe551407c31b83c6ab71eb633a9056c4
https://github.com/python/cpython/tree/b153f22afe551407c31b83c6ab71eb633a9056c4
Call TransmitFile in chunkhttps://github.com/python/cpython/pull/112337/commits/048f6a14131a70c3b85a6dfb861836e26fae7f54
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
048f6a1https://github.com/python/cpython/pull/112337/commits/048f6a14131a70c3b85a6dfb861836e26fae7f54
https://github.com/python/cpython/tree/048f6a14131a70c3b85a6dfb861836e26fae7f54
Merge remote-tracking branch 'upstream/main' into windows-socket-sendfilehttps://github.com/python/cpython/pull/112337/commits/d6ed576fcb3113175f08fcc8ed9bbb391484a2b5
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
d6ed576https://github.com/python/cpython/pull/112337/commits/d6ed576fcb3113175f08fcc8ed9bbb391484a2b5
https://github.com/python/cpython/tree/d6ed576fcb3113175f08fcc8ed9bbb391484a2b5
Fix news entryhttps://github.com/python/cpython/pull/112337/commits/6edf90fe572e68794177d379e82a2934b75a5940
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
6edf90fhttps://github.com/python/cpython/pull/112337/commits/6edf90fe572e68794177d379e82a2934b75a5940
https://github.com/python/cpython/tree/6edf90fe572e68794177d379e82a2934b75a5940
Fallback if _overlapped is not usagehttps://github.com/python/cpython/pull/112337/commits/f2de5026a8536f7ad31ab02217cede9cfc532f02
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
f2de502https://github.com/python/cpython/pull/112337/commits/f2de5026a8536f7ad31ab02217cede9cfc532f02
https://github.com/python/cpython/tree/f2de5026a8536f7ad31ab02217cede9cfc532f02
Update generated fileshttps://github.com/python/cpython/pull/112337/commits/deee263ac2e48c01977ee98032c2f939af73659d
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
deee263https://github.com/python/cpython/pull/112337/commits/deee263ac2e48c01977ee98032c2f939af73659d
https://github.com/python/cpython/tree/deee263ac2e48c01977ee98032c2f939af73659d
Merge remote-tracking branch 'upstream/main' into windows-socket-sendfilehttps://github.com/python/cpython/pull/112337/commits/1a92bfcc80e12f484ad13a1c7034890bbbe467f3
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
1a92bfchttps://github.com/python/cpython/pull/112337/commits/1a92bfcc80e12f484ad13a1c7034890bbbe467f3
https://github.com/python/cpython/tree/1a92bfcc80e12f484ad13a1c7034890bbbe467f3
Fix file position on error and fallback in socket.sendfilehttps://github.com/python/cpython/pull/112337/commits/63d384b1f05efcc5d131a6323a3e303767b236bb
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
63d384bhttps://github.com/python/cpython/pull/112337/commits/63d384b1f05efcc5d131a6323a3e303767b236bb
https://github.com/python/cpython/tree/63d384b1f05efcc5d131a6323a3e303767b236bb
Update sendfile docs and add getresultex docstringhttps://github.com/python/cpython/pull/112337/commits/76e9bc8391297e226351ac536b6f6bd2b1072805
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
76e9bc8https://github.com/python/cpython/pull/112337/commits/76e9bc8391297e226351ac536b6f6bd2b1072805
https://github.com/python/cpython/tree/76e9bc8391297e226351ac536b6f6bd2b1072805
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.