Portability: Fix assumption about read() and write() on connecting sockets
[adns] / regress / case-tcpallfail.sys
CommitLineData
138722f0 1adnstest anarres -0x400
fb901bf5 22/test.iwj.relativity.greenend.org.uk.
3 start 962142174.403028
9ec92889 4 socket domain=AF_INET type=SOCK_DGRAM
fb901bf5 5 socket=4
6 +0.000120
7 fcntl fd=4 cmd=F_GETFL
8 fcntl=~O_NONBLOCK&...
9 +0.000053
10 fcntl fd=4 cmd=F_SETFL O_NONBLOCK|...
11 fcntl=OK
12 +0.000034
9ec92889 13 socket domain=AF_INET type=SOCK_STREAM
fb901bf5 14 socket=5
15 +0.000479
16 fcntl fd=5 cmd=F_GETFL
17 fcntl=~O_NONBLOCK&...
18 +0.000036
19 fcntl fd=5 cmd=F_SETFL O_NONBLOCK|...
20 fcntl=OK
21 +0.000031
22 connect fd=5 addr=172.18.45.2:53
23 connect=EINPROGRESS
24 +0.000182
25 select max=6 rfds=[4] wfds=[5] efds=[] to=13.999272
26 select=1 rfds=[] wfds=[5] efds=[]
27 +0.000862
777763cb
IJ
28 select max=6 rfds=null wfds=[5] efds=null to=0.000000
29 select=1 rfds=null wfds=[5] efds=null
30+0.000001
fb901bf5 31 read fd=5 buflen=1
32 read=ECONNREFUSED
777763cb 33 +0.000086
fb901bf5 34 close fd=5
35 close=OK
36 +0.000109
37 select max=5 rfds=[4] wfds=[] efds=[] to=0.000000
38 select=0 rfds=[] wfds=[] efds=[]
39 +0.000103
9ec92889 40 socket domain=AF_INET type=SOCK_STREAM
fb901bf5 41 socket=5
42 +0.000392
43 fcntl fd=5 cmd=F_GETFL
44 fcntl=~O_NONBLOCK&...
45 +0.000037
46 fcntl fd=5 cmd=F_SETFL O_NONBLOCK|...
47 fcntl=OK
48 +0.000030
49 connect fd=5 addr=172.18.45.2:53
50 connect=EINPROGRESS
51 +0.000127
52 select max=6 rfds=[4] wfds=[5] efds=[] to=13.999414
53 select=1 rfds=[] wfds=[5] efds=[]
54 +0.000339
777763cb
IJ
55 select max=6 rfds=null wfds=[5] efds=null to=0.000000
56 select=1 rfds=null wfds=[5] efds=null
57+0.000001
fb901bf5 58 read fd=5 buflen=1
59 read=ECONNREFUSED
777763cb 60 +0.000074
fb901bf5 61 close fd=5
62 close=OK
63 +0.000084
64 select max=5 rfds=[4] wfds=[] efds=[] to=0.000000
65 select=0 rfds=[] wfds=[] efds=[]
66 +0.000098
67 close fd=4
68 close=OK
69 +0.000879