Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Target (0.28 sec)

  1. docs/changelogs/changelog_4x.md

        line application hang after all of the work is done, it may be due to a non-daemon thread like
        this one.
     *  New: Include suppressed exceptions when all routes to a target service fail.
    
    
    ## Version 4.4.1
    
    _2020-03-08_
    
     *  Fix: Don't reuse a connection on redirect if certs match but DNS does not. For better
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          // block for session establishment
          val sslSocketSession = sslSocket.session
          val unverifiedHandshake = sslSocketSession.handshake()
    
          // Verify that the socket's certificates are acceptable for the target host.
          if (!address.hostnameVerifier!!.verify(address.url.host, sslSocketSession)) {
            val peerCertificates = unverifiedHandshake.peerCertificates
            if (peerCertificates.isNotEmpty()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. build.gradle.kts

        mavenCentral()
        gradlePluginPortal()
        google()
      }
    }
    
    apply(plugin = "org.jetbrains.dokka")
    apply(plugin = "com.diffplug.spotless")
    
    configure<SpotlessExtension> {
      kotlin {
        target("**/*.kt")
        ktlint()
      }
    }
    
    allprojects {
      group = "com.squareup.okhttp3"
      version = "5.0.0-SNAPSHOT"
    
      repositories {
        mavenCentral()
        google()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      ) {
        lock.assertNotHeld()
    
        val open: Boolean
        this.withLock {
          if (!hasResponseHeaders ||
            headers[Header.RESPONSE_STATUS_UTF8] != null ||
            headers[Header.TARGET_METHOD_UTF8] != null
          ) {
            hasResponseHeaders = true
            headersQueue += headers
          } else {
            this.source.trailers = headers
          }
          if (inFinished) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  5. CHANGELOG.md

        in logs. For best security, don't put sensitive information in query parameters.
    
     *  New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
        address. Use this to proactively open HTTP connections.
    
        Connections opened to fulfill this policy are subject to the connection pool's
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        // All other connections created will expire sooner
        routePlanner.defaultConnectionIdleAtNanos = expireSooner
    
        // Turn it into an http/2 connection that supports 5 concurrent streams
        // which can satisfy a larger policy
        val connection = routePlanner.plans.first().connection
        val http2Connection = connectHttp2(peer, connection, 5)
        setPolicy(pool, address, ConnectionPool.AddressPolicy(5))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          val callReference = reference as CallReference
          val message =
            "A connection to ${connection.route().address.url} was leaked. " +
              "Did you forget to close a response body?"
          Platform.get().logCloseableLeak(message, callReference.callStackTrace)
    
          references.removeAt(i)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().headers(false, 3, headerEntries("a", "android"))
        val expectedRequestHeaders =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/cached"),
          )
        peer.sendFrame().pushPromise(3, 2, expectedRequestHeaders)
        val expectedResponseHeaders =
          listOf(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top