Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for connectTo (0.49 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        val connect1 = server.takeRequest()
        assertThat(connect1.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect1.headers["Proxy-Authorization"]).isNull()
        val connect2 = server.takeRequest()
        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"]).isEqualTo("password")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    func (db *DB) Driver() driver.Driver {
    	return db.connector.Driver()
    }
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. src/net/http/server.go

    	// address the connection arrived on.
    	// The associated value will be of type net.Addr.
    	LocalAddrContextKey = &contextKey{"local-addr"}
    )
    
    // A conn represents the server side of an HTTP connection.
    type conn struct {
    	// server is the server on which the connection arrived.
    	// Immutable; never nil.
    	server *Server
    
    	// cancelCtx cancels the connection-level context.
    	cancelCtx context.CancelFunc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    	// The /foo -> /foo/ redirect applies to CONNECT requests
    	// but the path canonicalization does not.
    	{"CONNECT", "google.com", "/dir", 301, "/dir/"},
    	{"CONNECT", "google.com", "/../search", 404, ""},
    	{"CONNECT", "google.com", "/dir/..", 200, "/dir/"},
    	{"CONNECT", "google.com", "/dir/..", 200, "/dir/"},
    	{"CONNECT", "google.com", "/dir/./file", 200, "/dir/"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          )
        assertContent("A", response)
        val connect1 = server.takeRequest()
        assertThat(connect1.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect1.headers["Proxy-Authorization"]).isNull()
        val connect2 = server.takeRequest()
        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"])
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    this subset. properties: connectionPool: properties: http: description: HTTP connection pool settings. properties: h2UpgradePolicy: description: Specify if http1.1 connection should be upgraded to http2 for the associated destination. enum: - DEFAULT - DO_NOT_UPGRADE - UPGRADE type: string http1MaxPendingReque: description: Maximum number of requests that will be queued while waiting for a ready connection pool connection. format: int32 type: integer http2MaxRequests: description: Maximum number of...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  7. src/database/sql/sql_test.go

    	// 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
    	// requests. DB should deal with this situation without leaking the
    	// connection.
    	drv.waitCh <- struct{}{}
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    // Issues 4677, 18241, and 17844. If we try to reuse a connection that the
    // server is in the process of closing, we may end up successfully writing out
    // our request (or a portion of our request) only to find a connection error
    // when we try to read from (or finish writing to) the socket.
    //
    // NOTE: we resend a request only if:
    //   - we reused a keep-alive connection
    //   - we haven't yet received any header data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-helper.sh

    kind: EgressSelectorConfiguration
    egressSelections:
    - name: cluster
      connection:
        proxyProtocol: GRPC
        transport:
          uds:
            udsName: /etc/srv/kubernetes/konnectivity-server/konnectivity-server.socket
    - name: controlplane
      connection:
        proxyProtocol: Direct
    - name: etcd
      connection:
        proxyProtocol: Direct
    EOF
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	if logKind == 0 {
    		logKind = madmin.LogMaskAll
    	}
    
    	// Avoid reusing tcp connection if read timeout is hit
    	// This is needed to make r.Context().Done() work as
    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    	logCh := make(chan log.Info, 1000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
Back to top