Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 456 for nohost (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            throw UnknownServiceException("CLEARTEXT communication not enabled for client")
          }
    
          val host = route.address.url.host
          if (!Platform.get().isCleartextTrafficPermitted(host)) {
            throw UnknownServiceException(
              "CLEARTEXT communication to $host not permitted by network security policy",
            )
          }
        } else {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/FessBoot.java

                    fessLogPath = "../../logs";
                }
                op.replace("fess.log.path", fessLogPath.replace("\\", "/"));
            }).asYouLikeIt(resource -> {
                final Host host = resource.getHost();
                if (host instanceof final StandardHost standardHost) {
                    standardHost.setErrorReportValveClass(SuppressErrorReportValve.class.getName());
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt

      private val server = MockWebServer()
    
      @BeforeEach
      fun setup() {
        // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager
        platform.assumeNotBouncyCastle()
      }
    
      @Test fun `untrusted host in insecureHosts connects successfully`() {
        val serverCertificates = platform.localhostHandshakeCertificates()
        server.useHttps(serverCertificates.sslSocketFactory())
        server.enqueue(MockResponse())
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

      names: List<String>,
    ) {
      var time = System.currentTimeMillis()
      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

            add(buildCryptoSx(client)) // 521 - server down
          }
          add(buildChantra(client))
        }
    
      private fun getByIp(host: String): InetAddress =
        try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .url("/")
            .newBuilder()
            .host("any-host-name")
            .port(port)
            .build()
        val request = Request(url)
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("response body")
        val connect = server.takeRequest()
        assertThat(connect.requestLine).isEqualTo("CONNECT any-host-name:$port HTTP/1.1")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          val hosts = builder.bootstrapDnsHosts
    
          return if (hosts != null) {
            BootstrapDns(builder.url!!.host, hosts)
          } else {
            builder.systemDns
          }
        }
    
        internal fun isPrivateHost(host: String): Boolean = PublicSuffixDatabase.get().getEffectiveTldPlusOne(host) == null
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      /** A string like `GET` or `POST`. */
      public val method: String,
      /**
       * The request target from the original HTTP request.
       *
       * For origin-form requests this is a path like `/index.html`, that is combined with the `Host`
       * header to create the request URL.
       *
       * For HTTP proxy requests this will be either an absolute-form string like
       * `http://example.com/index.html` (HTTP proxy) or an authority-form string like
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        this.addresses = this.ctx.getNameServiceClient().getAllByName(host, true);
                    } else {
                        this.addresses = this.ctx.getNameServiceClient().getAllByName(host, false);
                    }
                } catch (final UnknownHostException e) {
                    throw new CIFSException("Failed to lookup address for name " + host, e);
                }
            }
    
            return getNextAddress();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

      val client = OkHttpClient()
    
      private fun newWebSocket(
        path: String,
        listener: WebSocketListener,
      ): WebSocket {
        val request =
          Request
            .Builder()
            .url(HOST + path)
            .build()
        return client.newWebSocket(request, listener)
      }
    
      fun run() {
        try {
          val count = getTestCount()
          println("Test count: $count")
          for (number in 1..count) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top