Skip to content

Commit

Permalink
Merge pull request #30 from vvakame/master
Browse files Browse the repository at this point in the history
Add f.Flush() to runtime.ForwardResponseStream
  • Loading branch information
yugui committed Jul 9, 2015
2 parents d430203 + 82b52b9 commit 9c49d8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func ForwardResponseStream(w http.ResponseWriter, recv func() (proto.Message, er
glog.Errorf("Failed to send response chunk: %v", err)
return
}
f.Flush()
}
}

Expand Down

0 comments on commit 9c49d8b

Please sign in to comment.