use STREAM frames from the buffer for sending data

This commit is contained in:
Marten Seemann
2019-09-04 20:24:09 +07:00
parent 039d7ae888
commit 4cfbb2f134
5 changed files with 57 additions and 42 deletions

View File

@@ -17,7 +17,7 @@ func init() {
}
}
func getStreamFrame() *StreamFrame {
func GetStreamFrame() *StreamFrame {
f := pool.Get().(*StreamFrame)
return f
}