Show More
@@ -296,6 +296,7 b' test-histedit-outgoing.t' | |||
|
296 | 296 | test-histedit-templates.t |
|
297 | 297 | test-http-api-httpv2.t |
|
298 | 298 | test-http-api.t |
|
299 | test-http-bad-server.t | |
|
299 | 300 | test-http-branchmap.t |
|
300 | 301 | test-http-bundle1.t |
|
301 | 302 | test-http-clone-r.t |
@@ -116,8 +116,10 b' Failure on subsequent HTTP request on th' | |||
|
116 | 116 | readline(115 from *) -> (*) host: localhost:$HGPORT\r\n (glob) |
|
117 | 117 | readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
118 | 118 | readline(* from *) -> (2) \r\n (glob) |
|
119 | sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
120 | sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
119 | sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
120 | sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
121 | write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
122 | write(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
121 | 123 | write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
122 | 124 | write(23) -> Server: badhttpserver\r\n (no-py3 !) |
|
123 | 125 | write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -159,8 +161,10 b' Failure to read getbundle HTTP request' | |||
|
159 | 161 | readline(213 from *) -> (*) host: localhost:$HGPORT\r\n (glob) |
|
160 | 162 | readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
161 | 163 | readline(* from *) -> (2) \r\n (glob) |
|
162 | sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
163 | sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
164 | sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
165 | sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
166 | write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
167 | write(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
164 | 168 | write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
165 | 169 | write(23) -> Server: badhttpserver\r\n (no-py3 !) |
|
166 | 170 | write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -183,8 +187,10 b' Failure to read getbundle HTTP request' | |||
|
183 | 187 | readline(98 from *) -> (*) host: localhost:$HGPORT\r\n (glob) |
|
184 | 188 | readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
185 | 189 | readline(* from *) -> (2) \r\n (glob) |
|
186 | sendall(159) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !) | |
|
187 | sendall(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !) | |
|
190 | sendall(159) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !) | |
|
191 | sendall(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !) | |
|
192 | write(159) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !) | |
|
193 | write(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 no-py36 !) | |
|
188 | 194 | write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
189 | 195 | write(23) -> Server: badhttpserver\r\n (no-py3 !) |
|
190 | 196 | write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -220,8 +226,10 b' Now do a variation using POST to send ar' | |||
|
220 | 226 | readline(234 from *) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
221 | 227 | readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
222 | 228 | readline(* from *) -> (2) \r\n (glob) |
|
223 | sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 463\r\n\r\n (py3 !) | |
|
224 | sendall(463) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
229 | sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 463\r\n\r\n (py36 !) | |
|
230 | sendall(463) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
231 | write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 463\r\n\r\n (py3 no-py36 !) | |
|
232 | write(463) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
225 | 233 | write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
226 | 234 | write(23) -> Server: badhttpserver\r\n (no-py3 !) |
|
227 | 235 | write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -253,6 +261,7 b' Now do a variation using POST to send ar' | |||
|
253 | 261 | Traceback (most recent call last): |
|
254 | 262 | Exception: connection closed after receiving N bytes |
|
255 | 263 | |
|
264 | write(126) -> HTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !) | |
|
256 | 265 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !) |
|
257 | 266 | |
|
258 | 267 | $ rm -f error.log |
@@ -277,13 +286,15 b' Server sends a single character from the' | |||
|
277 | 286 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
278 | 287 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
279 | 288 | readline(*) -> (2) \r\n (glob) |
|
280 | sendall(1 from 160) -> (0) H (py3 !) | |
|
289 | sendall(1 from 160) -> (0) H (py36 !) | |
|
290 | write(1 from 160) -> (0) H (py3 no-py36 !) | |
|
281 | 291 | write(1 from 36) -> (0) H (no-py3 !) |
|
282 | 292 | write limit reached; closing socket |
|
283 | 293 | $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=capabilities': (glob) |
|
284 | 294 | Traceback (most recent call last): |
|
285 | 295 | Exception: connection closed after sending N bytes |
|
286 | 296 | |
|
297 | write(286) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !) | |
|
287 | 298 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !) |
|
288 | 299 | |
|
289 | 300 | $ rm -f error.log |
@@ -307,8 +318,10 b' Server sends an incomplete capabilities ' | |||
|
307 | 318 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
308 | 319 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
309 | 320 | readline(*) -> (2) \r\n (glob) |
|
310 | sendall(160 from 160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
311 | sendall(20 from 450) -> (0) batch branchmap bund (py3 !) | |
|
321 | sendall(160 from 160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
322 | sendall(20 from 450) -> (0) batch branchmap bund (py36 !) | |
|
323 | write(160 from 160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
324 | write(20 from 450) -> (0) batch branchmap bund (py3 no-py36 !) | |
|
312 | 325 | write(36 from 36) -> (144) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
313 | 326 | write(23 from 23) -> (121) Server: badhttpserver\r\n (no-py3 !) |
|
314 | 327 | write(37 from 37) -> (84) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -348,8 +361,10 b' TODO this output is horrible' | |||
|
348 | 361 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
349 | 362 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
350 | 363 | readline(*) -> (2) \r\n (glob) |
|
351 | sendall(160 from 160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
352 | sendall(450 from 450) -> (118) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
364 | sendall(160 from 160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
365 | sendall(450 from 450) -> (118) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
366 | write(160 from 160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
367 | write(450 from 450) -> (118) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
353 | 368 | write(36 from 36) -> (692) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
354 | 369 | write(23 from 23) -> (669) Server: badhttpserver\r\n (no-py3 !) |
|
355 | 370 | write(37 from 37) -> (632) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -366,7 +381,8 b' TODO this output is horrible' | |||
|
366 | 381 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
367 | 382 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
368 | 383 | readline(*) -> (2) \r\n (glob) |
|
369 | sendall(118 from 159) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: applicat (py3 !) | |
|
384 | sendall(118 from 159) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: applicat (py36 !) | |
|
385 | write(118 from 159) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: applicat (py3 no-py36 !) | |
|
370 | 386 | write(36 from 36) -> (82) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
371 | 387 | write(23 from 23) -> (59) Server: badhttpserver\r\n (no-py3 !) |
|
372 | 388 | write(37 from 37) -> (22) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -376,6 +392,7 b' TODO this output is horrible' | |||
|
376 | 392 | Traceback (most recent call last): |
|
377 | 393 | Exception: connection closed after sending N bytes |
|
378 | 394 | |
|
395 | write(285) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !) | |
|
379 | 396 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !) |
|
380 | 397 | |
|
381 | 398 | $ rm -f error.log |
@@ -403,8 +420,10 b' TODO client spews a stack due to uncaugh' | |||
|
403 | 420 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
404 | 421 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
405 | 422 | readline(*) -> (2) \r\n (glob) |
|
406 | sendall(160 from 160) -> (633) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
407 | sendall(450 from 450) -> (183) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
423 | sendall(160 from 160) -> (633) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
424 | sendall(450 from 450) -> (183) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
425 | write(160 from 160) -> (633) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
426 | write(450 from 450) -> (183) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
408 | 427 | write(36 from 36) -> (757) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
409 | 428 | write(23 from 23) -> (734) Server: badhttpserver\r\n (no-py3 !) |
|
410 | 429 | write(37 from 37) -> (697) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -421,8 +440,10 b' TODO client spews a stack due to uncaugh' | |||
|
421 | 440 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
422 | 441 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
423 | 442 | readline(*) -> (2) \r\n (glob) |
|
424 | sendall(159 from 159) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !) | |
|
425 | sendall(24 from 42) -> (0) 96ee1d7354c4ad7372047672 (py3 !) | |
|
443 | sendall(159 from 159) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !) | |
|
444 | sendall(24 from 42) -> (0) 96ee1d7354c4ad7372047672 (py36 !) | |
|
445 | write(159 from 159) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !) | |
|
446 | write(24 from 42) -> (0) 96ee1d7354c4ad7372047672 (py3 no-py36 !) | |
|
426 | 447 | write(36 from 36) -> (147) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
427 | 448 | write(23 from 23) -> (124) Server: badhttpserver\r\n (no-py3 !) |
|
428 | 449 | write(37 from 37) -> (87) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -463,8 +484,10 b' TODO this output is terrible' | |||
|
463 | 484 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
464 | 485 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
465 | 486 | readline(*) -> (2) \r\n (glob) |
|
466 | sendall(160 from 160) -> (780) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
467 | sendall(450 from 450) -> (330) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
487 | sendall(160 from 160) -> (780) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
488 | sendall(450 from 450) -> (330) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
489 | write(160 from 160) -> (780) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
490 | write(450 from 450) -> (330) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
468 | 491 | write(36 from 36) -> (904) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
469 | 492 | write(23 from 23) -> (881) Server: badhttpserver\r\n (no-py3 !) |
|
470 | 493 | write(37 from 37) -> (844) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -481,8 +504,10 b' TODO this output is terrible' | |||
|
481 | 504 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
482 | 505 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
483 | 506 | readline(*) -> (2) \r\n (glob) |
|
484 | sendall(159 from 159) -> (171) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !) | |
|
485 | sendall(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !) | |
|
507 | sendall(159 from 159) -> (171) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !) | |
|
508 | sendall(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !) | |
|
509 | write(159 from 159) -> (171) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !) | |
|
510 | write(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 no-py36 !) | |
|
486 | 511 | write(36 from 36) -> (294) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
487 | 512 | write(23 from 23) -> (271) Server: badhttpserver\r\n (no-py3 !) |
|
488 | 513 | write(37 from 37) -> (234) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -499,7 +524,8 b' TODO this output is terrible' | |||
|
499 | 524 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
500 | 525 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
501 | 526 | readline(*) -> (2) \r\n (glob) |
|
502 | sendall(129 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercuri (py3 !) | |
|
527 | sendall(129 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercuri (py36 !) | |
|
528 | write(129 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercuri (py3 no-py36 !) | |
|
503 | 529 | write(36 from 36) -> (93) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
504 | 530 | write(23 from 23) -> (70) Server: badhttpserver\r\n (no-py3 !) |
|
505 | 531 | write(37 from 37) -> (33) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -509,6 +535,7 b' TODO this output is terrible' | |||
|
509 | 535 | Traceback (most recent call last): |
|
510 | 536 | Exception: connection closed after sending N bytes |
|
511 | 537 | |
|
538 | write(293) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !) | |
|
512 | 539 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !) |
|
513 | 540 | |
|
514 | 541 | $ rm -f error.log |
@@ -525,7 +552,7 b' Server stops before it sends transfer en' | |||
|
525 | 552 | |
|
526 | 553 | $ killdaemons.py $DAEMON_PIDS |
|
527 | 554 | |
|
528 | #if py3 | |
|
555 | #if py36 | |
|
529 | 556 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -3 |
|
530 | 557 | Traceback (most recent call last): |
|
531 | 558 | Exception: connection closed after sending N bytes |
@@ -536,7 +563,8 b' Server stops before it sends transfer en' | |||
|
536 | 563 | Traceback (most recent call last): |
|
537 | 564 | Exception: connection closed after sending N bytes |
|
538 | 565 | |
|
539 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n | |
|
566 | write(293) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
567 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !) | |
|
540 | 568 | #endif |
|
541 | 569 | |
|
542 | 570 | $ rm -f error.log |
@@ -561,8 +589,10 b' Server sends empty HTTP body for getbund' | |||
|
561 | 589 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
562 | 590 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
563 | 591 | readline(*) -> (2) \r\n (glob) |
|
564 | sendall(160 from 160) -> (818) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
565 | sendall(450 from 450) -> (368) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
592 | sendall(160 from 160) -> (818) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
593 | sendall(450 from 450) -> (368) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
594 | write(160 from 160) -> (818) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
595 | write(450 from 450) -> (368) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
566 | 596 | write(36 from 36) -> (942) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
567 | 597 | write(23 from 23) -> (919) Server: badhttpserver\r\n (no-py3 !) |
|
568 | 598 | write(37 from 37) -> (882) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -579,8 +609,10 b' Server sends empty HTTP body for getbund' | |||
|
579 | 609 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
580 | 610 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
581 | 611 | readline(*) -> (2) \r\n (glob) |
|
582 | sendall(159 from 159) -> (209) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !) | |
|
583 | sendall(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !) | |
|
612 | sendall(159 from 159) -> (209) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !) | |
|
613 | sendall(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !) | |
|
614 | write(159 from 159) -> (209) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !) | |
|
615 | write(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 no-py36 !) | |
|
584 | 616 | write(36 from 36) -> (332) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
585 | 617 | write(23 from 23) -> (309) Server: badhttpserver\r\n (no-py3 !) |
|
586 | 618 | write(37 from 37) -> (272) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -597,7 +629,8 b' Server sends empty HTTP body for getbund' | |||
|
597 | 629 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
598 | 630 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
599 | 631 | readline(*) -> (2) \r\n (glob) |
|
600 | sendall(167 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
632 | sendall(167 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py36 !) | |
|
633 | write(167 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !) | |
|
601 | 634 | write(36 from 36) -> (131) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
602 | 635 | write(23 from 23) -> (108) Server: badhttpserver\r\n (no-py3 !) |
|
603 | 636 | write(37 from 37) -> (71) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -609,6 +642,7 b' Server sends empty HTTP body for getbund' | |||
|
609 | 642 | Traceback (most recent call last): |
|
610 | 643 | Exception: connection closed after sending N bytes |
|
611 | 644 | |
|
645 | write(293) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !) | |
|
612 | 646 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !) |
|
613 | 647 | |
|
614 | 648 | $ rm -f error.log |
@@ -633,8 +667,10 b' Server sends partial compression string' | |||
|
633 | 667 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
634 | 668 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
635 | 669 | readline(*) -> (2) \r\n (glob) |
|
636 | sendall(160 from 160) -> (842) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !) | |
|
637 | sendall(450 from 450) -> (392) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !) | |
|
670 | sendall(160 from 160) -> (842) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !) | |
|
671 | sendall(450 from 450) -> (392) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !) | |
|
672 | write(160 from 160) -> (842) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !) | |
|
673 | write(450 from 450) -> (392) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !) | |
|
638 | 674 | write(36 from 36) -> (966) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
639 | 675 | write(23 from 23) -> (943) Server: badhttpserver\r\n (no-py3 !) |
|
640 | 676 | write(37 from 37) -> (906) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -651,8 +687,9 b' Server sends partial compression string' | |||
|
651 | 687 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
652 | 688 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
653 | 689 | readline(*) -> (2) \r\n (glob) |
|
654 | sendall(159 from 159) -> (233) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !) | |
|
655 | sendall(42 from 42) -> (191) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !) | |
|
690 | sendall(159 from 159) -> (233) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !) | |
|
691 | sendall(42 from 42) -> (191) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !) | |
|
692 | write(159 from 159) -> (233) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !) | |
|
656 | 693 | write(36 from 36) -> (356) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
657 | 694 | write(23 from 23) -> (333) Server: badhttpserver\r\n (no-py3 !) |
|
658 | 695 | write(37 from 37) -> (296) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -669,10 +706,11 b' Server sends partial compression string' | |||
|
669 | 706 | readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
670 | 707 | readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) |
|
671 | 708 | readline(*) -> (2) \r\n (glob) |
|
672 | sendall(167 from 167) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
673 | sendall(6 from 6) -> (18) 1\\r\\n\x04\\r\\n (esc) (py3 !) | |
|
674 | sendall(9 from 9) -> (9) 4\r\nnone\r\n (py3 !) | |
|
675 | sendall(9 from 9) -> (0) 4\r\nHG20\r\n (py3 !) | |
|
709 | sendall(167 from 167) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py36 !) | |
|
710 | sendall(6 from 6) -> (18) 1\\r\\n\x04\\r\\n (esc) (py36 !) | |
|
711 | sendall(9 from 9) -> (9) 4\r\nnone\r\n (py36 !) | |
|
712 | sendall(9 from 9) -> (0) 4\r\nHG20\r\n (py36 !) | |
|
713 | write(167 from 167) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !) | |
|
676 | 714 | write(36 from 36) -> (155) HTTP/1.1 200 Script output follows\r\n (no-py3 !) |
|
677 | 715 | write(23 from 23) -> (132) Server: badhttpserver\r\n (no-py3 !) |
|
678 | 716 | write(37 from 37) -> (95) Date: $HTTP_DATE$\r\n (no-py3 !) |
@@ -705,7 +743,7 b' Server sends partial bundle2 header magi' | |||
|
705 | 743 | |
|
706 | 744 | $ killdaemons.py $DAEMON_PIDS |
|
707 | 745 | |
|
708 | #if py3 | |
|
746 | #if py36 | |
|
709 | 747 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -9 |
|
710 | 748 | sendall(167 from 167) -> (21) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n |
|
711 | 749 | sendall(6 from 6) -> (15) 1\\r\\n\x04\\r\\n (esc) |
@@ -719,8 +757,10 b' Server sends partial bundle2 header magi' | |||
|
719 | 757 | |
|
720 | 758 | #else |
|
721 | 759 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -11 |
|
722 | write(28 from 28) -> (23) Transfer-Encoding: chunked\r\n | |
|
723 | write(2 from 2) -> (21) \r\n | |
|
760 | readline(65537) -> (2) \r\n (py3 !) | |
|
761 | write(167 from 167) -> (21) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
762 | write(28 from 28) -> (23) Transfer-Encoding: chunked\r\n (no-py3 !) | |
|
763 | write(2 from 2) -> (21) \r\n (no-py3 !) | |
|
724 | 764 | write(6 from 6) -> (15) 1\\r\\n\x04\\r\\n (esc) |
|
725 | 765 | write(9 from 9) -> (6) 4\r\nnone\r\n |
|
726 | 766 | write(6 from 9) -> (0) 4\r\nHG2 |
@@ -748,7 +788,7 b' Server sends incomplete bundle2 stream p' | |||
|
748 | 788 | |
|
749 | 789 | $ killdaemons.py $DAEMON_PIDS |
|
750 | 790 | |
|
751 | #if py3 | |
|
791 | #if py36 | |
|
752 | 792 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -10 |
|
753 | 793 | sendall(167 from 167) -> (30) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n |
|
754 | 794 | sendall(6 from 6) -> (24) 1\\r\\n\x04\\r\\n (esc) |
@@ -763,8 +803,10 b' Server sends incomplete bundle2 stream p' | |||
|
763 | 803 | |
|
764 | 804 | #else |
|
765 | 805 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12 |
|
766 | write(28 from 28) -> (32) Transfer-Encoding: chunked\r\n | |
|
767 | write(2 from 2) -> (30) \r\n | |
|
806 | readline(65537) -> (2) \r\n (py3 !) | |
|
807 | write(167 from 167) -> (30) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
808 | write(28 from 28) -> (32) Transfer-Encoding: chunked\r\n (no-py3 !) | |
|
809 | write(2 from 2) -> (30) \r\n (no-py3 !) | |
|
768 | 810 | write(6 from 6) -> (24) 1\\r\\n\x04\\r\\n (esc) |
|
769 | 811 | write(9 from 9) -> (15) 4\r\nnone\r\n |
|
770 | 812 | write(9 from 9) -> (6) 4\r\nHG20\r\n |
@@ -792,7 +834,7 b' Servers stops after bundle2 stream param' | |||
|
792 | 834 | |
|
793 | 835 | $ killdaemons.py $DAEMON_PIDS |
|
794 | 836 | |
|
795 | #if py3 | |
|
837 | #if py36 | |
|
796 | 838 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -10 |
|
797 | 839 | sendall(167 from 167) -> (33) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n |
|
798 | 840 | sendall(6 from 6) -> (27) 1\\r\\n\x04\\r\\n (esc) |
@@ -807,8 +849,10 b' Servers stops after bundle2 stream param' | |||
|
807 | 849 | |
|
808 | 850 | #else |
|
809 | 851 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12 |
|
810 | write(28 from 28) -> (35) Transfer-Encoding: chunked\r\n | |
|
811 | write(2 from 2) -> (33) \r\n | |
|
852 | readline(65537) -> (2) \r\n (py3 !) | |
|
853 | write(167 from 167) -> (33) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
854 | write(28 from 28) -> (35) Transfer-Encoding: chunked\r\n (no-py3 !) | |
|
855 | write(2 from 2) -> (33) \r\n (no-py3 !) | |
|
812 | 856 | write(6 from 6) -> (27) 1\\r\\n\x04\\r\\n (esc) |
|
813 | 857 | write(9 from 9) -> (18) 4\r\nnone\r\n |
|
814 | 858 | write(9 from 9) -> (9) 4\r\nHG20\r\n |
@@ -836,7 +880,7 b' Server stops sending after bundle2 part ' | |||
|
836 | 880 | |
|
837 | 881 | $ killdaemons.py $DAEMON_PIDS |
|
838 | 882 | |
|
839 | #if py3 | |
|
883 | #if py36 | |
|
840 | 884 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -11 |
|
841 | 885 | sendall(167 from 167) -> (42) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n |
|
842 | 886 | sendall(6 from 6) -> (36) 1\\r\\n\x04\\r\\n (esc) |
@@ -853,8 +897,10 b' Server stops sending after bundle2 part ' | |||
|
853 | 897 | #else |
|
854 | 898 | |
|
855 | 899 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -13 |
|
856 | write(28 from 28) -> (44) Transfer-Encoding: chunked\r\n | |
|
857 | write(2 from 2) -> (42) \r\n | |
|
900 | readline(65537) -> (2) \r\n (py3 !) | |
|
901 | write(167 from 167) -> (42) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
902 | write(28 from 28) -> (44) Transfer-Encoding: chunked\r\n (no-py3 !) | |
|
903 | write(2 from 2) -> (42) \r\n (no-py3 !) | |
|
858 | 904 | write(6 from 6) -> (36) 1\\r\\n\x04\\r\\n (esc) |
|
859 | 905 | write(9 from 9) -> (27) 4\r\nnone\r\n |
|
860 | 906 | write(9 from 9) -> (18) 4\r\nHG20\r\n |
@@ -886,7 +932,7 b' Server stops sending after bundle2 part ' | |||
|
886 | 932 | |
|
887 | 933 | $ killdaemons.py $DAEMON_PIDS |
|
888 | 934 | |
|
889 | #if py3 | |
|
935 | #if py36 | |
|
890 | 936 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12 |
|
891 | 937 | sendall(167 from 167) -> (89) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n |
|
892 | 938 | sendall(6 from 6) -> (83) 1\\r\\n\x04\\r\\n (esc) |
@@ -903,8 +949,10 b' Server stops sending after bundle2 part ' | |||
|
903 | 949 | |
|
904 | 950 | #else |
|
905 | 951 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14 |
|
906 | write(28 from 28) -> (91) Transfer-Encoding: chunked\r\n | |
|
907 | write(2 from 2) -> (89) \r\n | |
|
952 | readline(65537) -> (2) \r\n (py3 !) | |
|
953 | write(167 from 167) -> (89) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
954 | write(28 from 28) -> (91) Transfer-Encoding: chunked\r\n (no-py3 !) | |
|
955 | write(2 from 2) -> (89) \r\n (no-py3 !) | |
|
908 | 956 | write(6 from 6) -> (83) 1\\r\\n\x04\\r\\n (esc) |
|
909 | 957 | write(9 from 9) -> (74) 4\r\nnone\r\n |
|
910 | 958 | write(9 from 9) -> (65) 4\r\nHG20\r\n |
@@ -938,7 +986,7 b' Server stops after bundle2 part payload ' | |||
|
938 | 986 | |
|
939 | 987 | $ killdaemons.py $DAEMON_PIDS |
|
940 | 988 | |
|
941 | #if py3 | |
|
989 | #if py36 | |
|
942 | 990 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14 |
|
943 | 991 | sendall(167 from 167) -> (110) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n |
|
944 | 992 | sendall(6 from 6) -> (104) 1\\r\\n\x04\\r\\n (esc) |
@@ -957,7 +1005,8 b' Server stops after bundle2 part payload ' | |||
|
957 | 1005 | |
|
958 | 1006 | #else |
|
959 | 1007 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -15 |
|
960 | write(2 from 2) -> (110) \r\n | |
|
1008 | write(167 from 167) -> (110) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
1009 | write(2 from 2) -> (110) \r\n (no-py3 !) | |
|
961 | 1010 | write(6 from 6) -> (104) 1\\r\\n\x04\\r\\n (esc) |
|
962 | 1011 | write(9 from 9) -> (95) 4\r\nnone\r\n |
|
963 | 1012 | write(9 from 9) -> (86) 4\r\nHG20\r\n |
@@ -992,7 +1041,7 b' Server stops sending in middle of bundle' | |||
|
992 | 1041 | |
|
993 | 1042 | $ killdaemons.py $DAEMON_PIDS |
|
994 | 1043 | |
|
995 | #if py3 | |
|
1044 | #if py36 | |
|
996 | 1045 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14 |
|
997 | 1046 | sendall(167 from 167) -> (571) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n |
|
998 | 1047 | sendall(6 from 6) -> (565) 1\\r\\n\x04\\r\\n (esc) |
@@ -1011,8 +1060,10 b' Server stops sending in middle of bundle' | |||
|
1011 | 1060 | |
|
1012 | 1061 | #else |
|
1013 | 1062 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -16 |
|
1014 | write(28 from 28) -> (573) Transfer-Encoding: chunked\r\n | |
|
1015 | write(2 from 2) -> (571) \r\n | |
|
1063 | readline(65537) -> (2) \r\n (py3 !) | |
|
1064 | write(167 from 167) -> (571) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !) | |
|
1065 | write(28 from 28) -> (573) Transfer-Encoding: chunked\r\n (no-py3 !) | |
|
1066 | write(2 from 2) -> (571) \r\n (no-py3 !) | |
|
1016 | 1067 | write(6 from 6) -> (565) 1\\r\\n\x04\\r\\n (esc) |
|
1017 | 1068 | write(9 from 9) -> (556) 4\r\nnone\r\n |
|
1018 | 1069 | write(9 from 9) -> (547) 4\r\nHG20\r\n |
@@ -1051,7 +1102,7 b' Server stops sending after 0 length payl' | |||
|
1051 | 1102 | |
|
1052 | 1103 | $ killdaemons.py $DAEMON_PIDS |
|
1053 | 1104 | |
|
1054 | #if py3 | |
|
1105 | #if py36 | |
|
1055 | 1106 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -16 |
|
1056 | 1107 | sendall(6 from 6) -> (596) 1\\r\\n\x04\\r\\n (esc) |
|
1057 | 1108 | sendall(9 from 9) -> (587) 4\r\nnone\r\n |
@@ -1112,7 +1163,7 b' This is before the 0 size chunked transf' | |||
|
1112 | 1163 | |
|
1113 | 1164 | $ killdaemons.py $DAEMON_PIDS |
|
1114 | 1165 | |
|
1115 | #if py3 | |
|
1166 | #if py36 | |
|
1116 | 1167 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -25 |
|
1117 | 1168 | sendall(9 from 9) -> (851) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc) |
|
1118 | 1169 | sendall(9 from 9) -> (842) 4\\r\\n\x00\x00\x00)\\r\\n (esc) |
@@ -1190,7 +1241,7 b' Server sends a size 0 chunked-transfer s' | |||
|
1190 | 1241 | |
|
1191 | 1242 | $ killdaemons.py $DAEMON_PIDS |
|
1192 | 1243 | |
|
1193 | #if py3 | |
|
1244 | #if py36 | |
|
1194 | 1245 | $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -26 |
|
1195 | 1246 | sendall(9 from 9) -> (854) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc) |
|
1196 | 1247 | sendall(9 from 9) -> (845) 4\\r\\n\x00\x00\x00)\\r\\n (esc) |
General Comments 0
You need to be logged in to leave comments.
Login now