"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tests/test27-reload.sh" between
hitch-1.7.0.tar.gz and hitch-1.7.2.tar.gz

About: Hitch is a libev-based high performance SSL/TLS proxy that terminates TLS/SSL connections and forwards the unencrypted traffic to some backend.

test27-reload.sh  (hitch-1.7.0):test27-reload.sh  (hitch-1.7.2)
skipping to change at line 18 skipping to change at line 18
cat >hitch.cfg <<EOF cat >hitch.cfg <<EOF
pem-file = "$PWD/cert.pem" pem-file = "$PWD/cert.pem"
frontend = "[localhost]:$LISTENPORT" frontend = "[localhost]:$LISTENPORT"
backend = "[hitch-tls.org]:80" backend = "[hitch-tls.org]:80"
EOF EOF
# XXX: reload doesn't work with a relative config file # XXX: reload doesn't work with a relative config file
start_hitch --config=$PWD/hitch.cfg start_hitch --config=$PWD/hitch.cfg
s_client >s_client1.dump s_client >s_client1.dump
subj_name_eq "default.example.com" s_client1.dump subject_field_eq CN "default.example.com" s_client1.dump
# restart hitch after having a more recent cert file # restart hitch after having a more recent cert file
cp ${CERTSDIR}/ecc.example.com.pem cert.pem cp ${CERTSDIR}/ecc.example.com.pem cert.pem
echo "kill -HUP $(hitch_pid)" echo "kill -HUP $(hitch_pid)"
kill -HUP $(hitch_pid) kill -HUP $(hitch_pid)
sleep 2 sleep 2
s_client | tee s_client2.dump s_client | tee s_client2.dump
subj_name_eq "ecc.example.com" s_client2.dump subject_field_eq CN "ecc.example.com" s_client2.dump
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)