pomerium/pkg/envoy
Kenneth Jenkins b1feff5d56
envoy: preserve Go's max file limit for Envoy (#5102)
Go raises the "max open files" soft limit to match the hard limit for
itself, but has special logic to reset the original soft limit before
forking a child process. This logic does not apply if the file limit is
set explicitly. Add a pair of Getrlimit / Setrlimit calls so that we
(1) preserve the default Go limit behavior for ourselves, and
(2) keep these same limits when launching Envoy.
2024-05-03 17:15:59 -07:00
..
files allow pomerium to be embedded as a library (#3415) 2022-06-15 20:29:19 -04:00
envoy.go envoy: preserve Go's max file limit for Envoy (#5102) 2024-05-03 17:15:59 -07:00
envoy_darwin.go fix lint warning in pkg/envoy (#4181) 2023-05-16 13:58:00 -07:00
envoy_linux.go allow pomerium to be embedded as a library (#3415) 2022-06-15 20:29:19 -04:00
envoy_other.go allow pomerium to be embedded as a library (#3415) 2022-06-15 20:29:19 -04:00
envoy_test.go allow pomerium to be embedded as a library (#3415) 2022-06-15 20:29:19 -04:00
extract.go core/envoy: clean up temporary directory on start (#4914) 2024-01-24 15:53:44 -07:00
extract_test.go core/envoy: clean up temporary directory on start (#4914) 2024-01-24 15:53:44 -07:00
misc.go envoyconfig: address strconv.Atoi warnings (#5076) 2024-04-26 09:38:41 -07:00