Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for 2003 (0.12 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("::5", session)).isTrue()
        assertThat(verifier.verify("2a03:2880:f003:c07:face:b00c::2", session)).isTrue()
        assertThat(verifier.verify("2a03:2880:f003:c07:face:b00c:0:2", session)).isTrue()
        assertThat(verifier.verify("2a03:2880:f003:c07:FACE:B00C:0:2", session)).isTrue()
        assertThat(verifier.verify("2a03:2880:f003:c07:face:b00c:0:3", session)).isFalse()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        change][remove_cbc_ecdsa] to remove these cipher suites because they are
        fragile and rarely-used.
     *  New: Don't fall back to common name (CN) verification for hostnames. This
        behavior was deprecated with RFC 2818 in May 2000 and was recently dropped
        from major web browsers.
     *  New: Honor the `Retry-After` response header. HTTP 503 (Unavailable)
        responses are retried automatically if this header is present and its delay
    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)
  3. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

        assertThat("2001:db8::1".toCanonicalHost()).isEqualTo("2001:db8::1")
        assertThat("::ffff:192.168.0.1".toCanonicalHost()).isEqualTo("192.168.0.1")
        assertThat(
          "FEDC:BA98:7654:3210:FEDC:BA98:7654:3210".toCanonicalHost(),
        ).isEqualTo(
          "fedc:ba98:7654:3210:fedc:ba98:7654:3210",
        )
    
        assertThat(
          "1080:0:0:0:8:800:200C:417A".toCanonicalHost(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 30 06:23:33 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          }
    
          // Convert two-digit years into four-digit years. 99 becomes 1999, 15 becomes 2015.
          if (year in 70..99) year += 1900
          if (year in 0..69) year += 2000
    
          // If any partial is omitted or out of range, return -1. The date is impossible. Note that leap
          // seconds are not supported by this syntax.
          require(year >= 1601)
          require(month != -1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.B.2.txt

       01F4; 01F5; Case map
       01F6; 0195; Case map
       01F7; 01BF; Case map
       01F8; 01F9; Case map
       01FA; 01FB; Case map
       01FC; 01FD; Case map
       01FE; 01FF; Case map
       0200; 0201; Case map
       0202; 0203; Case map
       0204; 0205; Case map
       0206; 0207; Case map
       0208; 0209; Case map
       020A; 020B; Case map
       020C; 020D; Case map
       020E; 020F; Case map
       0210; 0211; Case map
       0212; 0213; Case map
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 38.8K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              .redirectOutput(File("/dev/null"))
              .redirectError(Redirect.INHERIT)
              .start().also {
                // Give it time to start collecting
                Thread.sleep(2000)
              }
          }
        }
    
        return null
      }
    
      class WireSharkKeyLoggerListener(
        private val logFile: File,
        private val verbose: Boolean = false,
      ) : EventListener() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
      }
    
      /**
       * We only rebuild the journal when it will halve the size of the journal and eliminate at least
       * 2000 ops.
       */
      private fun journalRebuildRequired(): Boolean {
        val redundantOpCompactThreshold = 2000
        return redundantOpCount >= redundantOpCompactThreshold &&
          redundantOpCount >= lruEntries.size
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

        // We can't test 100 because it's not really a response.
        // assertCached(false, 100);
        assertCached(false, 101)
        assertCached(true, 200)
        assertCached(false, 201)
        assertCached(false, 202)
        assertCached(true, 203)
        assertCached(true, 204)
        assertCached(false, 205)
        assertCached(false, 206) // Electing to not cache partial responses
        assertCached(false, 207)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

            }
          }
        redQueue.schedule(task, 100.µs)
    
        redQueue.execute("task two", 200.µs) {
          log += "scheduledTasks=${redQueue.scheduledTasks}"
        }
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly(
          "scheduledTasks=[task two, task one]",
        )
    
        taskFaker.advanceUntil(200.µs)
        assertThat(log).containsExactly(
          "scheduledTasks=[task two, task one]",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

          var hostname = inetAddress.hostName
          if (inetAddress is Inet6Address && hostname.contains(':')) {
            // hostname is likely some form representing the IPv6 bytes
            // 2001:0db8:85a3:0000:0000:8a2e:0370:7334
            // 2001:db8:85a3::8a2e:370:7334
            // ::1
            hostname = "[$hostname]"
          }
    
          val localPort = socket.localPort
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
Back to top