Bun

Bun issue (Dec 1): Bun node:http2 ServerHttp2Stream.sentHeaders Returns Request Headers Prematurely

minor

Is it fixed? Not yet.

Ongoing since Dec 1, 05:37 UTC. First reported Dec 1, 05:37 UTC.

What happened

An API behavior discrepancy was reported in Bun 1.4.5 where ServerHttp2Stream.sentHeaders returns the client's request headers prior to calling respond(), whereas Node.js returns undefined until after the response is sent.

What caused it?

Under active investigation. No report has identified a root cause yet.

No verified workaround yet

None of the linked reports describe a mitigation. This page updates when one appears.

Official fix

Outage timeline

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    node:http2: ServerHttp2Stream.sentHeaders returns the request headers before respond(), node returns undefined

    Source

Reports of this outage

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    node:http2: ServerHttp2Stream.sentHeaders returns the request headers before respond(), node returns undefined(opens GitHub issue in a new tab)

    What happens On a server stream, stream.sentHeaders read before respond() gives back the headers the client sent (:method, :path, :authority, :scheme). Node returns undefined until the server responds. After respond() both runtimes return the response headers, and a pushed stream's sentHeaders is its PUSH_PROMISE request in both. node v24.22.3 {"beforeRespond":"undefined","pushed":"/pushed","afterRespond":204} bun 1.4.5+a7733435c {"beforeRespond":"object","pushed":"/pushed","afterRespond":204}…

    by rodrigooler 0upvotes 1comments

Bun issue FAQ

What happened in the Bun issue, and why?

Ongoing since Dec 1, 05:37 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.

What is affected by the Bun issue?

Bun (versions: 1.4.5).

When did the Bun issue start and end?

It started Dec 1, 05:37 UTC and is still ongoing (5 h 9 min so far). This page updates as it develops.

How do I get alerts for Bun?

Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed

Where does this information come from?

WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.