Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for finalFlush (0.99 sec)

  1. src/net/http/server.go

    	if !w.wroteHeader {
    		w.WriteHeader(StatusOK)
    	}
    	err := w.w.Flush()
    	e2 := w.cw.flush()
    	if err == nil {
    		err = e2
    	}
    	return err
    }
    
    func (c *conn) finalFlush() {
    	if c.bufr != nil {
    		// Steal the bufio.Reader (~4KB worth of memory) and its associated
    		// reader for a future connection.
    		putBufioReader(c.bufr)
    		c.bufr = nil
    	}
    
    	if c.bufw != 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