Searched defs:http2pipe (Results 1 – 1 of 1) sorted by relevance
3714 type http2pipe struct { struct3715 mu sync.Mutex3716 c sync.Cond // c.L lazily initialized to &p.mu3717 b http2pipeBuffer // nil when done reading3718 unread int // bytes unread when done3719 err error // read error once empty. non-nil means closed.3720 breakErr error // immediate read error (caller doesn't see rest of b)3721 donec chan struct{} // closed on error3722 readFn func() // optional code to run in Read before error3733 func (p *http2pipe) setBuffer(b http2pipeBuffer) {[all …]