Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 106 for Case (0.14 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * is used to verify the signature of the "www.squareup.com" certificate.
     *
     * This roles are reversed for client authentication. In that case the client has a private key and
     * a chain of certificates. The server uses a set of trusted root certificates to authenticate the
     * client. Subject alternative names are not used for client authentication.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        assertThat(forJavaName(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5.javaName))
          .isSameAs(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5)
      }
    
      /**
       * Tests that interned CipherSuite instances remain the case across garbage collections, even if
       * the String used to construct them is no longer strongly referenced outside of the CipherSuite.
       */
      @Test
      fun instancesAreInterned_survivesGarbageCollection() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

          for (i in 0 until size) {
            if (!"Vary".equals(name(i), ignoreCase = true)) {
              continue
            }
    
            val value = value(i)
            if (result == null) {
              result = TreeSet(String.CASE_INSENSITIVE_ORDER)
            }
            for (varyField in value.split(',')) {
              result.add(varyField.trim())
            }
          }
          return result ?: emptySet()
        }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

            this.encodedUsername = base.encodedUsername
            this.encodedPassword = base.encodedPassword
            this.host = base.host
            this.port = base.port
            this.encodedPathSegments.clear()
            this.encodedPathSegments.addAll(base.encodedPathSegments)
            if (pos == limit || input[pos] == '#') {
              encodedQuery(base.encodedQuery)
            }
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

        if (flags == 0) return ""
        when (type) {
          // Special case types that have 0 or 1 flag.
          TYPE_SETTINGS, TYPE_PING -> return if (flags == FLAG_ACK) "ACK" else BINARY[flags]
          TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]
        }
        val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags]
        // Special case types that have overlap flag values.
        return when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
        // If there was an interruption or timeout (SocketTimeoutException), don't recover.
        // For the socket connect timeout case we do not try the same host with a different
        // ConnectionSpec: we assume it is unreachable.
        e is InterruptedIOException -> false
    
        // If the problem was a CertificateException from the X509TrustManager, do not retry.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        truncated response from an HTTPS proxy.
    
    
    ## Version 3.14.1
    
    _2019-04-10_
    
     *  Fix: Don't crash when an interceptor retries when there are no more routes. This was an
        edge-case regression introduced with the events cleanup in 3.14.0.
    
     *  Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        ): Long {
          while (left == 0) {
            source.skip(padding.toLong())
            padding = 0
            if (flags and FLAG_END_HEADERS != 0) return -1L
            readContinuationHeader()
            // TODO: test case for empty continuation header?
          }
    
          val read = source.read(sink, minOf(byteCount, left.toLong()))
          if (read == -1L) return -1L
          left -= read.toInt()
          return read
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

              } catch (e: IOException) {
                // It is ok if this broke the stream.
                bodyRef.set("A")
                throw e // We expect to not loop into onFailure in this case.
              } finally {
                latch.countDown()
              }
            }
          },
        )
        latch.await()
        assertThat(bodyRef.get()).isEqualTo("A")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
     * `dnsStart(call, domainName)` → `dnsEnd(call, domainName, inetAddressList)`.
     *
     * Events are typically nested with this structure:
     *
     *  * call ([callStart], [callEnd], [callFailed])
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top