]> Cypherpunks repositories - gostls13.git/commit
net: don't assume that NOFILE rlimit fits in an int
authorIan Lance Taylor <iant@golang.org>
Sun, 26 Mar 2023 03:05:38 +0000 (20:05 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 27 Mar 2023 21:54:52 +0000 (21:54 +0000)
commit0393934fa49fce48986c8f48ff6e61971d6dbdc9
tree479842dbc8c10e38c0fa9e2bd29408a64b93c471
parent1ae306a5be7ad6edb5f06bf25b38e9cbabcc3556
net: don't assume that NOFILE rlimit fits in an int

No test because a test requires a system on which we can set RLIMIT_NOFILE
to RLIM_INFINITY, which we normally can't.

Fixes #59242

Change-Id: I8fc30e4206bb2be46369b5342360de556ce75a96
Reviewed-on: https://go-review.googlesource.com/c/go/+/479436
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/net/lookup_unix.go