Page MenuHomeFreeBSD

tests/sendfile: test operation on unix/stream socket
ClosedPublic

Authored by glebius on May 2 2024, 3:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 26, 10:31 AM
Unknown Object (File)
Mon, Nov 24, 6:54 PM
Unknown Object (File)
Sun, Nov 23, 5:21 AM
Unknown Object (File)
Thu, Nov 20, 9:14 PM
Unknown Object (File)
Wed, Nov 19, 2:16 AM
Unknown Object (File)
Fri, Nov 14, 9:16 PM
Unknown Object (File)
Nov 3 2025, 7:45 AM
Unknown Object (File)
Nov 3 2025, 3:46 AM
Subscribers

Details

Summary

Although there are already multiple tests in the tests collection
that utilize sendfile(2) support over unix/stream socket, they all
don't exercise the asynchronous part of the operation. This test
framework, however, uses a trick to toggle true async operation and
guarantee that pr_ready method of unix/stream is also tested.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable