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, Jul 25, 4:00 PM
Unknown Object (File)
Sat, Jul 12, 9:44 PM
Unknown Object (File)
Thu, Jul 10, 9:02 PM
Unknown Object (File)
Jun 18 2025, 7:32 AM
Unknown Object (File)
Jun 16 2025, 2:40 AM
Unknown Object (File)
Jun 14 2025, 9:02 AM
Unknown Object (File)
Jun 11 2025, 9:36 AM
Unknown Object (File)
Jun 1 2025, 12:58 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