Skip to content
Snippets Groups Projects
Commit 55024b31 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

change the way renegotiation works

parent d3d88f81
No related branches found
No related tags found
2 merge requests!68Master merge,!34Merge release into GPU project branch
...@@ -302,9 +302,11 @@ echo "TESTING RENEGOTIATION..." ...@@ -302,9 +302,11 @@ echo "TESTING RENEGOTIATION..."
CLIENTCMD="timeout 360s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client43.log -s blob43 --destfile $CLIENTOUT/rick42-contact.bin --send-auth-request --unsafe-channel-creation --sendCount 0 --receiveCount 0" CLIENTCMD="timeout 360s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client43.log -s blob43 --destfile $CLIENTOUT/rick42-contact.bin --send-auth-request --unsafe-channel-creation --sendCount 0 --receiveCount 0"
eval $CLIENTCMD >> $CLIENTOUT/client43.txt & eval $CLIENTCMD >> $CLIENTOUT/client43.txt &
PIDVAL1=$! PIDVAL1=$!
# Unlike before, we don't accept the channel (it's already been accepted, it'll
# renegotiate), so instead we message ourselves to wait for the trigger
echo "$CLIENTCMD -- $PIDVAL1" echo "$CLIENTCMD -- $PIDVAL1"
# Client 42 will now wait, again, for client 43's E2E Auth channel request and confirm # Client 42 will now wait, again, for client 43's E2E Auth channel request and confirm
CLIENTCMD="timeout 360s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --destfile $CLIENTOUT/ben43-contact.bin --sendCount 0 --receiveCount 0 --accept-channel --auth-timeout 360" CLIENTCMD="timeout 360s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --destfile $CLIENTOUT/rick42-contact.bin --sendCount 10 --receiveCount 10 --unsafe -m \"Waiting on renegotiation\""
eval $CLIENTCMD >> $CLIENTOUT/client42.txt & eval $CLIENTCMD >> $CLIENTOUT/client42.txt &
PIDVAL2=$! PIDVAL2=$!
echo "$CLIENTCMD -- $PIDVAL2" echo "$CLIENTCMD -- $PIDVAL2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment