Skip to content

Commit

Permalink
always do event stream logic for /eth/v1/events calls
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Nov 3, 2023
1 parent 59a2c72 commit b67daae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/proxycall.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (proxy *BeaconProxy) processProxyCall(w http.ResponseWriter, r *http.Reques
}

respContentType := resp.Header.Get("Content-Type")
isEventStream := respContentType == "text/event-stream"
isEventStream := respContentType == "text/event-stream" || strings.HasPrefix(r.URL.EscapedPath(), "/eth/v1/events")

// passthru response headers
respH := w.Header()
Expand Down

0 comments on commit b67daae

Please sign in to comment.