Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LocalAddrContextKey (0.22 sec)

  1. src/net/http/h2_bundle.go

    	sc.serve()
    }
    
    func http2serverConnBaseContext(c net.Conn, opts *http2ServeConnOpts) (ctx context.Context, cancel func()) {
    	ctx, cancel = context.WithCancel(opts.context())
    	ctx = context.WithValue(ctx, LocalAddrContextKey, c.LocalAddr())
    	if hs := opts.baseConfig(); hs != nil {
    		ctx = context.WithValue(ctx, ServerContextKey, hs)
    	}
    	return
    }
    
    func (sc *http2serverConn) rejectConn(err http2ErrCode, debug string) {
    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