Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 117 for reuse (0.78 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

          assertThat(
            response.body.string(),
          ).isEqualTo("unrelated response body!")
        }
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        // No connection reuse.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        for (response in responsesNotClosed) {
          response!!.closeQuietly()
        }
      }
    
      private fun enableHttps() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response to the
       * [Call.request] is a redirect to a different host.
       *
       * If the [Call] is able to reuse an existing pooled connection, this method will not be invoked.
       * See [ConnectionPool].
       */
      open fun dnsStart(
        call: Call,
        domainName: String,
      ) {
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

     *  Fix: Don't release HTTP/2 connections that have multiple canceled calls. We had a bug where
        canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This
        harmed connection reuse.
     *  Fix: Ensure canceled and discarded HTTP/2 data is not permanently counted against the limited
        flow control window. We had a few bugs where window size accounting was broken when streams
        were canceled or reset.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            carrier.noNewExchanges()
            responseBodyComplete(TRAILERS_RESPONSE_BODY_TRUNCATED)
            throw e
          }
    
        /**
         * Closes the cache entry and makes the socket available for reuse. This should be invoked when
         * the end of the body has been reached.
         */
        fun responseBodyComplete(trailers: Headers) {
          if (state == STATE_CLOSED) return
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/JAASAuthenticator.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    /**
     * JAAS kerberos authenticator
     *
     * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't
     * get proper ticket caching.
     *
     * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertTrue(initialAllocated >= 2, "Should have allocated at least 2 regions");
                assertTrue(initialActive >= 2, "Should have at least 2 active regions");
    
                // Test buffer release and reuse
                bufferManager.releaseSendRegion(sendRegion);
                bufferManager.releaseReceiveRegion(recvRegion);
    
                // Allocate again to test pooling
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/HandlerTest.java

        }
    
        @Test
        void testOpenConnection_CachedHandler_ReusesExistingHandler() throws Exception {
            // This test verifies that once a handler is cached, subsequent calls reuse it.
            setupMockProtocolHandlers();
            URL url1 = new URL("http://example.com/resource1");
            URL url2 = new URL("http://example.com/resource2");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      private var closed: Boolean = false
    
      /**
       * The number of HTTP requests received thus far by this server. This may exceed the number of
       * HTTP connections when connection reuse is in practice.
       */
      public val requestCount: Int
        get() = atomicRequestCount.get()
    
      /** The number of bytes of the POST body to keep in memory to the given limit. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response3.body.string()).isEqualTo("GHI")
        // Settings connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        // Reuse settings connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
        // Reuse settings connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(2)
        // New connection!
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top