diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3e0e9ff..045eb96 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.22.2" + go-version: "1.22.3" - name: Build run: go build -v ./... diff --git a/UPSTREAM b/UPSTREAM index e817184..ce8e8fa 100644 --- a/UPSTREAM +++ b/UPSTREAM @@ -1 +1 @@ -go1.22.2 +go1.22.3 diff --git a/h2_bundle.go b/h2_bundle.go index 062fa17..f684aa2 100644 --- a/h2_bundle.go +++ b/h2_bundle.go @@ -2999,8 +2999,8 @@ func (fr *http2Framer) readMetaFrame(hf *http2HeadersFrame) (http2Frame, error) log.Printf("http2: header list too large") } // It would be nice to send a RST_STREAM before sending the GOAWAY, - // but the struture of the server's frame writer makes this difficult. - return nil, http2ConnectionError(http2ErrCodeProtocol) + // but the structure of the server's frame writer makes this difficult. + return mh, http2ConnectionError(http2ErrCodeProtocol) } // Also close the connection after any CONTINUATION frame following an @@ -3011,8 +3011,8 @@ func (fr *http2Framer) readMetaFrame(hf *http2HeadersFrame) (http2Frame, error) log.Printf("http2: invalid header: %v", invalid) } // It would be nice to send a RST_STREAM before sending the GOAWAY, - // but the struture of the server's frame writer makes this difficult. - return nil, http2ConnectionError(http2ErrCodeProtocol) + // but the structure of the server's frame writer makes this difficult. + return mh, http2ConnectionError(http2ErrCodeProtocol) } if _, err := hdec.Write(frag); err != nil {