Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for connections (0.19 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. api/maven-api-model/src/main/mdo/maven.mdo

          </description>
          <fields>
            <field>
              <name>connection</name>
              <version>4.0.0+</version>
              <description>
                <![CDATA[
                The source control management system URL
                that describes the repository and how to connect to the
                repository.
                This connection is read-only.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    			valid: true,
    		},
    
    		{name: "invalid connection pool, empty", in: &networking.ConnectionPoolSettings{}, valid: false},
    
    		{
    			name: "invalid connection pool, bad max connections", in: &networking.ConnectionPoolSettings{
    				Tcp: &networking.ConnectionPoolSettings_TCPSettings{MaxConnections: -1},
    			},
    			valid: false,
    		},
    
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top