"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tests/test04-listen-with-own-certs.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.

test04-listen-with-own-certs.sh  (hitch-1.7.0):test04-listen-with-own-certs.sh  (hitch-1.7.2)
skipping to change at line 16 skipping to change at line 16
PORT2=$(expr $$ % 60000 + 4000) PORT2=$(expr $$ % 60000 + 4000)
start_hitch \ start_hitch \
--backend='[hitch-tls.org]:80' \ --backend='[hitch-tls.org]:80' \
--frontend="[localhost]:$LISTENPORT+${CERTSDIR}/site1.example.com" \ --frontend="[localhost]:$LISTENPORT+${CERTSDIR}/site1.example.com" \
--frontend="[localhost]:$PORT2+${CERTSDIR}/site2.example.com" \ --frontend="[localhost]:$PORT2+${CERTSDIR}/site2.example.com" \
"${CERTSDIR}/default.example.com" "${CERTSDIR}/default.example.com"
s_client -connect localhost:$LISTENPORT >s_client1.dump s_client -connect localhost:$LISTENPORT >s_client1.dump
s_client_parse s_client1.dump subject_field_eq CN site1.example.com s_client1.dump
run_cmd test "$SUBJECT_NAME" = "site1.example.com"
# Second listen port. # Second listen port.
s_client -connect localhost:$PORT2 >s_client2.dump s_client -connect localhost:$PORT2 >s_client2.dump
s_client_parse s_client2.dump subject_field_eq CN site2.example.com s_client2.dump
run_cmd test "$SUBJECT_NAME" = "site2.example.com"
for host in $(hitch_hosts) for host in $(hitch_hosts)
do do
curl_hitch -- "https://$host/" curl_hitch -- "https://$host/"
done done
 End of changes. 2 change blocks. 
4 lines changed or deleted 2 lines changed or added

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