equal
deleted
inserted
replaced
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 |
466 |
466 |
|
467 Server stops before it sends transfer encoding |
|
468 |
|
469 $ hg serve --config badserver.closeaftersendbytes=959 -p $HGPORT -d --pid-file=hg.pid -E error.log |
|
470 $ cat hg.pid > $DAEMON_PIDS |
|
471 |
|
472 $ hg clone http://localhost:$HGPORT/ clone |
|
473 requesting all changes |
|
474 abort: stream ended unexpectedly (got 0 bytes, expected 1) |
|
475 [255] |
|
476 |
|
477 $ killdaemons.py $DAEMON_PIDS |
|
478 |
|
479 $ tail -4 error.log |
|
480 write(41 from 41) -> (25) Content-Type: application/mercurial-0.2\r\n |
|
481 write(25 from 28) -> (0) Transfer-Encoding: chunke |
|
482 write limit reached; closing socket |
|
483 write(36) -> HTTP/1.1 500 Internal Server Error\r\n |
|
484 |
|
485 $ rm -f error.log |
|
486 |
467 Server sends empty HTTP body for getbundle |
487 Server sends empty HTTP body for getbundle |
468 |
488 |
469 $ hg serve --config badserver.closeaftersendbytes=964 -p $HGPORT -d --pid-file=hg.pid -E error.log |
489 $ hg serve --config badserver.closeaftersendbytes=964 -p $HGPORT -d --pid-file=hg.pid -E error.log |
470 $ cat hg.pid > $DAEMON_PIDS |
490 $ cat hg.pid > $DAEMON_PIDS |
471 |
491 |