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)
Tue, Jul 7, 10:41 AM
Unknown Object (File)
Sat, Jul 4, 3:25 PM
Unknown Object (File)
Wed, Jul 1, 1:48 AM
Unknown Object (File)
Tue, Jun 30, 8:33 AM
Unknown Object (File)
Sun, Jun 21, 7:25 AM
Unknown Object (File)
Sat, Jun 20, 7:57 AM
Unknown Object (File)
May 25 2026, 11:52 AM
Unknown Object (File)
May 25 2026, 9:40 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