From fb44849508fcd2264215b9accce128b76673c1c6 Mon Sep 17 00:00:00 2001 From: "Adi (Suissa) Peleg" Date: Fri, 29 Apr 2022 11:08:42 -0400 Subject: [PATCH] envoy: add http_parser special external lib (#7637) Signed-off-by: Adi Suissa-Peleg --- projects/envoy/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/envoy/build.sh b/projects/envoy/build.sh index 6c2068581..051bfbada 100755 --- a/projects/envoy/build.sh +++ b/projects/envoy/build.sh @@ -128,6 +128,11 @@ then rsync -av "${SRC}"/envoy/source "${REMAP_PATH}" rsync -av "${SRC}"/envoy/test "${REMAP_PATH}" rsync -av "${SRC}"/envoy/envoy "${REMAP_PATH}" + # Envoy currently uses a modified version of http_parser (see: + # https://github.com/envoyproxy/envoy/issues/19749). + declare -r BAZEL_EXTERNAL_REMAP_PATH="${REMAP_PATH}/external/envoy/bazel/external" + mkdir -p "${BAZEL_EXTERNAL_REMAP_PATH}" + rsync -av "${SRC}"/envoy/bazel/external/http_parser "${BAZEL_EXTERNAL_REMAP_PATH}" # Remove filesystem loop manually. rm -rf "${SRC}"/envoy/bazel-envoy/external/envoy # Clean up symlinks with a missing referrant.