Page MenuHomeFreeBSD

tests/sendfile: test operation on unix/stream socket
ClosedPublic

Authored by glebius on Thu, May 2, 3:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 8, 2:11 AM
Unknown Object (File)
Sun, May 5, 6:05 PM
Unknown Object (File)
Fri, May 3, 6:32 PM
Unknown Object (File)
Thu, May 2, 12:53 PM
Unknown Object (File)
Thu, May 2, 12:52 PM
Unknown Object (File)
Thu, May 2, 10:43 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