mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
fc11028089
This is an external test which requires recursive checkout of the cloudflare-quiche submodule. We simply run a client against the example quiche-server serving HTTP/0.9 requests. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20527)
30 lines
936 B
Bash
Executable File
30 lines
936 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
# in the file LICENSE in the source distribution or at
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
#
|
|
# Run the quiche server
|
|
#
|
|
set -e
|
|
|
|
SRCTOP="$(cd $SRCTOP; pwd)"
|
|
BLDTOP="$(cd $BLDTOP; pwd)"
|
|
|
|
echo "------------------------------------------------------------------"
|
|
echo "Running Cloudflare quiche-server"
|
|
echo "------------------------------------------------------------------"
|
|
|
|
QUICHE_TARGET_PATH="$BLDTOP/quiche"
|
|
test -d "$QUICHE_TARGET_PATH" || exit 1
|
|
|
|
"$QUICHE_TARGET_PATH/debug/quiche-server" --cert "$SRCTOP/test/certs/servercert.pem" \
|
|
--key "$SRCTOP/test/certs/serverkey.pem" --disable-gso \
|
|
--http-version HTTP/0.9 --root "$SRCTOP" --no-grease --disable-hystart &
|
|
|
|
echo $! >server.pid
|