Updated TODO
diff --git a/server.go b/server.go
index 4bd2a3e..06d5345 100644
--- a/server.go
+++ b/server.go
@@ -1012,8 +1012,13 @@
return StreamError{id, ErrCodeStreamClosed}
}
if len(data) > 0 {
- // TODO: verify they're allowed to write with the flow control
- // window we'd advertised to them.
+ // TODO: verify they're allowed to write with the flow
+ // control window we'd advertised to them. (currently
+ // this is fails elsewhere, in that the body buffer is
+ // always 65k, the default initial window size, but
+ // once that's fixed to grow and shrink on demand,
+ // we'll need to be stricter before that, or in the
+ // buffer code)
wrote, err := st.body.Write(data)
if err != nil {
return StreamError{id, ErrCodeStreamClosed}