aboutsummaryrefslogtreecommitdiff
path: root/docs/reference.html
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2026-08-30 15:41:46 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2026-08-30 15:41:46 +0200
commit630a3b7f4fb0c786170e3903175e964bbc1bc77f (patch)
treea2ddb0387375ad6b329460848f18e7429d1931b7 /docs/reference.html
parent6fe110be47c0fc34bc9dce6d377ce9b48ab27c2e (diff)
downloadluasocket-630a3b7f4fb0c786170e3903175e964bbc1bc77f.tar.gz
luasocket-630a3b7f4fb0c786170e3903175e964bbc1bc77f.tar.bz2
luasocket-630a3b7f4fb0c786170e3903175e964bbc1bc77f.zip
fix(http): bracket IPv6 host in Host header
The Host header must wrap an IPv6 literal in brackets (RFC 7230), but adjustheaders() used reqt.host as-is, which is unbracketed after url.parse(). Use url.classify_host() to detect IPv6 and bracket it, handling an already-bracketed input without doubling the brackets. Closes #445
Diffstat (limited to 'docs/reference.html')
0 files changed, 0 insertions, 0 deletions