#!/bin/sh # # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # set -e case "$PS" in server*) ../../target/release/s2n-quic-qns \ perf \ server \ --port $SERVER_PORT \ --max-mtu 16000 \ --tls null \ --stats ;; client*) ../../target/release/s2n-quic-qns \ perf \ client \ --receive "${DOWNLOAD_BYTES}" \ --send "${UPLOAD_BYTES}" \ --port $SERVER_PORT \ --server-name localhost \ --max-mtu 16000 \ --tls null \ --stats ;; esac