|
@@ -2198,8 +2198,6 @@ func (rl *clientConnReadLoop) processData(f *DataFrame) error {
|
|
|
return nil
|
|
return nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var errInvalidTrailers = errors.New("http2: invalid trailers")
|
|
|
|
|
-
|
|
|
|
|
func (rl *clientConnReadLoop) endStream(cs *clientStream) {
|
|
func (rl *clientConnReadLoop) endStream(cs *clientStream) {
|
|
|
// TODO: check that any declared content-length matches, like
|
|
// TODO: check that any declared content-length matches, like
|
|
|
// server.go's (*stream).endStream method.
|
|
// server.go's (*stream).endStream method.
|
|
@@ -2430,7 +2428,6 @@ func (cc *ClientConn) writeStreamReset(streamID uint32, code ErrCode, err error)
|
|
|
var (
|
|
var (
|
|
|
errResponseHeaderListSize = errors.New("http2: response header list larger than advertised limit")
|
|
errResponseHeaderListSize = errors.New("http2: response header list larger than advertised limit")
|
|
|
errRequestHeaderListSize = errors.New("http2: request header list larger than peer's advertised limit")
|
|
errRequestHeaderListSize = errors.New("http2: request header list larger than peer's advertised limit")
|
|
|
- errPseudoTrailers = errors.New("http2: invalid pseudo header in trailers")
|
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
func (cc *ClientConn) logf(format string, args ...interface{}) {
|
|
func (cc *ClientConn) logf(format string, args ...interface{}) {
|