Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wantsHttp10KeepAlive (0.18 sec)

  1. src/net/http/server.go

    		closeNotifyCh: make(chan bool, 1),
    
    		// We populate these ahead of time so we're not
    		// reading from req.Header after their Handler starts
    		// and maybe mutates it (Issue 14940)
    		wants10KeepAlive: req.wantsHttp10KeepAlive(),
    		wantsClose:       req.wantsClose(),
    	}
    	if isH2Upgrade {
    		w.closeAfterReply = true
    	}
    	w.cw.res = w
    	w.w = newBufioWriterSize(&w.cw, bufferBeforeChunkingSize)
    	return w, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top