Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 53 of 53 for Managed (0.15 sec)

  1. src/net/http/server.go

    	// Hijack lets the caller take over the connection.
    	// After a call to Hijack the HTTP server library
    	// will not do anything else with the connection.
    	//
    	// It becomes the caller's responsibility to manage
    	// and close the connection.
    	//
    	// The returned net.Conn may have read or write deadlines
    	// already set, depending on the configuration of the
    	// Server. It is the caller's responsibility to set
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    	tcs.closed[c] = false
    	tcs.list = append(tcs.list, c)
    }
    
    func (tcs *testConnSet) remove(c net.Conn) {
    	tcs.mu.Lock()
    	defer tcs.mu.Unlock()
    	tcs.closed[c] = true
    }
    
    // some tests use this to manage raw tcp connections for later inspection
    func makeTestDial(t *testing.T) (*testConnSet, func(n, addr string) (net.Conn, error)) {
    	connSet := &testConnSet{
    		t:      t,
    		closed: make(map[net.Conn]bool),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </p>
    
    <pre>
    panic(42)
    panic("unreachable")
    panic(Error("cannot parse"))
    </pre>
    
    <p>
    The <code>recover</code> function allows a program to manage behavior
    of a panicking goroutine.
    Suppose a function <code>G</code> defers a function <code>D</code> that calls
    <code>recover</code> and a panic occurs in a function on the same goroutine in which <code>G</code>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top