diff options
author | Yang Tse <yangsita@gmail.com> | 2011-10-14 17:33:05 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-10-14 17:33:05 +0200 |
commit | fd10c047df694e55abc6950391d6822cecc3000b (patch) | |
tree | 1f9b9e9542ca1c188b16e2ca4e03315fd98bc140 /packages | |
parent | ea12c72d122cb35548979fb86dcec7f1488fc5d6 (diff) |
sws.c: HTTP and GOPHER test server-side connection closing adjustment
When, for a given test, server is instructed to close connection after
server reply we now wait a very small amount of time (50ms) before doing
so. This is done to allow client to, at least partially, read server
reply before getting an ECONNRESET.
The above is required to make test cases 1070, 1200, 1201 and 1202 pass
with Cygwin 1.5.X on W2K.
GOPHER test server closes connection after _every_ server-reply, as such,
at some point it could require a bigger time or using shutdown() before
a server-side initiated disconnection.
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions