Searched refs:PROTO (Results 1 – 2 of 2) sorted by relevance
41 for PROTO in "${!EXPECT_NEGOTIATE[@]}"; do47 …echo "openssl s_client -connect $THRIFTHOST:$THRIFTPORT -CAfile ../keys/CA.pem -$PROTO 2>&1 < /dev…48 …nego=$(openssl s_client -connect $THRIFTHOST:$THRIFTPORT -CAfile ../keys/CA.pem -$PROTO 2>&1 < /de…52 res="enabled"; if [[ ${EXPECT_NEGOTIATE[$PROTO]} -eq 0 ]]; then res="disabled"; fi54 if [[ $negodenied -ne ${EXPECT_NEGOTIATE[$PROTO]} ]]; then55 echo "$PROTO negotiation allowed"57 echo "[warn] $PROTO negotiation did not work"
60 function makeProtocol($transport, $PROTO) argument62 if ($PROTO == 'binary') {64 } else if ($PROTO == 'compact') {66 } else if ($PROTO == 'json') {68 } else if ($PROTO == 'accel') {97 $PROTO = substr($arg, 11); variable113 $protocol = makeProtocol($transport, $PROTO);118 $protocol = makeProtocol($transport, $PROTO);