Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for connectTo (0.12 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Play it back.
        val connection = connect(peer)
        connection.newStream(headerEntries("a", "android"), false)
        connection.withLock {
          if (!connection.isHealthy(System.nanoTime())) {
            throw ConnectionShutdownException()
          }
        }
        connection.writePing()
        connection.shutdown(ErrorCode.PROTOCOL_ERROR)
        assertThat(connection.openStreamCount()).isEqualTo(1)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * automatically send ping frames until either the connection fails or it is closed. This keeps
         * the connection alive and may detect connectivity failures.
         *
         * If the server does not respond to each ping with a pong within `interval`, this client will
         * assume that connectivity has been lost. When this happens on a web socket the connection is
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val connect1 = server.takeRequest()
        assertThat(connect1.requestLine).isEqualTo("CONNECT android.com:$port HTTP/1.1")
        assertThat(connect1.headers["Proxy-Authorization"]).isNull()
    
        val connect2 = server.takeRequest()
        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:$port HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"]).isEqualTo("password")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    		if resp.Close || rc.treq.Request.Close {
    			close(continueCh) // don't send the body; the connection will close
    		} else {
    			continueCh <- struct{}{} // send the body
    		}
    	}
    
    	resp.TLS = pc.tlsState
    	return
    }
    
    // waitForContinue returns the function to block until
    // any response, timeout or connection close. After any of them,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

    /**
     *
     */
    final class SmbSessionImpl implements SmbSessionInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbSessionImpl.class);
    
        /*
         * 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        private final AtomicInteger connectionState = new AtomicInteger();
        private int uid;
        private List<SmbTreeImpl> trees;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  6. src/net/http/request.go

    	}
    
    	// CONNECT requests are used two different ways, and neither uses a full URL:
    	// The standard use is to tunnel HTTPS through an HTTP proxy.
    	// It looks like "CONNECT www.google.com:443 HTTP/1.1", and the parameter is
    	// just the authority section of a URL. This information should go in req.URL.Host.
    	//
    	// The net/rpc package also uses CONNECT, but there the parameter is a path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    			routes = append(routes, route)
    		case "CONNECT":
    			for _, method := range connecter.ConnectMethods() {
    				connectProducedObject := storageMeta.ProducesObject(method)
    				if connectProducedObject == nil {
    					connectProducedObject = "string"
    				}
    				doc := "connect " + method + " requests to " + kind
    				if isSubresource {
    					doc = "connect " + method + " requests to " + subresource + " of " + kind
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

    stuck on the old version.
    
     *  **There is no longer a global singleton connection pool.** In OkHttp 2.x,
        all `OkHttpClient` instances shared a common connection pool by default.
        In OkHttp 3.x, each new `OkHttpClient` gets its own private connection pool.
        Applications should avoid creating many connection pools as doing so
        prevents connection reuse. Each connection pool holds its own set of
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    	{70, "ENETUNREACH", "network is unreachable"},
    	{71, "ENETRESET", "network dropped connection on reset"},
    	{72, "ECONNABORTED", "software caused connection abort"},
    	{73, "ECONNRESET", "connection reset by peer"},
    	{74, "ENOBUFS", "no buffer space available"},
    	{75, "EISCONN", "socket is already connected"},
    	{76, "ENOTCONN", "socket is not connected"},
    	{77, "ESHUTDOWN", "can't send after socket shutdown"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
  10. src/syscall/zerrors_solaris_amd64.go

    	129: "network dropped connection because of reset",
    	130: "software caused connection abort",
    	131: "connection reset by peer",
    	132: "no buffer space available",
    	133: "transport endpoint is already connected",
    	134: "transport endpoint is not connected",
    	143: "cannot send after socket shutdown",
    	144: "too many references: cannot splice",
    	145: "connection timed out",
    	146: "connection refused",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
Back to top