Revision 00b7717d3564059b10ff3cdeca2290004b1f8e16 authored by Jarno Rajahalme on 08 June 2024, 11:13:30 UTC, committed by Jarno Rajahalme on 14 June 2024, 10:12:59 UTC
Clear proxy port on failure so that we'll try another random port next time. We have two failure cases for creating new redirects: - syncronous, for DNS proxy. Simply zero the proxy port in the retry loop. - asynchronous, for Envoy proxy. Clear proxy port state on revert callback. Noticed the need for this change when accidentally trying to use port 1 for Envoy when developing another feature. In this case Envoy can't bind the port, and all further tries were also trying the same port, as the proxy port was not cleared on revert. Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
1 parent b30a3a9
File | Mode | Size |
---|---|---|
test | ||
.dockerignore | -rw-r--r-- | 68 bytes |
Dockerfile | -rw-r--r-- | 3.3 KB |
build-debug-wrapper.sh | -rwxr-xr-x | 398 bytes |
debug-wrapper.go | -rw-r--r-- | 1.1 KB |
install-builder-deps.sh | -rwxr-xr-x | 592 bytes |
install-gitconfig.sh | -rwxr-xr-x | 209 bytes |
install-protoc.sh | -rwxr-xr-x | 731 bytes |
install-protoplugins.sh | -rwxr-xr-x | 727 bytes |
update-cilium-builder-image.sh | -rwxr-xr-x | 1.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...