History log of /freebsd/tests/sys/kern/ssl_sendfile.c (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8a950856 27-Jan-2026 Gleb Smirnoff <glebius@FreeBSD.org>

tests/kern: make ssl_sendfile:truncate and ssl_sendfile:grow less flaky

First problem is a trivial race that the client thread doesn't see updated
c.sbytes. Second problem applies only to the trunc

tests/kern: make ssl_sendfile:truncate and ssl_sendfile:grow less flaky

First problem is a trivial race that the client thread doesn't see updated
c.sbytes. Second problem applies only to the truncate test. On a machine
with huge default buffer sizes, there is a chance that sendfile(2) will
fill both buffers with amount of data that is larger than the size we plan
to truncate. To minimise chances for this scenario, increase file size
and truncate it less aggressively, also try to decrease buffer sizes.

show more ...


Revision tags: release/13.5.0-p9, release/15.0.0-p2, release/14.3.0-p8
# 37d11fde 21-Jan-2026 Gleb Smirnoff <glebius@FreeBSD.org>

tests/kern: add test for SSL_sendfile()