#2488 closed defect (fixed)
$remote_addr is wrong after quic migration
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | http/3 | Version: | 1.23.x |
Keywords: | Cc: | ||
uname -a: | |||
nginx -V: | nginx-quic-8347620e0e76 |
Description
In ngx_quic_set_connection_path(), the address is copied from path->addr_text to c->addr_text. path->addr_text includes the port number, but c->addr_text does not usually include it.
Also, the address may be truncated because it uses min(c->addr_text.len, path->addr_text.len) for the new length.
Change History (4)
comment:1 by , 19 months ago
Status: | new → accepted |
---|
comment:2 by , 19 months ago
Note:
See TracTickets
for help on using tickets.
Thanks for reporting this. We are now working on improving the issue.