Forráskód Böngészése

add Framer TODO for size limits

Brad Fitzpatrick 11 éve
szülő
commit
221a65dfef
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      frame.go

+ 3 - 0
frame.go

@@ -284,6 +284,9 @@ type Framer struct {
 	// we're in the middle of a header block and a
 	// we're in the middle of a header block and a
 	// non-Continuation or Continuation on a different stream is
 	// non-Continuation or Continuation on a different stream is
 	// attempted to be written.
 	// attempted to be written.
+
+	// TODO: add limits on max frame size allowed to be read &
+	// written.
 }
 }
 
 
 func (f *Framer) startWrite(ftype FrameType, flags Flags, streamID uint32) {
 func (f *Framer) startWrite(ftype FrameType, flags Flags, streamID uint32) {