mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 10:26:29 +02:00
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. |
||
---|---|---|
.. | ||
files | ||
envoy.go | ||
envoy_darwin.go | ||
envoy_linux.go | ||
envoy_other.go | ||
envoy_test.go | ||
extract.go | ||
extract_test.go | ||
misc.go |