Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeChunk (0.21 sec)

  1. src/net/http/h2_bundle.go

    		rws.trailers = append(rws.trailers, k)
    	}
    }
    
    // writeChunk writes chunks from the bufio.Writer. But because
    // bufio.Writer may bypass its chunking, sometimes p may be
    // arbitrarily large.
    //
    // writeChunk is also responsible (on the first chunk) for sending the
    // HEADER response.
    func (rws *http2responseWriterState) writeChunk(p []byte) (n int, err error) {
    	if !rws.wroteHeader {
    		rws.writeHeader(200)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top