Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for noteBodyReadFromHandler (1.69 sec)

  1. src/net/http/h2_bundle.go

    	n  int
    }
    
    // called from handler goroutines.
    // Notes that the handler for the given stream ID read n bytes of its body
    // and schedules flow control tokens to be sent.
    func (sc *http2serverConn) noteBodyReadFromHandler(st *http2stream, n int, err error) {
    	sc.serveG.checkNotOn() // NOT on
    	if n > 0 {
    		select {
    		case sc.bodyReadCh <- http2bodyReadMsg{st, n}:
    		case <-sc.doneServing:
    		}
    	}
    }
    
    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