Mercurial > hg
comparison tests/test-https.t @ 50341:698ffff7024b stable
configitems: make devel.serverexactprotocol look dangerous
Because it is.
author | pacien <pacien.trangirard@pacien.net> |
---|---|
date | Thu, 13 Apr 2023 11:28:48 +0200 |
parents | 2f2682f40ea0 |
children | c54e9bb5737e |
comparison
equal
deleted
inserted
replaced
50340:9f33d12f6f48 | 50341:698ffff7024b |
---|---|
342 #if tls1.2 | 342 #if tls1.2 |
343 Start servers running supported TLS versions | 343 Start servers running supported TLS versions |
344 | 344 |
345 $ cd test | 345 $ cd test |
346 $ hg serve -p $HGPORT -d --pid-file=../hg0.pid --certificate=$PRIV \ | 346 $ hg serve -p $HGPORT -d --pid-file=../hg0.pid --certificate=$PRIV \ |
347 > --config devel.serverexactprotocol=tls1.0 | 347 > --config devel.server-insecure-exact-protocol=tls1.0 |
348 $ cat ../hg0.pid >> $DAEMON_PIDS | 348 $ cat ../hg0.pid >> $DAEMON_PIDS |
349 $ hg serve -p $HGPORT1 -d --pid-file=../hg1.pid --certificate=$PRIV \ | 349 $ hg serve -p $HGPORT1 -d --pid-file=../hg1.pid --certificate=$PRIV \ |
350 > --config devel.serverexactprotocol=tls1.1 | 350 > --config devel.server-insecure-exact-protocol=tls1.1 |
351 $ cat ../hg1.pid >> $DAEMON_PIDS | 351 $ cat ../hg1.pid >> $DAEMON_PIDS |
352 $ hg serve -p $HGPORT2 -d --pid-file=../hg2.pid --certificate=$PRIV \ | 352 $ hg serve -p $HGPORT2 -d --pid-file=../hg2.pid --certificate=$PRIV \ |
353 > --config devel.serverexactprotocol=tls1.2 | 353 > --config devel.server-insecure-exact-protocol=tls1.2 |
354 $ cat ../hg2.pid >> $DAEMON_PIDS | 354 $ cat ../hg2.pid >> $DAEMON_PIDS |
355 $ cd .. | 355 $ cd .. |
356 | 356 |
357 Clients talking same TLS versions work | 357 Clients talking same TLS versions work |
358 | 358 |