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)
Sat, Mar 21, 11:49 PM
Unknown Object (File)
Fri, Mar 20, 5:01 AM
Unknown Object (File)
Thu, Mar 19, 5:48 AM
Unknown Object (File)
Thu, Mar 5, 1:10 PM
Unknown Object (File)
Mar 2 2026, 3:33 AM
Unknown Object (File)
Mar 1 2026, 11:51 PM
Unknown Object (File)
Mar 1 2026, 6:37 AM
Unknown Object (File)
Feb 7 2026, 11:12 PM
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