Increase the number of initial connect attempts in BackloggedServer
The backlog argument to the ServerSocket constructor is just a hint
and it can be ignored by the operating system. On many Linux systems
the default backlog is 128, so this change increases the initial connect
attempts to a value larger than that.
@@ -1689,7 +1689,7 @@ public abstract class AbstractHttpClientTest
// some systems like Linux have a large minimum backlog
int i = 0;
- while (i <= 40) {
+ while (i <= 256) {
if (!connect()) {
return;
}
