When the corresponding data loss bug is fixed and the snd and rcv buffer
sizes are the same (the default configuration), the test would hang
because it is sending a message larger than the snd buffer size, which
activates SB_STOP. Fix the problem by using a non-blocking socket and
by allowing short writes to the socket in this particular test.
Details
Details
- Reviewers
- None
- Group Reviewers
network - Commits
- rS337329: Fix the regression test for PR 181741.
Verified that the test still fails without D16515, and passes with it.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable