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)
Fri, Oct 17, 3:47 AM
Unknown Object (File)
Thu, Sep 25, 1:02 PM
Unknown Object (File)
Sep 19 2025, 6:49 PM
Unknown Object (File)
Sep 14 2025, 8:49 PM
Unknown Object (File)
Sep 6 2025, 2:20 PM
Unknown Object (File)
Sep 3 2025, 3:20 PM
Unknown Object (File)
Aug 31 2025, 12:11 PM
Unknown Object (File)
Aug 30 2025, 8:45 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