Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for connections (0.36 sec)

  1. src/database/sql/sql.go

    // ErrConnDone is returned by any operation that is performed on a connection
    // that has already been returned to the connection pool.
    var ErrConnDone = errors.New("sql: connection is already closed")
    
    // Conn returns a single connection by either opening a new connection
    // or returning an existing connection from the connection pool. Conn will
    // block until either a connection is returned or ctx is canceled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. src/net/http/server.go

    // an HTTP handler to take over the connection.
    //
    // The default [ResponseWriter] for HTTP/1.x connections supports
    // Hijacker, but HTTP/2 connections intentionally do not.
    // ResponseWriter wrappers may also not support Hijacker. Handlers
    // should always test for this ability at runtime.
    type Hijacker interface {
    	// Hijack lets the caller take over the connection.
    	// After a call to Hijack the HTTP server library
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    	// Wait until the goroutine we've just created has started waiting.
    	<-drv.waitingCh
    	// Now close the busy connections. This provides a connection for
    	// the blocked goroutine and then fills up the idle queue.
    	for _, v := range rows {
    		v.Close()
    	}
    	// At this point we give the new connection to DB. This connection is
    	// now useless, since the idle queue is full and there are no pending
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    description: If set to true, client protocol will be preserved while initiating connection to backend. type: boolean type: object tcp: description: Settings common to both HTTP and TCP upstream connections. properties: connectTimeout: description: TCP connection timeout. type: string maxConnectionDuratio: description: The maximum duration of a connection. type: string maxConnections: description: Maximum number of HTTP1 /TCP connections to a destination host. format: int32 type: integer tcpKeepalive: description:...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    		ConnectStart:         func(network, addr string) { logf("ConnectStart: Connecting to %s %s ...", network, addr) },
    		ConnectDone: func(network, addr string, err error) {
    			if err != nil {
    				t.Errorf("ConnectDone: %v", err)
    			}
    			logf("ConnectDone: connected to %s %s = %v", network, addr, err)
    		},
    		WroteHeaderField: func(key string, value []string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertContent("This comes after a busted connection", response2)
    
        // Check that a fresh connection was created, either immediately or after attempting reuse.
        // We know that a fresh connection was created if the server recorded a request with sequence
        // number 0. Since the client may have attempted to reuse the broken connection just before
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    			c.Write([]byte("HTTP/1.0 200 OK\r\nConnection: close\r\n\r\nHello."))
    			c.Close()
    			panic("intentional panic")
    		},
    	}
    
    	// A stateLog is a log of states over the lifetime of a connection.
    	type stateLog struct {
    		active   net.Conn // The connection for which the log is recorded; set to the first connection seen in StateNew.
    		got      []ConnState
    		want     []ConnState
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. samples/addons/grafana.yaml

    ,"targets":[{"datasource":{"type":"prometheus","uid":"$datasource"},"expr":"sum(envoy_cluster_upstream_cx_active{cluster_name=\"xds-grpc\"})","legendFormat":"Connections (client reported)"},{"datasource":{"type":"prometheus","uid":"$datasource"},"expr":"sum(pilot_xds{})","legendFormat":"Connections (server reported)"}],"title":"Connections","type":"timeseries"},{"datasource":{"type":"datasource","uid":"-- Mixed --"},"description":"Number of push errors. Many of these are at least potentional fatal...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

              // This request will share a connection with 'A' cause it's all done.
              client.newCall(Request.Builder().url(server.url("/b")).build()).enqueue(callback)
            }
          },
        )
        callback.await(server.url("/b")).assertCode(200).assertBody("def")
        // New connection.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        // Connection reuse!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_node_status_test.go

    	failureCallbacks := int64(0)
    
    	// set up a listener that hangs connections
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	assert.NoError(t, err)
    	defer ln.Close()
    	go func() {
    		// accept connections and just let them hang
    		for {
    			_, err := ln.Accept()
    			if err != nil {
    				t.Log(err)
    				return
    			}
    			t.Log("accepted connection")
    			atomic.AddInt64(&attempts, 1)
    		}
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
Back to top