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)
Mon, Dec 29, 9:43 AM
Unknown Object (File)
Fri, Dec 12, 1:19 PM
Unknown Object (File)
Mon, Dec 8, 9:03 AM
Unknown Object (File)
Nov 26 2025, 10:31 AM
Unknown Object (File)
Nov 24 2025, 6:54 PM
Unknown Object (File)
Nov 23 2025, 5:21 AM
Unknown Object (File)
Nov 20 2025, 9:14 PM
Unknown Object (File)
Nov 19 2025, 2:16 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