Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pole committed Apr 30, 2024
1 parent 87d3cdc commit 800c9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.Header().Set(k, v)
}

if s.StreamParser != nil {
if s.StreamParser == nil {
s.StreamParser = streamParser(r)
}
// Get the StreamID
Expand Down

0 comments on commit 800c9eb

Please sign in to comment.