Page MenuHomeFreeBSD

Fix the PR 181741 regression test.
ClosedPublic

Authored by markj on Jul 30 2018, 5:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 29, 1:14 AM
Unknown Object (File)
Jan 21 2024, 11:34 PM
Unknown Object (File)
Jan 3 2024, 8:06 AM
Unknown Object (File)
Dec 22 2023, 1:05 AM
Unknown Object (File)
Dec 20 2023, 2:24 AM
Unknown Object (File)
Oct 8 2023, 9:47 PM
Unknown Object (File)
Jul 11 2023, 6:46 AM
Unknown Object (File)
Jun 30 2023, 12:59 AM
Subscribers

Details

Reviewers
None
Group Reviewers
network
Commits
rS337329: Fix the regression test for PR 181741.
Summary

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.

Test Plan

Verified that the test still fails without D16515, and passes with it.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 4 2018, 8:30 PM
This revision was automatically updated to reflect the committed changes.