From c1583783736f55998cfbedc9e19bd5b82afc1aed Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 3 Apr 2023 00:02:40 +0200 Subject: Add note --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f047015..479354b 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,11 @@ is available yet ([lines 663-778][]). [goLookupIPCNAMEOrder]: https://github.com/golang/go/blob/8edcdddb23c6d3f786b465c43b49e8d9a0015082/src/net/dnsclient_unix.go#L595-L804 [lines 663-778]: https://github.com/golang/go/blob/8edcdddb23c6d3f786b465c43b49e8d9a0015082/src/net/dnsclient_unix.go#L663-L778 -Also note that the default settings makes us follow redirects (at most 10). +Also note that the default settings makes us follow redirects (at most 10). And +that 10MiB for MaxResponseHeaderBytes should be [conservative][]; so it seems +like we should not be too strict if setting this to 32MiB. + +[conservative]: https://go-review.googlesource.com/c/go/+/21329/2/src/net/http/transport.go ## Contact -- cgit v1.2.3