tests/test-http-bad-server.t
changeset 36924 03368431f014
parent 36612 e89959970a08
child 36968 2090044a288d
equal deleted inserted replaced
36923:d40b9e29c114 36924:03368431f014
   114   readline(115 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   114   readline(115 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   115   readline(9? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   115   readline(9? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   116   readline(4? from -1) -> (2) \r\n (glob)
   116   readline(4? from -1) -> (2) \r\n (glob)
   117   write(36) -> HTTP/1.1 200 Script output follows\r\n
   117   write(36) -> HTTP/1.1 200 Script output follows\r\n
   118   write(23) -> Server: badhttpserver\r\n
   118   write(23) -> Server: badhttpserver\r\n
   119   write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\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: 417\r\n
   121   write(21) -> Content-Length: 417\r\n
   122   write(2) -> \r\n
   122   write(2) -> \r\n
   123   write(417) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   123   write(417) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   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)
   155   readline(209 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   155   readline(209 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   156   readline(18? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   156   readline(18? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   157   readline(13? from -1) -> (2) \r\n (glob)
   157   readline(13? from -1) -> (2) \r\n (glob)
   158   write(36) -> HTTP/1.1 200 Script output follows\r\n
   158   write(36) -> HTTP/1.1 200 Script output follows\r\n
   159   write(23) -> Server: badhttpserver\r\n
   159   write(23) -> Server: badhttpserver\r\n
   160   write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\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: 417\r\n
   162   write(21) -> Content-Length: 417\r\n
   163   write(2) -> \r\n
   163   write(2) -> \r\n
   164   write(417) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   164   write(417) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   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)
   177   readline(98 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   177   readline(98 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   178   readline(7? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   178   readline(7? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   179   readline(2? from -1) -> (2) \r\n (glob)
   179   readline(2? from -1) -> (2) \r\n (glob)
   180   write(36) -> HTTP/1.1 200 Script output follows\r\n
   180   write(36) -> HTTP/1.1 200 Script output follows\r\n
   181   write(23) -> Server: badhttpserver\r\n
   181   write(23) -> Server: badhttpserver\r\n
   182   write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   182   write(37) -> Date: $HTTP_DATE$\r\n
   183   write(41) -> Content-Type: application/mercurial-0.1\r\n
   183   write(41) -> Content-Type: application/mercurial-0.1\r\n
   184   write(20) -> Content-Length: 42\r\n
   184   write(20) -> Content-Length: 42\r\n
   185   write(2) -> \r\n
   185   write(2) -> \r\n
   186   write(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   186   write(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   187   readline(2? from 65537) -> (2?) GET /?cmd=getbundle HTTP* (glob)
   187   readline(2? from 65537) -> (2?) GET /?cmd=getbundle HTTP* (glob)
   212   readline(220 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   212   readline(220 from -1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   213   readline(19? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   213   readline(19? from -1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   214   readline(14? from -1) -> (2) \r\n (glob)
   214   readline(14? from -1) -> (2) \r\n (glob)
   215   write(36) -> HTTP/1.1 200 Script output follows\r\n
   215   write(36) -> HTTP/1.1 200 Script output follows\r\n
   216   write(23) -> Server: badhttpserver\r\n
   216   write(23) -> Server: badhttpserver\r\n
   217   write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\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: 430\r\n
   219   write(21) -> Content-Length: 430\r\n
   220   write(2) -> \r\n
   220   write(2) -> \r\n
   221   write(430) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httppostargs httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   221   write(430) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httppostargs httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   222   readline\(14[67] from 65537\) -> \(2[67]\) POST /\?cmd=batch HTTP/1.1\\r\\n (re)
   222   readline\(14[67] from 65537\) -> \(2[67]\) POST /\?cmd=batch HTTP/1.1\\r\\n (re)
   288   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   288   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   289   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   289   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   290   readline(-1) -> (2) \r\n
   290   readline(-1) -> (2) \r\n
   291   write(36 from 36) -> (144) HTTP/1.1 200 Script output follows\r\n
   291   write(36 from 36) -> (144) HTTP/1.1 200 Script output follows\r\n
   292   write(23 from 23) -> (121) Server: badhttpserver\r\n
   292   write(23 from 23) -> (121) Server: badhttpserver\r\n
   293   write(37 from 37) -> (84) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   293   write(37 from 37) -> (84) Date: $HTTP_DATE$\r\n
   294   write(41 from 41) -> (43) Content-Type: application/mercurial-0.1\r\n
   294   write(41 from 41) -> (43) Content-Type: application/mercurial-0.1\r\n
   295   write(21 from 21) -> (22) Content-Length: 417\r\n
   295   write(21 from 21) -> (22) Content-Length: 417\r\n
   296   write(2 from 2) -> (20) \r\n
   296   write(2 from 2) -> (20) \r\n
   297   write(20 from 417) -> (0) lookup branchmap pus
   297   write(20 from 417) -> (0) lookup branchmap pus
   298   write limit reached; closing socket
   298   write limit reached; closing socket
   323   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   323   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   324   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   324   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   325   readline(-1) -> (2) \r\n
   325   readline(-1) -> (2) \r\n
   326   write(36 from 36) -> (659) HTTP/1.1 200 Script output follows\r\n
   326   write(36 from 36) -> (659) HTTP/1.1 200 Script output follows\r\n
   327   write(23 from 23) -> (636) Server: badhttpserver\r\n
   327   write(23 from 23) -> (636) Server: badhttpserver\r\n
   328   write(37 from 37) -> (599) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   328   write(37 from 37) -> (599) Date: $HTTP_DATE$\r\n
   329   write(41 from 41) -> (558) Content-Type: application/mercurial-0.1\r\n
   329   write(41 from 41) -> (558) Content-Type: application/mercurial-0.1\r\n
   330   write(21 from 21) -> (537) Content-Length: 417\r\n
   330   write(21 from 21) -> (537) Content-Length: 417\r\n
   331   write(2 from 2) -> (535) \r\n
   331   write(2 from 2) -> (535) \r\n
   332   write(417 from 417) -> (118) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   332   write(417 from 417) -> (118) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   333   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   333   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   339   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   339   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   340   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   340   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   341   readline(-1) -> (2) \r\n
   341   readline(-1) -> (2) \r\n
   342   write(36 from 36) -> (82) HTTP/1.1 200 Script output follows\r\n
   342   write(36 from 36) -> (82) HTTP/1.1 200 Script output follows\r\n
   343   write(23 from 23) -> (59) Server: badhttpserver\r\n
   343   write(23 from 23) -> (59) Server: badhttpserver\r\n
   344   write(37 from 37) -> (22) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   344   write(37 from 37) -> (22) Date: $HTTP_DATE$\r\n
   345   write(22 from 41) -> (0) Content-Type: applicat
   345   write(22 from 41) -> (0) Content-Type: applicat
   346   write limit reached; closing socket
   346   write limit reached; closing socket
   347   write(36) -> HTTP/1.1 500 Internal Server Error\r\n
   347   write(36) -> HTTP/1.1 500 Internal Server Error\r\n
   348 
   348 
   349   $ rm -f error.log
   349   $ rm -f error.log
   371   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   371   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   372   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   372   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   373   readline(-1) -> (2) \r\n
   373   readline(-1) -> (2) \r\n
   374   write(36 from 36) -> (724) HTTP/1.1 200 Script output follows\r\n
   374   write(36 from 36) -> (724) HTTP/1.1 200 Script output follows\r\n
   375   write(23 from 23) -> (701) Server: badhttpserver\r\n
   375   write(23 from 23) -> (701) Server: badhttpserver\r\n
   376   write(37 from 37) -> (664) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   376   write(37 from 37) -> (664) Date: $HTTP_DATE$\r\n
   377   write(41 from 41) -> (623) Content-Type: application/mercurial-0.1\r\n
   377   write(41 from 41) -> (623) Content-Type: application/mercurial-0.1\r\n
   378   write(21 from 21) -> (602) Content-Length: 417\r\n
   378   write(21 from 21) -> (602) Content-Length: 417\r\n
   379   write(2 from 2) -> (600) \r\n
   379   write(2 from 2) -> (600) \r\n
   380   write(417 from 417) -> (183) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   380   write(417 from 417) -> (183) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   381   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   381   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   387   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   387   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   388   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   388   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   389   readline(-1) -> (2) \r\n
   389   readline(-1) -> (2) \r\n
   390   write(36 from 36) -> (147) HTTP/1.1 200 Script output follows\r\n
   390   write(36 from 36) -> (147) HTTP/1.1 200 Script output follows\r\n
   391   write(23 from 23) -> (124) Server: badhttpserver\r\n
   391   write(23 from 23) -> (124) Server: badhttpserver\r\n
   392   write(37 from 37) -> (87) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   392   write(37 from 37) -> (87) Date: $HTTP_DATE$\r\n
   393   write(41 from 41) -> (46) Content-Type: application/mercurial-0.1\r\n
   393   write(41 from 41) -> (46) Content-Type: application/mercurial-0.1\r\n
   394   write(20 from 20) -> (26) Content-Length: 42\r\n
   394   write(20 from 20) -> (26) Content-Length: 42\r\n
   395   write(2 from 2) -> (24) \r\n
   395   write(2 from 2) -> (24) \r\n
   396   write(24 from 42) -> (0) 96ee1d7354c4ad7372047672
   396   write(24 from 42) -> (0) 96ee1d7354c4ad7372047672
   397   write limit reached; closing socket
   397   write limit reached; closing socket
   423   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   423   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   424   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   424   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   425   readline(-1) -> (2) \r\n
   425   readline(-1) -> (2) \r\n
   426   write(36 from 36) -> (871) HTTP/1.1 200 Script output follows\r\n
   426   write(36 from 36) -> (871) HTTP/1.1 200 Script output follows\r\n
   427   write(23 from 23) -> (848) Server: badhttpserver\r\n
   427   write(23 from 23) -> (848) Server: badhttpserver\r\n
   428   write(37 from 37) -> (811) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   428   write(37 from 37) -> (811) Date: $HTTP_DATE$\r\n
   429   write(41 from 41) -> (770) Content-Type: application/mercurial-0.1\r\n
   429   write(41 from 41) -> (770) Content-Type: application/mercurial-0.1\r\n
   430   write(21 from 21) -> (749) Content-Length: 417\r\n
   430   write(21 from 21) -> (749) Content-Length: 417\r\n
   431   write(2 from 2) -> (747) \r\n
   431   write(2 from 2) -> (747) \r\n
   432   write(417 from 417) -> (330) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   432   write(417 from 417) -> (330) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   433   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   433   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   439   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   439   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   440   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   440   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   441   readline(-1) -> (2) \r\n
   441   readline(-1) -> (2) \r\n
   442   write(36 from 36) -> (294) HTTP/1.1 200 Script output follows\r\n
   442   write(36 from 36) -> (294) HTTP/1.1 200 Script output follows\r\n
   443   write(23 from 23) -> (271) Server: badhttpserver\r\n
   443   write(23 from 23) -> (271) Server: badhttpserver\r\n
   444   write(37 from 37) -> (234) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   444   write(37 from 37) -> (234) Date: $HTTP_DATE$\r\n
   445   write(41 from 41) -> (193) Content-Type: application/mercurial-0.1\r\n
   445   write(41 from 41) -> (193) Content-Type: application/mercurial-0.1\r\n
   446   write(20 from 20) -> (173) Content-Length: 42\r\n
   446   write(20 from 20) -> (173) Content-Length: 42\r\n
   447   write(2 from 2) -> (171) \r\n
   447   write(2 from 2) -> (171) \r\n
   448   write(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   448   write(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   449   readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
   449   readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
   455   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   455   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   456   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   456   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   457   readline(-1) -> (2) \r\n
   457   readline(-1) -> (2) \r\n
   458   write(36 from 36) -> (93) HTTP/1.1 200 Script output follows\r\n
   458   write(36 from 36) -> (93) HTTP/1.1 200 Script output follows\r\n
   459   write(23 from 23) -> (70) Server: badhttpserver\r\n
   459   write(23 from 23) -> (70) Server: badhttpserver\r\n
   460   write(37 from 37) -> (33) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   460   write(37 from 37) -> (33) Date: $HTTP_DATE$\r\n
   461   write(33 from 41) -> (0) Content-Type: application/mercuri
   461   write(33 from 41) -> (0) Content-Type: application/mercuri
   462   write limit reached; closing socket
   462   write limit reached; closing socket
   463   write(36) -> HTTP/1.1 500 Internal Server Error\r\n
   463   write(36) -> HTTP/1.1 500 Internal Server Error\r\n
   464 
   464 
   465   $ rm -f error.log
   465   $ rm -f error.log
   484   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   484   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   485   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   485   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   486   readline(-1) -> (2) \r\n
   486   readline(-1) -> (2) \r\n
   487   write(36 from 36) -> (909) HTTP/1.1 200 Script output follows\r\n
   487   write(36 from 36) -> (909) HTTP/1.1 200 Script output follows\r\n
   488   write(23 from 23) -> (886) Server: badhttpserver\r\n
   488   write(23 from 23) -> (886) Server: badhttpserver\r\n
   489   write(37 from 37) -> (849) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   489   write(37 from 37) -> (849) Date: $HTTP_DATE$\r\n
   490   write(41 from 41) -> (808) Content-Type: application/mercurial-0.1\r\n
   490   write(41 from 41) -> (808) Content-Type: application/mercurial-0.1\r\n
   491   write(21 from 21) -> (787) Content-Length: 417\r\n
   491   write(21 from 21) -> (787) Content-Length: 417\r\n
   492   write(2 from 2) -> (785) \r\n
   492   write(2 from 2) -> (785) \r\n
   493   write(417 from 417) -> (368) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   493   write(417 from 417) -> (368) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   494   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   494   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   500   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   500   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   501   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   501   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   502   readline(-1) -> (2) \r\n
   502   readline(-1) -> (2) \r\n
   503   write(36 from 36) -> (332) HTTP/1.1 200 Script output follows\r\n
   503   write(36 from 36) -> (332) HTTP/1.1 200 Script output follows\r\n
   504   write(23 from 23) -> (309) Server: badhttpserver\r\n
   504   write(23 from 23) -> (309) Server: badhttpserver\r\n
   505   write(37 from 37) -> (272) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   505   write(37 from 37) -> (272) Date: $HTTP_DATE$\r\n
   506   write(41 from 41) -> (231) Content-Type: application/mercurial-0.1\r\n
   506   write(41 from 41) -> (231) Content-Type: application/mercurial-0.1\r\n
   507   write(20 from 20) -> (211) Content-Length: 42\r\n
   507   write(20 from 20) -> (211) Content-Length: 42\r\n
   508   write(2 from 2) -> (209) \r\n
   508   write(2 from 2) -> (209) \r\n
   509   write(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   509   write(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   510   readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
   510   readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
   516   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   516   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   517   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   517   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   518   readline(-1) -> (2) \r\n
   518   readline(-1) -> (2) \r\n
   519   write(36 from 36) -> (131) HTTP/1.1 200 Script output follows\r\n
   519   write(36 from 36) -> (131) HTTP/1.1 200 Script output follows\r\n
   520   write(23 from 23) -> (108) Server: badhttpserver\r\n
   520   write(23 from 23) -> (108) Server: badhttpserver\r\n
   521   write(37 from 37) -> (71) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   521   write(37 from 37) -> (71) Date: $HTTP_DATE$\r\n
   522   write(41 from 41) -> (30) Content-Type: application/mercurial-0.2\r\n
   522   write(41 from 41) -> (30) Content-Type: application/mercurial-0.2\r\n
   523   write(28 from 28) -> (2) Transfer-Encoding: chunked\r\n
   523   write(28 from 28) -> (2) Transfer-Encoding: chunked\r\n
   524   write(2 from 2) -> (0) \r\n
   524   write(2 from 2) -> (0) \r\n
   525   write limit reached; closing socket
   525   write limit reached; closing socket
   526   write(36) -> HTTP/1.1 500 Internal Server Error\r\n
   526   write(36) -> HTTP/1.1 500 Internal Server Error\r\n
   547   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   547   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   548   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   548   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   549   readline(-1) -> (2) \r\n
   549   readline(-1) -> (2) \r\n
   550   write(36 from 36) -> (933) HTTP/1.1 200 Script output follows\r\n
   550   write(36 from 36) -> (933) HTTP/1.1 200 Script output follows\r\n
   551   write(23 from 23) -> (910) Server: badhttpserver\r\n
   551   write(23 from 23) -> (910) Server: badhttpserver\r\n
   552   write(37 from 37) -> (873) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   552   write(37 from 37) -> (873) Date: $HTTP_DATE$\r\n
   553   write(41 from 41) -> (832) Content-Type: application/mercurial-0.1\r\n
   553   write(41 from 41) -> (832) Content-Type: application/mercurial-0.1\r\n
   554   write(21 from 21) -> (811) Content-Length: 417\r\n
   554   write(21 from 21) -> (811) Content-Length: 417\r\n
   555   write(2 from 2) -> (809) \r\n
   555   write(2 from 2) -> (809) \r\n
   556   write(417 from 417) -> (392) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   556   write(417 from 417) -> (392) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
   557   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   557   readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   563   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   563   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   564   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   564   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   565   readline(-1) -> (2) \r\n
   565   readline(-1) -> (2) \r\n
   566   write(36 from 36) -> (356) HTTP/1.1 200 Script output follows\r\n
   566   write(36 from 36) -> (356) HTTP/1.1 200 Script output follows\r\n
   567   write(23 from 23) -> (333) Server: badhttpserver\r\n
   567   write(23 from 23) -> (333) Server: badhttpserver\r\n
   568   write(37 from 37) -> (296) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   568   write(37 from 37) -> (296) Date: $HTTP_DATE$\r\n
   569   write(41 from 41) -> (255) Content-Type: application/mercurial-0.1\r\n
   569   write(41 from 41) -> (255) Content-Type: application/mercurial-0.1\r\n
   570   write(20 from 20) -> (235) Content-Length: 42\r\n
   570   write(20 from 20) -> (235) Content-Length: 42\r\n
   571   write(2 from 2) -> (233) \r\n
   571   write(2 from 2) -> (233) \r\n
   572   write(42 from 42) -> (191) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   572   write(42 from 42) -> (191) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
   573   readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
   573   readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
   579   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   579   readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
   580   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   580   readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
   581   readline(-1) -> (2) \r\n
   581   readline(-1) -> (2) \r\n
   582   write(36 from 36) -> (155) HTTP/1.1 200 Script output follows\r\n
   582   write(36 from 36) -> (155) HTTP/1.1 200 Script output follows\r\n
   583   write(23 from 23) -> (132) Server: badhttpserver\r\n
   583   write(23 from 23) -> (132) Server: badhttpserver\r\n
   584   write(37 from 37) -> (95) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n
   584   write(37 from 37) -> (95) Date: $HTTP_DATE$\r\n
   585   write(41 from 41) -> (54) Content-Type: application/mercurial-0.2\r\n
   585   write(41 from 41) -> (54) Content-Type: application/mercurial-0.2\r\n
   586   write(28 from 28) -> (26) Transfer-Encoding: chunked\r\n
   586   write(28 from 28) -> (26) Transfer-Encoding: chunked\r\n
   587   write(2 from 2) -> (24) \r\n
   587   write(2 from 2) -> (24) \r\n
   588   write(6 from 6) -> (18) 1\\r\\n\x04\\r\\n (esc)
   588   write(6 from 6) -> (18) 1\\r\\n\x04\\r\\n (esc)
   589   write(9 from 9) -> (9) 4\r\nnone\r\n
   589   write(9 from 9) -> (9) 4\r\nnone\r\n