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)
Thu, Feb 27, 3:01 PM
Unknown Object (File)
Feb 18 2025, 2:23 AM
Unknown Object (File)
Feb 14 2025, 7:51 AM
Unknown Object (File)
Feb 13 2025, 11:33 AM
Unknown Object (File)
Jan 24 2025, 1:53 PM
Unknown Object (File)
Jan 9 2025, 3:24 PM
Unknown Object (File)
Nov 30 2024, 3:49 PM
Unknown Object (File)
Nov 30 2024, 3:49 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