Files
bun.sh/src
Claude Bot a966dd2db2 fix(http2): resolve origin mismatch with got HTTP/2 client
Fixes two bugs that caused HTTP/2 origin validation to fail with the `got` client:

1. TLSSocket.servername not set from host option - When `options.servername`
   was not explicitly provided, it was set to `undefined` instead of falling
   back to `options.host`. Also fixed case mismatch where code read `tls.servername`
   but the buntls function returned `serverName`.

2. Origin string included default port 443 - Per web origin standards, default
   ports (443 for HTTPS) should be omitted from origin strings.

The combined effect caused `got`'s http2-wrapper to fail with:
"Requested origin https://google.com does not match server https://google.com:443"

Closes #25771

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 07:19:12 +00:00
..
2026-01-23 00:10:48 -08:00
2026-01-23 11:02:26 -08:00
2026-01-23 11:02:26 -08:00
2026-01-23 11:02:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-20 20:56:02 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-12-25 14:00:58 -08:00
2025-11-10 14:38:26 -08:00
2025-10-04 02:17:55 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-25 11:06:24 -08:00
2025-11-10 14:38:26 -08:00
2026-01-07 12:33:21 -08:00
2025-11-10 14:38:26 -08:00
2025-11-20 20:56:02 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 11:02:26 -08:00
2025-12-01 21:59:11 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 11:02:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 11:02:26 -08:00