Portability: Fix assumption about read() and write() on connecting sockets
[adns] / regress / case-1stservbroken.sys
CommitLineData
0ebff22d 1adnstest 1stservbroken
53077730 2:0x0|12 trunc.test.iwj.relativity.greenend.org.uk
68000374 3 start 940102940.701451
9ec92889 4 socket domain=AF_INET type=SOCK_DGRAM
a87602c7 5 socket=4
68000374 6 +0.000612
a87602c7 7 fcntl fd=4 cmd=F_GETFL
8 fcntl=~O_NONBLOCK&...
68000374 9 +0.000605
a87602c7 10 fcntl fd=4 cmd=F_SETFL O_NONBLOCK|...
11 fcntl=OK
68000374 12 +0.000573
a87602c7 13 sendto fd=4 addr=172.18.45.2:53
14 311f0100 00010000 00000000 05747275 6e630474 65737403 69776a0a 72656c61
15 74697669 74790867 7265656e 656e6403 6f726702 756b0000 0c0001.
16 sendto=59
68000374 17 +0.006374
18 select max=5 rfds=[4] wfds=[] efds=[] to=1.993626
a87602c7 19 select=1 rfds=[4] wfds=[] efds=[]
68000374 20 +0.001402
4bc76b9c 21 recvfrom fd=4 buflen=512
a87602c7 22 recvfrom=ECONNREFUSED
68000374 23 +0.000666
24 select max=5 rfds=[4] wfds=[] efds=[] to=1.991558
a87602c7 25 select=0 rfds=[] wfds=[] efds=[]
68000374 26 +2.-02914
a87602c7 27 sendto fd=4 addr=172.18.45.6:53
28 311f0100 00010000 00000000 05747275 6e630474 65737403 69776a0a 72656c61
29 74697669 74790867 7265656e 656e6403 6f726702 756b0000 0c0001.
30 sendto=59
68000374 31 +0.002262
32 select max=5 rfds=[4] wfds=[] efds=[] to=1.997738
a87602c7 33 select=1 rfds=[4] wfds=[] efds=[]
68000374 34 +0.000973
4bc76b9c 35 recvfrom fd=4 buflen=512
a87602c7 36 recvfrom=OK addr=172.18.45.6:53
37 311f8380 00010008 00000000 05747275 6e630474 65737403 69776a0a 72656c61
38 74697669 74790867 7265656e 656e6403 6f726702 756b0000 0c0001c0 0c000c00
39 01000000 3c004704 6c6f6e67 06646f6d 61696e02 746f0566 6f726365 0a747275
40 6e636174 696f6e01 30047465 73740369 776a0a72 656c6174 69766974 79086772
41 65656e65 6e64036f 72670275 6b00c00c 000c0001 0000003c 0024046c 6f6e6706
42 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0131 c069c00c
43 000c0001 0000003c 0024046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
44 7472756e 63617469 6f6e0132 c069c00c 000c0001 0000003c 0024046c 6f6e6706
45 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0133 c069c00c
46 000c0001 0000003c 0024046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
47 7472756e 63617469 6f6e0134 c069c00c 000c0001 0000003c 0024046c 6f6e6706
48 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0135 c069c00c
49 000c0001 0000003c 0024046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
50 7472756e 63617469 6f6e0136 c069c00c 000c0001 0000003c 0024046c 6f6e6706
51 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0137 c069.
68000374 52 +0.004340
9ec92889 53 socket domain=AF_INET type=SOCK_STREAM
a87602c7 54 socket=5
68000374 55 +0.005126
a87602c7 56 fcntl fd=5 cmd=F_GETFL
57 fcntl=~O_NONBLOCK&...
68000374 58 +0.000742
a87602c7 59 fcntl fd=5 cmd=F_SETFL O_NONBLOCK|...
60 fcntl=OK
68000374 61 +0.000604
a87602c7 62 connect fd=5 addr=172.18.45.2:53
63 connect=EINPROGRESS
68000374 64 +0.000797
4bc76b9c 65 recvfrom fd=4 buflen=512
a87602c7 66 recvfrom=EAGAIN
68000374 67 +0.000829
68 select max=6 rfds=[4] wfds=[5] efds=[] to=13.987562
a87602c7 69 select=1 rfds=[] wfds=[5] efds=[]
68000374 70 +0.001172
777763cb
IJ
71 select max=6 rfds=null wfds=[5] efds=null to=0.000000
72 select=1 rfds=null wfds=[5] efds=null
73+0.000001
a87602c7 74 read fd=5 buflen=1
68000374 75 read=OK
76 .
777763cb 77 +0.001160
a87602c7 78 write fd=5
79 003b311f 01000001 00000000 00000574 72756e63 04746573 74036977 6a0a7265
80 6c617469 76697479 08677265 656e656e 64036f72 6702756b 00000c00 01.
81 write=61
68000374 82 +0.003598
83 select max=6 rfds=[4,5] wfds=[] efds=[5] to=29.981631
a87602c7 84 select=1 rfds=[5] wfds=[] efds=[]
68000374 85 +0.001370
a87602c7 86 read fd=5 buflen=2
87 read=EPIPE
68000374 88 +0.001699
a87602c7 89 close fd=5
90 close=OK
68000374 91 +0.000687
6c68a593 92 select max=5 rfds=[4] wfds=[] efds=[] to=0.000000
93 select=0 rfds=[] wfds=[] efds=[]
94 +0.000001
9ec92889 95 socket domain=AF_INET type=SOCK_STREAM
a87602c7 96 socket=5
6c68a593 97 +0.004865
a87602c7 98 fcntl fd=5 cmd=F_GETFL
99 fcntl=~O_NONBLOCK&...
68000374 100 +0.000611
a87602c7 101 fcntl fd=5 cmd=F_SETFL O_NONBLOCK|...
102 fcntl=OK
68000374 103 +0.000574
a87602c7 104 connect fd=5 addr=172.18.45.6:53
105 connect=EINPROGRESS
68000374 106 +0.001082
6c68a593 107 select max=6 rfds=[4] wfds=[5] efds=[] to=13.992868
a87602c7 108 select=1 rfds=[] wfds=[5] efds=[]
68000374 109 +0.001011
777763cb
IJ
110 select max=6 rfds=null wfds=[5] efds=null to=0.000000
111 select=1 rfds=null wfds=[5] efds=null
112+0.000001
a87602c7 113 read fd=5 buflen=1
114 read=EAGAIN
777763cb 115 +0.000594
a87602c7 116 write fd=5
117 003b311f 01000001 00000000 00000574 72756e63 04746573 74036977 6a0a7265
118 6c617469 76697479 08677265 656e656e 64036f72 6702756b 00000c00 01.
119 write=61
68000374 120 +0.005087
121 select max=6 rfds=[4,5] wfds=[] efds=[5] to=29.964049
a87602c7 122 select=1 rfds=[5] wfds=[] efds=[]
68000374 123 +0.001295
a87602c7 124 read fd=5 buflen=2
125 read=OK
126 0638.
68000374 127 +0.000649
a87602c7 128 read fd=5 buflen=1592
129 read=OK
130 311f8580 0001001e 00010001 05747275 6e630474 65737403 69776a0a 72656c61
131 74697669 74790867 7265656e 656e6403 6f726702 756b0000 0c0001c0 0c000c00
132 01000000 3c004704 6c6f6e67 06646f6d 61696e02 746f0566 6f726365 0a747275
133 6e636174 696f6e01 30047465 73740369 776a0a72 656c6174 69766974 79086772
134 65656e65 6e64036f 72670275 6b00c00c 000c0001 0000003c 0024046c 6f6e6706
135 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0131 c069c00c
136 000c0001 0000003c 0024046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
137 7472756e 63617469 6f6e0132 c069c00c 000c0001 0000003c 0024046c 6f6e6706
138 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0133 c069c00c
139 000c0001 0000003c 0024046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
140 7472756e 63617469 6f6e0134 c069c00c 000c0001 0000003c 0024046c 6f6e6706
141 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0135 c069c00c
142 000c0001 0000003c 0024046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
143 7472756e 63617469 6f6e0136 c069c00c 000c0001 0000003c 0024046c 6f6e6706
144 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0137 c069c00c
145 000c0001 0000003c 0024046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
146 7472756e 63617469 6f6e0138 c069c00c 000c0001 0000003c 0024046c 6f6e6706
147 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0139 c069c00c
148 000c0001 0000003c 0025046c 6f6e6706 646f6d61 696e0274 6f05666f 7263650a
149 7472756e 63617469 6f6e0231 30c069c0 0c000c00 01000000 3c002504 6c6f6e67
150 06646f6d 61696e02 746f0566 6f726365 0a747275 6e636174 696f6e02 3131c069
151 c00c000c 00010000 003c0025 046c6f6e 6706646f 6d61696e 02746f05 666f7263
152 650a7472 756e6361 74696f6e 023132c0 69c00c00 0c000100 00003c00 25046c6f
153 6e670664 6f6d6169 6e02746f 05666f72 63650a74 72756e63 6174696f 6e023133
154 c069c00c 000c0001 0000003c 0025046c 6f6e6706 646f6d61 696e0274 6f05666f
155 7263650a 7472756e 63617469 6f6e0231 34c069c0 0c000c00 01000000 3c002504
156 6c6f6e67 06646f6d 61696e02 746f0566 6f726365 0a747275 6e636174 696f6e02
157 3135c069 c00c000c 00010000 003c0025 046c6f6e 6706646f 6d61696e 02746f05
158 666f7263 650a7472 756e6361 74696f6e 023136c0 69c00c00 0c000100 00003c00
159 25046c6f 6e670664 6f6d6169 6e02746f 05666f72 63650a74 72756e63 6174696f
160 6e023137 c069c00c 000c0001 0000003c 0025046c 6f6e6706 646f6d61 696e0274
161 6f05666f 7263650a 7472756e 63617469 6f6e0231 38c069c0 0c000c00 01000000
162 3c002504 6c6f6e67 06646f6d 61696e02 746f0566 6f726365 0a747275 6e636174
163 696f6e02 3139c069 c00c000c 00010000 003c0025 046c6f6e 6706646f 6d61696e
164 02746f05 666f7263 650a7472 756e6361 74696f6e 023230c0 69c00c00 0c000100
165 00003c00 25046c6f 6e670664 6f6d6169 6e02746f 05666f72 63650a74 72756e63
166 6174696f 6e023231 c069c00c 000c0001 0000003c 0025046c 6f6e6706 646f6d61
167 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0232 32c069c0 0c000c00
168 01000000 3c002504 6c6f6e67 06646f6d 61696e02 746f0566 6f726365 0a747275
169 6e636174 696f6e02 3233c069 c00c000c 00010000 003c0025 046c6f6e 6706646f
170 6d61696e 02746f05 666f7263 650a7472 756e6361 74696f6e 023234c0 69c00c00
171 0c000100 00003c00 25046c6f 6e670664 6f6d6169 6e02746f 05666f72 63650a74
172 72756e63 6174696f 6e023235 c069c00c 000c0001 0000003c 0025046c 6f6e6706
173 646f6d61 696e0274 6f05666f 7263650a 7472756e 63617469 6f6e0232 36c069c0
174 0c000c00 01000000 3c002504 6c6f6e67 06646f6d 61696e02 746f0566 6f726365
175 0a747275 6e636174 696f6e02 3237c069 c00c000c 00010000 003c0025 046c6f6e
176 6706646f 6d61696e 02746f05 666f7263 650a7472 756e6361 74696f6e 023238c0
177 69c00c00 0c000100 00003c00 25046c6f 6e670664 6f6d6169 6e02746f 05666f72
178 63650a74 72756e63 6174696f 6e023239 c069c069 00020001 0000003c 0006036e
179 7330c072 036e7330 c0720001 00010001 51800004 ac122d06.
68000374 180 +0.009426
a87602c7 181 read fd=5 buflen=1594
182 read=EAGAIN
68000374 183 +0.033394
a87602c7 184 close fd=4
185 close=OK
68000374 186 +0.054384
a87602c7 187 close fd=5
188 close=OK
68000374 189 +0.000977