Skip to content

Fix StreamSocket::sendFile()#4863

Merged
obiltschnig merged 8 commits intomainfrom
fix-sendFile
Feb 8, 2025
Merged

Fix StreamSocket::sendFile()#4863
obiltschnig merged 8 commits intomainfrom
fix-sendFile

Conversation

@obiltschnig
Copy link
Copy Markdown
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
Copy Markdown
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
@matejk matejk deleted the fix-sendFile branch March 15, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

httpS server seems to not work in v1.14

2 participants