equal
deleted
inserted
replaced
561 $ rm -f error.log |
561 $ rm -f error.log |
562 |
562 |
563 Server stops before it sends transfer encoding |
563 Server stops before it sends transfer encoding |
564 ---------------------------------------------- |
564 ---------------------------------------------- |
565 |
565 |
566 $ hg serve --config badserver.close-after-send-bytes=954 -p $HGPORT -d --pid-file=hg.pid -E error.log |
566 $ hg serve \ |
|
567 > --config badserver.close-after-send-patterns="Transfer-Encoding: chunke" \ |
|
568 > -p $HGPORT -d --pid-file=hg.pid -E error.log |
567 $ cat hg.pid > $DAEMON_PIDS |
569 $ cat hg.pid > $DAEMON_PIDS |
568 |
570 |
569 $ hg clone http://localhost:$HGPORT/ clone |
571 $ hg clone http://localhost:$HGPORT/ clone |
570 requesting all changes |
572 requesting all changes |
571 abort: stream ended unexpectedly (got 0 bytes, expected 1) |
573 abort: stream ended unexpectedly (got 0 bytes, expected 1) |
582 Exception: connection closed after sending N bytes |
584 Exception: connection closed after sending N bytes |
583 |
585 |
584 |
586 |
585 #else |
587 #else |
586 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -7 |
588 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -7 |
587 write(41 from 41) -> (25) Content-Type: application/mercurial-0.2\r\n |
589 write(41) -> Content-Type: application/mercurial-0.2\r\n |
588 write(25 from 28) -> (0) Transfer-Encoding: chunke |
590 write(25 from 28) -> (0) Transfer-Encoding: chunke |
589 write limit reached; closing socket |
591 write limit reached; closing socket |
590 $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=getbundle': (glob) |
592 $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=getbundle': (glob) |
591 Traceback (most recent call last): |
593 Traceback (most recent call last): |
592 Exception: connection closed after sending N bytes |
594 Exception: connection closed after sending N bytes |