Skip to content
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

Fix StreamSocket::sendFile() #4863

Merged
merged 8 commits into from
Feb 8, 2025
Merged

Fix StreamSocket::sendFile() #4863

merged 8 commits into from
Feb 8, 2025

Conversation

obiltschnig
Copy link
Member

StreamSocket::sendFile() is always available and uses a fallback if native sendfile() (Linux, macOS) or TransmitFile() (WIN32) is not available. Furthermore, optimized methods are not used in case of a secure socket as these functions do not deal with TLS.

Fixes #4831.

@obiltschnig obiltschnig requested a review from matejk February 7, 2025 18:43
@obiltschnig obiltschnig self-assigned this Feb 7, 2025
@obiltschnig obiltschnig added this to the Release 1.14.1 milestone Feb 7, 2025
Copy link
Contributor

@matejk matejk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes make a lot of sense to me. I do not have any comments.

@obiltschnig obiltschnig merged commit 8d1aab0 into main Feb 8, 2025
46 checks passed
matejk pushed a commit that referenced this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

httpS server seems to not work in v1.14
2 participants