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
F142723647: D45055.id138004.diff
Thu, Jan 22, 5:16 PM
Unknown Object (File)
Sat, Jan 17, 12:23 PM
Unknown Object (File)
Wed, Jan 14, 5:55 PM
Unknown Object (File)
Wed, Jan 14, 12:20 PM
Unknown Object (File)
Wed, Jan 14, 11:29 AM
Unknown Object (File)
Mon, Jan 12, 11:49 AM
Unknown Object (File)
Mon, Jan 12, 11:31 AM
Unknown Object (File)
Sat, Jan 10, 3:34 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