This commit is contained in:
Mateusz Gruszczyński committed 2026-11-28 17:36:53 +01:00
1 parent 5b6d4a7903
commit 4d1087e357
160 files changed
+2407 -1933

No files matched your search

-3
View File
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
# Start two TCP and two UDP mock backends for RustProxy Stream tests.
# Usage: ./start_stream_backends.sh [bind-host]
set -euo pipefail
DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
@@ -37,7 +35,6 @@ printf 'UDP: %s:9201 (udp-a), %s:9202 (udp-b)\n' "$HOST" "$HOST"
printf 'UDP health probe: PING => PONG\n'
printf 'Stop: Ctrl+C\n\n'
# Stop the group if any backend exits unexpectedly (e.g., port conflict).
wait -n "${pids[@]}"
echo 'A backend stopped; stopping all mock backends.' >&2
exit 1