Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BRW (0.01 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/testing/http.go

    	rw.WriteHeader(http.StatusOK)
    
    	conn, brw, err := hj.Hijack()
    	if err != nil {
    		h.t.Logf("Failed to hijack client connection, host=%s: %v", req.Host, err)
    		return
    	}
    	defer conn.Close()
    
    	if err := brw.Flush(); err != nil {
    		h.t.Logf("Failed to flush pending writes to client, host=%s: %v", req.Host, err)
    		return
    	}
    	if _, err := io.Copy(sconn, io.LimitReader(brw, int64(brw.Reader.Buffered()))); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 20 14:58:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top