Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeAfterReply (0.15 sec)

  1. src/net/http/server.go

    		if !connectionHeaderSet {
    			setHeader.connection = "keep-alive"
    		}
    	} else if !w.req.ProtoAtLeast(1, 1) || w.wantsClose {
    		w.closeAfterReply = true
    	}
    
    	if header.get("Connection") == "close" || !keepAlivesEnabled {
    		w.closeAfterReply = true
    	}
    
    	// If the client wanted a 100-continue but we never sent it to
    	// them (or, more strictly: we never finished reading their
    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