Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for LOCAL (0.17 sec)

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

        )
        val session = FakeSSLSession(certificate)
        assertThat(verifier.verify("localhost", session)).isTrue()
        assertThat(verifier.verify("localhost.localdomain", session)).isTrue()
        assertThat(verifier.verify("local.host", session)).isFalse()
        assertThat(verifier.verify("127.0.0.1", session)).isTrue()
        assertThat(verifier.verify("127.0.0.2", session)).isFalse()
      }
    
      @Test fun wildcardsCannotMatchIpAddresses() {
    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. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertHeader("a\tb", "c\u007fd")
          .assertHeader("\ud83c\udf69", "\u2615\ufe0f")
          .assertHeader("", "ef")
      }
    
      @Test
      fun customDns() {
        // Configure a DNS that returns our local MockWebServer for android.com.
        val dns = FakeDns()
        dns["android.com"] = Dns.SYSTEM.lookup(server.url("/").host)
        client =
          client.newBuilder()
            .dns(dns)
            .build()
    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)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

       * have reached a limit, this returns [END_OF_DATA].
       */
      internal fun readHeader(): DerHeader {
        require(peekedHeader == null)
    
        // We've hit a local limit.
        if (byteCount == limit) return END_OF_DATA
    
        // We've exhausted the source stream.
        if (limit == -1L && source.exhausted()) return END_OF_DATA
    
        // Read the tag.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. CHANGELOG.md

    _2021-11-22_
    
     *  Fix: Change `Headers.toString()` to redact authorization and cookie headers.
     *  Fix: Don't do DNS to get the hostname for `RecordedRequest.requestUrl`. This was doing a DNS
        lookup for the local hostname, but we really just wanted the `Host` header.
     *  Fix: Don't crash with a `InaccessibleObjectException` when detecting the platform trust manager
        on Java 17+.
    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)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * [SocketFactory.createSocket] method to create unconnected sockets. Overriding this method,
         * e. g., allows the socket to be bound to a specific local address.
         *
         * If unset, the [system-wide default][SocketFactory.getDefault] socket factory will be used.
         */
        fun socketFactory(socketFactory: SocketFactory) =
          apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

          .isEqualTo(lastModifiedDate)
      }
    
      @Test
      fun maxAgeInThePastWithDateHeaderButNoLastModifiedHeader() {
        // Chrome interprets max-age relative to the local clock. Both our cache
        // and Firefox both use the earlier of the local and server's clock.
        assertNotCached(
          MockResponse.Builder()
            .addHeader("Date: " + formatDate(-120, TimeUnit.SECONDS))
            .addHeader("Cache-Control: max-age=60")
    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)
  7. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("a.b.example.example", "example.example")
        // Listed, but non-Internet, TLD.
        // checkPublicSuffix("local", null);
        // checkPublicSuffix("example.local", null);
        // checkPublicSuffix("b.example.local", null);
        // checkPublicSuffix("a.b.example.local", null);
        // TLD with only 1 rule.
        checkPublicSuffix("biz", null)
        checkPublicSuffix("domain.biz", "domain.biz")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.platform.Platform
    import okhttp3.tls.internal.TlsUtil.localhost
    import okio.buffer
    import okio.source
    
    /** A basic HTTP/2 server that serves the contents of a local directory.  */
    class Http2Server(
      private val baseDirectory: File,
      private val sslSocketFactory: SSLSocketFactory,
    ) : Http2Connection.Listener() {
      private fun run() {
        val serverSocket = ServerSocket(8888)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

      val clientTestRule =
        OkHttpClientTestRule().apply {
          recordFrames = true
          // recordSslDebug = true
        }
    
      // https://tools.ietf.org/html/rfc6066#page-6 specifies a FQDN is required.
      val hostname = "local.host"
      private val handshakeCertificates =
        run {
          // Generate a self-signed cert for the server to serve and the client to trust.
          val heldCertificate =
            HeldCertificate.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    tv.br tv.im tv.in tv.it tv.kg tv.na tv.sd tv.tr tv.tz tvedestrand.no tvs tw tw.cn twmail.cc twmail.net twmail.org tx.us tychy.pl tydal.no tynset.no typedream.app tysfjord.no tysnes.no tysvar.no tysvær.no tz tønsberg.no u.bg u.channelsdvr.net u.se u2-local.xnbay.com u2.xnbay.com ua ua.rs ubank ube.yamaguchi.jp uber.space ubs uchihara.ibaraki.jp uchiko.ehime.jp uchinada.ishikawa.jp uchinomi.kagawa.jp ud.it uda.nara.jp udi.br udine.it udono.mie.jp ueda.nagano.jp ueno.gunma.jp uenohara.yamanashi.jp ufcfan.org...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top