Files
dotnet-runtime/src/libraries/System.Net.Http
stephentoub 716f5ee544 Fix ConnectTimeout_TimesOut_Throws test
This test wasn't actually running because it was incorrectly annotated as a [Theory] but without any data.  When changed to be a [Fact], it failed because the test depends on the Socket's listening backlog being filled so that a subsequent connect will time out, but Listen(1) doesn't actually force the OS to use a queue of max size of 1, its just advisory.  The fix is to flood the server with requests that don't get accepted, filling the listen queue.


Commit migrated from https://github.com/dotnet/corefx/commit/883a32630a21c83bb91735cebf1d87c76691bd7d
2016-04-12 13:55:55 -04:00
..
2016-03-10 16:15:19 -08:00