mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
- Add ObjectEntries primordial for safe iteration - Use primordials (StringPrototypeToLowerCase, ObjectKeys, ObjectEntries, ArrayIsArray) instead of global built-ins in Http1FallbackResponse - Fix Buffer.byteLength to include encoding parameter for accurate byte length calculation with non-UTF8 encodings - Have Http2SecureServer call initializeOptions() to ensure proper defaults - Support custom Http1ServerResponse in http1ConnectionListener while defaulting to Http1FallbackResponse (http.ServerResponse requires native handle not available when parsing raw sockets) - Use Promise.withResolvers in tests for cleaner async code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>