Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Connection (0.07 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      private fun waitForConnectionShutdown(connection: RealConnection?) {
        if (connection!!.isHealthy(false)) {
          Thread.sleep(100L)
        }
        if (connection.isHealthy(false)) {
          Thread.sleep(2000L)
        }
        if (connection.isHealthy(false)) {
          throw TimeoutException("connection didn't shutdown within timeout")
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

     *  **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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    ```py
    #!/usr/bin/env python
    import pika
    
    connection = pika.BlockingConnection(pika.ConnectionParameters(
            host='localhost'))
    channel = connection.channel()
    
    channel.exchange_declare(exchange='bucketevents',
                             exchange_type='fanout')
    
    result = channel.queue_declare(exclusive=False)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        assertThat(connectionAcquired2.connection).isSameAs(
          connectionAcquired1.connection,
        )
      }
    
      @Test
      fun multipleConnectionsFoundForSingleCall() {
        server.enqueue(
          MockResponse.Builder()
            .code(301)
            .addHeader("Location", "/foo")
            .addHeader("Connection", "Close")
            .build(),
        )
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                log.trace("Release session " + usage + " " + this);
            }
    
            if ( usage == 0 ) {
                if ( log.isDebugEnabled() ) {
                    log.debug("Usage dropped to zero, release connection " + this.transport);
                }
                synchronized ( this ) {
                    if ( this.transportAcquired.compareAndSet(true, false) ) {
                        this.transport.release();
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    	public fun connectEnd (Lokhttp3/Connection;Lokhttp3/Route;Lokhttp3/Call;)V
    	public fun connectFailed (Lokhttp3/Route;Lokhttp3/Call;Ljava/io/IOException;)V
    	public fun connectStart (Lokhttp3/Route;Lokhttp3/Call;)V
    	public fun connectionAcquired (Lokhttp3/Connection;Lokhttp3/Call;)V
    	public fun connectionClosed (Lokhttp3/Connection;)V
    	public fun connectionReleased (Lokhttp3/Connection;Lokhttp3/Call;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	outlierDetection *v1alpha3.OutlierDetection,
    ) string {
    	extra := make([]string, 0)
    	if lb != nil {
    		extra = append(extra, "load balancer")
    	}
    	if connectionPool != nil {
    		extra = append(extra, "connection pool")
    	}
    	if outlierDetection != nil {
    		extra = append(extra, "outlier detection")
    	}
    	if len(extra) > 0 {
    		return fmt.Sprintf("Policies: %s\n", strings.Join(extra, "/"))
    	}
    	return ""
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  10. pom.xml

    		<name>CodeLibs</name>
    		<url>https://fess.codelibs.org/</url>
    	</organization>
    	<issueManagement>
    		<url>https://github.com/codelibs/fess/issues</url>
    	</issueManagement>
    	<scm>
    		<connection>scm:git:******@****.***:codelibs/fess.git</connection>
    		<developerConnection>scm:git:******@****.***:codelibs/fess.git</developerConnection>
    		<url>https://github.com/codelibs/fess</url>
    	</scm>
    	<parent>
    		<groupId>org.codelibs.fess</groupId>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
Back to top