Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for wrong (0.37 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

            if (!decodeIpv4Suffix(input, groupOffset, limit, address, b - 2)) return null
            b += 2 // We rewound two bytes and then added four.
            break
          } else {
            return null // Wrong delimiter.
          }
        }
    
        // Read a group, one to four hex digits.
        var value = 0
        groupOffset = i
        while (i < limit) {
          val hexDigit = input[i].parseHexDigit()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  2. docs/contribute/code_of_conduct.md

    Whenever a participant has made a mistake, we expect them to take responsibility for it. If someone
    has been harmed or offended, it is our responsibility to listen carefully and respectfully, and do
    our best to right the wrong.
    
    Although this list cannot be exhaustive, we explicitly honor diversity in age, culture, ethnicity,
    gender identity or expression, language, national origin, political beliefs, profession, race,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_1x.md

       recover from another I/O failure.
     * Fix problems where spdy/3.1 headers may not have been compressed properly.
     * Fix problems with spdy/3.1 and http/2 where the wrong window size was being
       used.
     * Fix 1.5.0 regression where conditional cache responses could corrupt the
       connection pool.
    
    
    ## Version 1.5.0
    
    _2014-03-07_
    
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun connectViaHttpProxyToHttpsUsingHttpsProxySystemProperty() {
        testConnectViaHttpProxyToHttps(ProxyConfig.HTTPS_PROXY_SYSTEM_PROPERTY)
      }
    
      /**
       * We were verifying the wrong hostname when connecting to an HTTPS site through a proxy.
       * http://b/3097277
       */
      private fun testConnectViaHttpProxyToHttps(proxyConfig: ProxyConfig) {
        val hostnameVerifier = RecordingHostnameVerifier()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

          private var canRemove = false
    
          override fun hasNext(): Boolean {
            if (nextUrl != null) return true
    
            canRemove = false // Prevent delegate.remove() on the wrong item!
            while (delegate.hasNext()) {
              try {
                delegate.next().use { snapshot ->
                  val metadata = snapshot.getSource(ENTRY_METADATA).buffer()
    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)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      fun reconnectingToNonWebSocket() {
        for (i in 0..29) {
          webServer.enqueue(
            MockResponse.Builder()
              .bodyDelay(100, TimeUnit.MILLISECONDS)
              .body("Wrong endpoint")
              .code(401)
              .build(),
          )
        }
        val request =
          Request.Builder()
            .url(webServer.url("/"))
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  7. CHANGELOG.md

        of unacknowledged data per stream and no per-connection limit.
    
     *  Fix: Don't close a `Deflater` while we're still using it to compress a web socket message. We
        had a severe bug where web sockets were closed on the wrong thread, which caused
        `NullPointerException` crashes in `Deflater`.
    
     *  Fix: Don't crash after a web socket fails its connection upgrade. We incorrectly released
    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)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * connection is fine the ping will receive a pong; otherwise it won't.
       *
       * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too
       * long, streams created while we await the pong will reuse broken connections and inevitably
       * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

              CertificatePinner.Builder()
                .add(server.hostName, "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
                .build(),
            )
            .build()
    
        // When we pin the wrong certificate, connectivity fails.
        val request = Request.Builder().url(server.url("/")).build()
        assertFailsWith<SSLPeerUnverifiedException> {
          client.newCall(request).execute()
        }.also { expected ->
    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. docs/changelogs/changelog_2x.md

     *  Fix: Don't leak connections when using ALPN on the desktop.
     *  Fix: Update Jetty ALPN to `7.1.2.v20141202` (Java 7) and `8.1.2.v20141202` (Java 8).
        This fixes a bug in resumed TLS sessions where the wrong protocol could be
        selected.
     *  Fix: Don't crash in SPDY and HTTP/2 when disconnecting before connecting.
     *  Fix: Avoid a reverse DNS-lookup for a numeric proxy address
     *  Fix: Resurrect http/2 frame logging.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
Back to top