]> Cypherpunks repositories - gostls13.git/commit
net: document LookupTXT behavior with multiple strings per record
authorSimon Ser <contact@emersion.fr>
Sun, 22 Dec 2024 23:51:26 +0000 (23:51 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 23 Dec 2024 00:27:28 +0000 (16:27 -0800)
commit05d8984781f7cf2f0f39b53699a558b6a1965c6c
tree9f7cb91802d88fcaab0d3ff5e0ca18f76bea6f4a
parent500675a7c8c72bd6b1054a7eb4daaf61970f5ad7
net: document LookupTXT behavior with multiple strings per record

CL 8966 ("net: allow a dns TXT record to contain more than
one <character-string>") concatenates strings in a TXT record. Document
that behavior, since it's not obvious whether the strings will be
concatenated or accumulated in the returned slice.

Change-Id: I6acb27b296290361a95a6058a056f8e7c2df9a2b
GitHub-Last-Rev: ec0726c7b83a56773d0ac4a86cbfc89c6f4884c9
GitHub-Pull-Request: golang/go#65233
Reviewed-on: https://go-review.googlesource.com/c/go/+/557695
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/net/lookup.go