##// END OF EJS Templates
tests: add lots of regex matching to test-http-bad-server.t...
Augie Fackler -
r32067:52cca17a stable
parent child Browse files
Show More
@@ -71,13 +71,13 b' Failure to read all bytes in initial HTT'
71 TODO this error message is not very good
71 TODO this error message is not very good
72
72
73 $ hg clone http://localhost:$HGPORT/ clone
73 $ hg clone http://localhost:$HGPORT/ clone
74 abort: error: ''
74 abort: error: (''|) (re)
75 [255]
75 [255]
76
76
77 $ killdaemons.py $DAEMON_PIDS
77 $ killdaemons.py $DAEMON_PIDS
78
78
79 $ cat error.log
79 $ cat error.log
80 readline(1 from 65537) -> (1) G
80 readline\(1 from (-1|65537)\) -> \(1\) G (re)
81 read limit reached; closing socket
81 read limit reached; closing socket
82
82
83 $ rm -f error.log
83 $ rm -f error.log
@@ -87,13 +87,13 b' Same failure, but server reads full HTTP'
87 $ hg --config badserver.closeafterrecvbytes=40 serve -p $HGPORT -d --pid-file=hg.pid -E error.log
87 $ hg --config badserver.closeafterrecvbytes=40 serve -p $HGPORT -d --pid-file=hg.pid -E error.log
88 $ cat hg.pid > $DAEMON_PIDS
88 $ cat hg.pid > $DAEMON_PIDS
89 $ hg clone http://localhost:$HGPORT/ clone
89 $ hg clone http://localhost:$HGPORT/ clone
90 abort: error: ''
90 abort: error: (''|) (re)
91 [255]
91 [255]
92
92
93 $ killdaemons.py $DAEMON_PIDS
93 $ killdaemons.py $DAEMON_PIDS
94
94
95 $ cat error.log
95 $ cat error.log
96 readline(40 from 65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
96 readline\(40 from (-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
97 readline(7 from -1) -> (7) Accept-
97 readline(7 from -1) -> (7) Accept-
98 read limit reached; closing socket
98 read limit reached; closing socket
99
99
@@ -104,13 +104,13 b' Failure on subsequent HTTP request on th'
104 $ hg --config badserver.closeafterrecvbytes=210 serve -p $HGPORT -d --pid-file=hg.pid -E error.log
104 $ hg --config badserver.closeafterrecvbytes=210 serve -p $HGPORT -d --pid-file=hg.pid -E error.log
105 $ cat hg.pid > $DAEMON_PIDS
105 $ cat hg.pid > $DAEMON_PIDS
106 $ hg clone http://localhost:$HGPORT/ clone
106 $ hg clone http://localhost:$HGPORT/ clone
107 abort: error: ''
107 abort: error: (''|) (re)
108 [255]
108 [255]
109
109
110 $ killdaemons.py $DAEMON_PIDS
110 $ killdaemons.py $DAEMON_PIDS
111
111
112 $ cat error.log
112 $ cat error.log
113 readline(210 from 65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
113 readline\(210 from (-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
114 readline(177 from -1) -> (27) Accept-Encoding: identity\r\n
114 readline(177 from -1) -> (27) Accept-Encoding: identity\r\n
115 readline(150 from -1) -> (35) accept: application/mercurial-0.1\r\n
115 readline(150 from -1) -> (35) accept: application/mercurial-0.1\r\n
116 readline(115 from -1) -> (23) host: localhost:$HGPORT\r\n
116 readline(115 from -1) -> (23) host: localhost:$HGPORT\r\n
@@ -123,10 +123,10 b' Failure on subsequent HTTP request on th'
123 write(21) -> Content-Length: 405\r\n
123 write(21) -> Content-Length: 405\r\n
124 write(2) -> \r\n
124 write(2) -> \r\n
125 write(405) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
125 write(405) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
126 readline(41 from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
126 readline\(41 from (-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
127 readline(15 from -1) -> (15) Accept-Encoding
127 readline(15 from -1) -> (15) Accept-Encoding
128 read limit reached; closing socket
128 read limit reached; closing socket
129 readline(210 from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
129 readline\(210 from (-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
130 readline(184 from -1) -> (27) Accept-Encoding: identity\r\n
130 readline(184 from -1) -> (27) Accept-Encoding: identity\r\n
131 readline(157 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
131 readline(157 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
132 readline(128 from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
132 readline(128 from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
@@ -143,13 +143,13 b' Failure to read getbundle HTTP request'
143 $ cat hg.pid > $DAEMON_PIDS
143 $ cat hg.pid > $DAEMON_PIDS
144 $ hg clone http://localhost:$HGPORT/ clone
144 $ hg clone http://localhost:$HGPORT/ clone
145 requesting all changes
145 requesting all changes
146 abort: error: ''
146 abort: error: (''|) (re)
147 [255]
147 [255]
148
148
149 $ killdaemons.py $DAEMON_PIDS
149 $ killdaemons.py $DAEMON_PIDS
150
150
151 $ cat error.log
151 $ cat error.log
152 readline(292 from 65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
152 readline\(292 from (-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
153 readline(259 from -1) -> (27) Accept-Encoding: identity\r\n
153 readline(259 from -1) -> (27) Accept-Encoding: identity\r\n
154 readline(232 from -1) -> (35) accept: application/mercurial-0.1\r\n
154 readline(232 from -1) -> (35) accept: application/mercurial-0.1\r\n
155 readline(197 from -1) -> (23) host: localhost:$HGPORT\r\n
155 readline(197 from -1) -> (23) host: localhost:$HGPORT\r\n
@@ -162,12 +162,12 b' Failure to read getbundle HTTP request'
162 write(21) -> Content-Length: 405\r\n
162 write(21) -> Content-Length: 405\r\n
163 write(2) -> \r\n
163 write(2) -> \r\n
164 write(405) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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(405) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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(123 from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
165 readline\(123 from (-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
166 readline(97 from -1) -> (27) Accept-Encoding: identity\r\n
166 readline(97 from -1) -> (27) Accept-Encoding: identity\r\n
167 readline(70 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
167 readline(70 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
168 readline(41 from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
168 readline(41 from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
169 read limit reached; closing socket
169 read limit reached; closing socket
170 readline(292 from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
170 readline\(292 from (-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
171 readline(266 from -1) -> (27) Accept-Encoding: identity\r\n
171 readline(266 from -1) -> (27) Accept-Encoding: identity\r\n
172 readline(239 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
172 readline(239 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
173 readline(210 from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
173 readline(210 from -1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
@@ -183,9 +183,9 b' Failure to read getbundle HTTP request'
183 write(20) -> Content-Length: 42\r\n
183 write(20) -> Content-Length: 42\r\n
184 write(2) -> \r\n
184 write(2) -> \r\n
185 write(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
185 write(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
186 readline(12 from 65537) -> (12) GET /?cmd=ge
186 readline\(12 from (-1|65537)\) -> \(12\) GET /\?cmd=ge (re)
187 read limit reached; closing socket
187 read limit reached; closing socket
188 readline(292 from 65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
188 readline\(292 from (-1|65537)\) -> \(30\) GET /\?cmd=getbundle HTTP/1.1\\r\\n (re)
189 readline(262 from -1) -> (27) Accept-Encoding: identity\r\n
189 readline(262 from -1) -> (27) Accept-Encoding: identity\r\n
190 readline(235 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
190 readline(235 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
191 readline(206 from -1) -> (206) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Ali
191 readline(206 from -1) -> (206) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Ali
@@ -199,13 +199,13 b' Now do a variation using POST to send ar'
199 $ cat hg.pid > $DAEMON_PIDS
199 $ cat hg.pid > $DAEMON_PIDS
200
200
201 $ hg clone http://localhost:$HGPORT/ clone
201 $ hg clone http://localhost:$HGPORT/ clone
202 abort: error: ''
202 abort: error: (''|) (re)
203 [255]
203 [255]
204
204
205 $ killdaemons.py $DAEMON_PIDS
205 $ killdaemons.py $DAEMON_PIDS
206
206
207 $ cat error.log
207 $ cat error.log
208 readline(315 from 65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
208 readline\(315 from (-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
209 readline(282 from -1) -> (27) Accept-Encoding: identity\r\n
209 readline(282 from -1) -> (27) Accept-Encoding: identity\r\n
210 readline(255 from -1) -> (35) accept: application/mercurial-0.1\r\n
210 readline(255 from -1) -> (35) accept: application/mercurial-0.1\r\n
211 readline(220 from -1) -> (23) host: localhost:$HGPORT\r\n
211 readline(220 from -1) -> (23) host: localhost:$HGPORT\r\n
@@ -218,14 +218,14 b' Now do a variation using POST to send ar'
218 write(21) -> Content-Length: 418\r\n
218 write(21) -> Content-Length: 418\r\n
219 write(2) -> \r\n
219 write(2) -> \r\n
220 write(418) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
220 write(418) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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 readline(146 from 65537) -> (27) POST /?cmd=batch HTTP/1.1\r\n
221 readline\(146 from (-1|65537)\) -> \(27\) POST /\?cmd=batch HTTP/1.1\\r\\n (re)
222 readline(119 from -1) -> (27) Accept-Encoding: identity\r\n
222 readline(119 from -1) -> (27) Accept-Encoding: identity\r\n
223 readline(92 from -1) -> (41) content-type: application/mercurial-0.1\r\n
223 readline(92 from -1) -> (41) content-type: application/mercurial-0.1\r\n
224 readline(51 from -1) -> (19) vary: X-HgProto-1\r\n
224 readline(51 from -1) -> (19) vary: X-HgProto-1\r\n
225 readline(32 from -1) -> (19) x-hgargs-post: 28\r\n
225 readline(32 from -1) -> (19) x-hgargs-post: 28\r\n
226 readline(13 from -1) -> (13) x-hgproto-1:
226 readline(13 from -1) -> (13) x-hgproto-1:
227 read limit reached; closing socket
227 read limit reached; closing socket
228 readline(315 from 65537) -> (27) POST /?cmd=batch HTTP/1.1\r\n
228 readline\(315 from (-1|65537)\) -> \(27\) POST /\?cmd=batch HTTP/1.1\\r\\n (re)
229 readline(288 from -1) -> (27) Accept-Encoding: identity\r\n
229 readline(288 from -1) -> (27) Accept-Encoding: identity\r\n
230 readline(261 from -1) -> (41) content-type: application/mercurial-0.1\r\n
230 readline(261 from -1) -> (41) content-type: application/mercurial-0.1\r\n
231 readline(220 from -1) -> (19) vary: X-HgProto-1\r\n
231 readline(220 from -1) -> (19) vary: X-HgProto-1\r\n
@@ -256,7 +256,7 b' Server sends a single character from the'
256 $ killdaemons.py $DAEMON_PIDS
256 $ killdaemons.py $DAEMON_PIDS
257
257
258 $ cat error.log
258 $ cat error.log
259 readline(65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
259 readline\((-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
260 readline(-1) -> (27) Accept-Encoding: identity\r\n
260 readline(-1) -> (27) Accept-Encoding: identity\r\n
261 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
261 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
262 readline(-1) -> (23) host: localhost:$HGPORT\r\n
262 readline(-1) -> (23) host: localhost:$HGPORT\r\n
@@ -281,7 +281,7 b' Server sends an incomplete capabilities '
281 $ killdaemons.py $DAEMON_PIDS
281 $ killdaemons.py $DAEMON_PIDS
282
282
283 $ cat error.log
283 $ cat error.log
284 readline(65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
284 readline\((-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
285 readline(-1) -> (27) Accept-Encoding: identity\r\n
285 readline(-1) -> (27) Accept-Encoding: identity\r\n
286 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
286 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
287 readline(-1) -> (23) host: localhost:$HGPORT\r\n
287 readline(-1) -> (23) host: localhost:$HGPORT\r\n
@@ -316,7 +316,7 b' TODO this output is horrible'
316 $ killdaemons.py $DAEMON_PIDS
316 $ killdaemons.py $DAEMON_PIDS
317
317
318 $ cat error.log
318 $ cat error.log
319 readline(65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
319 readline\((-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
320 readline(-1) -> (27) Accept-Encoding: identity\r\n
320 readline(-1) -> (27) Accept-Encoding: identity\r\n
321 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
321 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
322 readline(-1) -> (23) host: localhost:$HGPORT\r\n
322 readline(-1) -> (23) host: localhost:$HGPORT\r\n
@@ -329,7 +329,7 b' TODO this output is horrible'
329 write(21 from 21) -> (537) Content-Length: 405\r\n
329 write(21 from 21) -> (537) Content-Length: 405\r\n
330 write(2 from 2) -> (535) \r\n
330 write(2 from 2) -> (535) \r\n
331 write(405 from 405) -> (130) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
331 write(405 from 405) -> (130) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
332 readline\((-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
333 readline(-1) -> (27) Accept-Encoding: identity\r\n
333 readline(-1) -> (27) Accept-Encoding: identity\r\n
334 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
334 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
335 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
335 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
@@ -359,7 +359,7 b' TODO client spews a stack due to uncaugh'
359 $ killdaemons.py $DAEMON_PIDS
359 $ killdaemons.py $DAEMON_PIDS
360
360
361 $ cat error.log
361 $ cat error.log
362 readline(65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
362 readline\((-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
363 readline(-1) -> (27) Accept-Encoding: identity\r\n
363 readline(-1) -> (27) Accept-Encoding: identity\r\n
364 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
364 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
365 readline(-1) -> (23) host: localhost:$HGPORT\r\n
365 readline(-1) -> (23) host: localhost:$HGPORT\r\n
@@ -372,7 +372,7 b' TODO client spews a stack due to uncaugh'
372 write(21 from 21) -> (602) Content-Length: 405\r\n
372 write(21 from 21) -> (602) Content-Length: 405\r\n
373 write(2 from 2) -> (600) \r\n
373 write(2 from 2) -> (600) \r\n
374 write(405 from 405) -> (195) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
374 write(405 from 405) -> (195) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
375 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
375 readline\((-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
376 readline(-1) -> (27) Accept-Encoding: identity\r\n
376 readline(-1) -> (27) Accept-Encoding: identity\r\n
377 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
377 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
378 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
378 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
@@ -411,7 +411,7 b' TODO this output is terrible'
411 $ killdaemons.py $DAEMON_PIDS
411 $ killdaemons.py $DAEMON_PIDS
412
412
413 $ cat error.log
413 $ cat error.log
414 readline(65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
414 readline\((-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
415 readline(-1) -> (27) Accept-Encoding: identity\r\n
415 readline(-1) -> (27) Accept-Encoding: identity\r\n
416 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
416 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
417 readline(-1) -> (23) host: localhost:$HGPORT\r\n
417 readline(-1) -> (23) host: localhost:$HGPORT\r\n
@@ -424,7 +424,7 b' TODO this output is terrible'
424 write(21 from 21) -> (737) Content-Length: 405\r\n
424 write(21 from 21) -> (737) Content-Length: 405\r\n
425 write(2 from 2) -> (735) \r\n
425 write(2 from 2) -> (735) \r\n
426 write(405 from 405) -> (330) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
426 write(405 from 405) -> (330) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
427 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
427 readline\((-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
428 readline(-1) -> (27) Accept-Encoding: identity\r\n
428 readline(-1) -> (27) Accept-Encoding: identity\r\n
429 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
429 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
430 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
430 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
@@ -440,7 +440,7 b' TODO this output is terrible'
440 write(20 from 20) -> (173) Content-Length: 42\r\n
440 write(20 from 20) -> (173) Content-Length: 42\r\n
441 write(2 from 2) -> (171) \r\n
441 write(2 from 2) -> (171) \r\n
442 write(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
442 write(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
443 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
443 readline\((-1|65537)\) -> \(30\) GET /\?cmd=getbundle HTTP/1.1\\r\\n (re)
444 readline(-1) -> (27) Accept-Encoding: identity\r\n
444 readline(-1) -> (27) Accept-Encoding: identity\r\n
445 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
445 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
446 readline(-1) -> (396) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
446 readline(-1) -> (396) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
@@ -472,7 +472,7 b' Server sends empty HTTP body for getbund'
472 $ killdaemons.py $DAEMON_PIDS
472 $ killdaemons.py $DAEMON_PIDS
473
473
474 $ cat error.log
474 $ cat error.log
475 readline(65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
475 readline\((-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
476 readline(-1) -> (27) Accept-Encoding: identity\r\n
476 readline(-1) -> (27) Accept-Encoding: identity\r\n
477 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
477 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
478 readline(-1) -> (23) host: localhost:$HGPORT\r\n
478 readline(-1) -> (23) host: localhost:$HGPORT\r\n
@@ -485,7 +485,7 b' Server sends empty HTTP body for getbund'
485 write(21 from 21) -> (775) Content-Length: 405\r\n
485 write(21 from 21) -> (775) Content-Length: 405\r\n
486 write(2 from 2) -> (773) \r\n
486 write(2 from 2) -> (773) \r\n
487 write(405 from 405) -> (368) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
487 write(405 from 405) -> (368) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
488 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
488 readline\((-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
489 readline(-1) -> (27) Accept-Encoding: identity\r\n
489 readline(-1) -> (27) Accept-Encoding: identity\r\n
490 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
490 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
491 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
491 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
@@ -501,7 +501,7 b' Server sends empty HTTP body for getbund'
501 write(20 from 20) -> (211) Content-Length: 42\r\n
501 write(20 from 20) -> (211) Content-Length: 42\r\n
502 write(2 from 2) -> (209) \r\n
502 write(2 from 2) -> (209) \r\n
503 write(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
503 write(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
504 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
504 readline\((-1|65537)\) -> \(30\) GET /\?cmd=getbundle HTTP/1.1\\r\\n (re)
505 readline(-1) -> (27) Accept-Encoding: identity\r\n
505 readline(-1) -> (27) Accept-Encoding: identity\r\n
506 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
506 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
507 readline(-1) -> (396) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
507 readline(-1) -> (396) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
@@ -535,7 +535,7 b' Server sends partial compression string'
535 $ killdaemons.py $DAEMON_PIDS
535 $ killdaemons.py $DAEMON_PIDS
536
536
537 $ cat error.log
537 $ cat error.log
538 readline(65537) -> (33) GET /?cmd=capabilities HTTP/1.1\r\n
538 readline\((-1|65537)\) -> \(33\) GET /\?cmd=capabilities HTTP/1.1\\r\\n (re)
539 readline(-1) -> (27) Accept-Encoding: identity\r\n
539 readline(-1) -> (27) Accept-Encoding: identity\r\n
540 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
540 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
541 readline(-1) -> (23) host: localhost:$HGPORT\r\n
541 readline(-1) -> (23) host: localhost:$HGPORT\r\n
@@ -548,7 +548,7 b' Server sends partial compression string'
548 write(21 from 21) -> (787) Content-Length: 405\r\n
548 write(21 from 21) -> (787) Content-Length: 405\r\n
549 write(2 from 2) -> (785) \r\n
549 write(2 from 2) -> (785) \r\n
550 write(405 from 405) -> (380) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
550 write(405 from 405) -> (380) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 bundle2=HG20%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
551 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
551 readline\((-1|65537)\) -> \(26\) GET /\?cmd=batch HTTP/1.1\\r\\n (re)
552 readline(-1) -> (27) Accept-Encoding: identity\r\n
552 readline(-1) -> (27) Accept-Encoding: identity\r\n
553 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
553 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
554 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
554 readline(-1) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n
@@ -564,7 +564,7 b' Server sends partial compression string'
564 write(20 from 20) -> (223) Content-Length: 42\r\n
564 write(20 from 20) -> (223) Content-Length: 42\r\n
565 write(2 from 2) -> (221) \r\n
565 write(2 from 2) -> (221) \r\n
566 write(42 from 42) -> (179) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
566 write(42 from 42) -> (179) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n;
567 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
567 readline\((-1|65537)\) -> \(30\) GET /\?cmd=getbundle HTTP/1.1\\r\\n (re)
568 readline(-1) -> (27) Accept-Encoding: identity\r\n
568 readline(-1) -> (27) Accept-Encoding: identity\r\n
569 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
569 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
570 readline(-1) -> (396) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
570 readline(-1) -> (396) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
General Comments 0
You need to be logged in to leave comments. Login now