tests/test-http-bad-server.t
changeset 38728 88be288e8ac1
parent 38239 ead71b15efd5
child 39483 1fc39367eafd
equal deleted inserted replaced
38727:fcb517ff9562 38728:88be288e8ac1
   118   write(23) -> Server: badhttpserver\r\n
   118   write(23) -> Server: badhttpserver\r\n
   119   write(37) -> Date: $HTTP_DATE$\r\n
   119   write(37) -> Date: $HTTP_DATE$\r\n
   120   write(41) -> Content-Type: application/mercurial-0.1\r\n
   120   write(41) -> Content-Type: application/mercurial-0.1\r\n
   121   write(21) -> Content-Length: 436\r\n
   121   write(21) -> Content-Length: 436\r\n
   122   write(2) -> \r\n
   122   write(2) -> \r\n
   123   write(436) -> batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   123   write(436) -> 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
   124   readline(4? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   124   readline(4? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   125   readline(1? from -1) -> (1?) Accept-Encoding* (glob)
   125   readline(1? from -1) -> (1?) Accept-Encoding* (glob)
   126   read limit reached; closing socket
   126   read limit reached; closing socket
   127   readline(223 from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   127   readline(223 from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   128   readline(197 from -1) -> (27) Accept-Encoding: identity\r\n
   128   readline(197 from -1) -> (27) Accept-Encoding: identity\r\n
   159   write(23) -> Server: badhttpserver\r\n
   159   write(23) -> Server: badhttpserver\r\n
   160   write(37) -> Date: $HTTP_DATE$\r\n
   160   write(37) -> Date: $HTTP_DATE$\r\n
   161   write(41) -> Content-Type: application/mercurial-0.1\r\n
   161   write(41) -> Content-Type: application/mercurial-0.1\r\n
   162   write(21) -> Content-Length: 436\r\n
   162   write(21) -> Content-Length: 436\r\n
   163   write(2) -> \r\n
   163   write(2) -> \r\n
   164   write(436) -> batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   164   write(436) -> 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
   165   readline(13? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   165   readline(13? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   166   readline(1?? from -1) -> (27) Accept-Encoding: identity\r\n (glob)
   166   readline(1?? from -1) -> (27) Accept-Encoding: identity\r\n (glob)
   167   readline(8? from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   167   readline(8? from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   168   readline(5? from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   168   readline(5? from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   169   readline(1? from -1) -> (1?) x-hgproto-1:* (glob)
   169   readline(1? from -1) -> (1?) x-hgproto-1:* (glob)
   216   write(23) -> Server: badhttpserver\r\n
   216   write(23) -> Server: badhttpserver\r\n
   217   write(37) -> Date: $HTTP_DATE$\r\n
   217   write(37) -> Date: $HTTP_DATE$\r\n
   218   write(41) -> Content-Type: application/mercurial-0.1\r\n
   218   write(41) -> Content-Type: application/mercurial-0.1\r\n
   219   write(21) -> Content-Length: 449\r\n
   219   write(21) -> Content-Length: 449\r\n
   220   write(2) -> \r\n
   220   write(2) -> \r\n
   221   write(449) -> batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache 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
   221   write(449) -> 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
   222   readline(1?? from 65537) -> (27) POST /?cmd=batch HTTP/1.1\r\n (glob)
   222   readline(1?? from 65537) -> (27) POST /?cmd=batch HTTP/1.1\r\n (glob)
   223   readline(1?? from -1) -> (27) Accept-Encoding: identity\r\n (glob)
   223   readline(1?? from -1) -> (27) Accept-Encoding: identity\r\n (glob)
   224   readline(1?? from -1) -> (41) content-type: application/mercurial-0.1\r\n (glob)
   224   readline(1?? from -1) -> (41) content-type: application/mercurial-0.1\r\n (glob)
   225   readline(6? from -1) -> (33) vary: X-HgArgs-Post,X-HgProto-1\r\n (glob)
   225   readline(6? from -1) -> (33) vary: X-HgArgs-Post,X-HgProto-1\r\n (glob)
   226   readline(3? from -1) -> (19) x-hgargs-post: 28\r\n (glob)
   226   readline(3? from -1) -> (19) x-hgargs-post: 28\r\n (glob)
   327   write(23 from 23) -> (655) Server: badhttpserver\r\n
   327   write(23 from 23) -> (655) Server: badhttpserver\r\n
   328   write(37 from 37) -> (618) Date: $HTTP_DATE$\r\n
   328   write(37 from 37) -> (618) Date: $HTTP_DATE$\r\n
   329   write(41 from 41) -> (577) Content-Type: application/mercurial-0.1\r\n
   329   write(41 from 41) -> (577) Content-Type: application/mercurial-0.1\r\n
   330   write(21 from 21) -> (556) Content-Length: 436\r\n
   330   write(21 from 21) -> (556) Content-Length: 436\r\n
   331   write(2 from 2) -> (554) \r\n
   331   write(2 from 2) -> (554) \r\n
   332   write(436 from 436) -> (118) batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   332   write(436 from 436) -> (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
   333   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   333   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   334   readline(-1) -> (27) Accept-Encoding: identity\r\n
   334   readline(-1) -> (27) Accept-Encoding: identity\r\n
   335   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   335   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   336   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   336   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   337   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   337   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   375   write(23 from 23) -> (720) Server: badhttpserver\r\n
   375   write(23 from 23) -> (720) Server: badhttpserver\r\n
   376   write(37 from 37) -> (683) Date: $HTTP_DATE$\r\n
   376   write(37 from 37) -> (683) Date: $HTTP_DATE$\r\n
   377   write(41 from 41) -> (642) Content-Type: application/mercurial-0.1\r\n
   377   write(41 from 41) -> (642) Content-Type: application/mercurial-0.1\r\n
   378   write(21 from 21) -> (621) Content-Length: 436\r\n
   378   write(21 from 21) -> (621) Content-Length: 436\r\n
   379   write(2 from 2) -> (619) \r\n
   379   write(2 from 2) -> (619) \r\n
   380   write(436 from 436) -> (183) batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   380   write(436 from 436) -> (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
   381   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   381   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   382   readline(-1) -> (27) Accept-Encoding: identity\r\n
   382   readline(-1) -> (27) Accept-Encoding: identity\r\n
   383   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   383   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   384   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   384   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   385   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   385   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   427   write(23 from 23) -> (867) Server: badhttpserver\r\n
   427   write(23 from 23) -> (867) Server: badhttpserver\r\n
   428   write(37 from 37) -> (830) Date: $HTTP_DATE$\r\n
   428   write(37 from 37) -> (830) Date: $HTTP_DATE$\r\n
   429   write(41 from 41) -> (789) Content-Type: application/mercurial-0.1\r\n
   429   write(41 from 41) -> (789) Content-Type: application/mercurial-0.1\r\n
   430   write(21 from 21) -> (768) Content-Length: 436\r\n
   430   write(21 from 21) -> (768) Content-Length: 436\r\n
   431   write(2 from 2) -> (766) \r\n
   431   write(2 from 2) -> (766) \r\n
   432   write(436 from 436) -> (330) batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   432   write(436 from 436) -> (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
   433   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   433   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   434   readline(-1) -> (27) Accept-Encoding: identity\r\n
   434   readline(-1) -> (27) Accept-Encoding: identity\r\n
   435   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   435   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   436   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   436   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   437   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   437   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   488   write(23 from 23) -> (905) Server: badhttpserver\r\n
   488   write(23 from 23) -> (905) Server: badhttpserver\r\n
   489   write(37 from 37) -> (868) Date: $HTTP_DATE$\r\n
   489   write(37 from 37) -> (868) Date: $HTTP_DATE$\r\n
   490   write(41 from 41) -> (827) Content-Type: application/mercurial-0.1\r\n
   490   write(41 from 41) -> (827) Content-Type: application/mercurial-0.1\r\n
   491   write(21 from 21) -> (806) Content-Length: 436\r\n
   491   write(21 from 21) -> (806) Content-Length: 436\r\n
   492   write(2 from 2) -> (804) \r\n
   492   write(2 from 2) -> (804) \r\n
   493   write(436 from 436) -> (368) batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   493   write(436 from 436) -> (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
   494   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   494   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   495   readline(-1) -> (27) Accept-Encoding: identity\r\n
   495   readline(-1) -> (27) Accept-Encoding: identity\r\n
   496   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   496   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   497   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   497   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   498   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   498   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   551   write(23 from 23) -> (929) Server: badhttpserver\r\n
   551   write(23 from 23) -> (929) Server: badhttpserver\r\n
   552   write(37 from 37) -> (892) Date: $HTTP_DATE$\r\n
   552   write(37 from 37) -> (892) Date: $HTTP_DATE$\r\n
   553   write(41 from 41) -> (851) Content-Type: application/mercurial-0.1\r\n
   553   write(41 from 41) -> (851) Content-Type: application/mercurial-0.1\r\n
   554   write(21 from 21) -> (830) Content-Length: 436\r\n
   554   write(21 from 21) -> (830) Content-Length: 436\r\n
   555   write(2 from 2) -> (828) \r\n
   555   write(2 from 2) -> (828) \r\n
   556   write(436 from 436) -> (392) batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   556   write(436 from 436) -> (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
   557   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   557   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   558   readline(-1) -> (27) Accept-Encoding: identity\r\n
   558   readline(-1) -> (27) Accept-Encoding: identity\r\n
   559   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   559   readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
   560   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   560   readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
   561   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   561   readline(-1) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n