Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for Fontaine (0.16 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

    import org.mockserver.socket.tls.KeyStoreFactory
    import org.testcontainers.containers.MockServerContainer
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    
    @Testcontainers
    class BasicProxyTest {
      @Container
      val mockServer: MockServerContainer =
        MockServerContainer(MOCKSERVER_IMAGE)
          .withNetworkAliases("mockserver")
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        return getSubjectAltNames(certificate, ALT_DNS_NAME).any {
          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         * lu/GJQZoU9lDrCPeUcQ28tzOWw==
         * -----END PRIVATE KEY-----
         * ```
         *
         * The string should contain exactly one certificate and one private key in [PKCS #8][rfc_5208]
         * format. It should not contain any other PEM-encoded blocks, but it may contain other text
         * which will be ignored.
         *
         * Encode a held certificate into this format by concatenating the results of
    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)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

         * followed by those lines.
         *
         * HTTPS responses also contain SSL session information. This begins with a blank line, and then
         * a line containing the cipher suite. Next is the length of the peer certificate chain. These
         * certificates are base64-encoded and appear each on their own line. The next line contains the
         * length of the local certificate chain. These certificates are also base64-encoded and appear
    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)
  5. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

          return
        }
    
        try {
          testHttpUrl(testData)
          if (KNOWN_FAILURES.contains(testData.toString())) {
            System.err.println("Expected failure but was success: $testData")
          }
        } catch (e: Throwable) {
          if (KNOWN_FAILURES.contains(testData.toString())) {
            System.err.println("Ignoring known failure: $testData")
            e.printStackTrace()
          } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

     * limitations under the License.
     */
    package okhttp.android.test.sni
    
    import android.os.Build
    import android.util.Log
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEqualTo
    import java.security.cert.X509Certificate
    import javax.net.ssl.SNIHostName
    import javax.net.ssl.SNIServerName
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        assertRoute(selection2.next(), address, proxyB, dns.lookup(PROXY_B_HOST, 0), PROXY_B_PORT)
        assertThat(selection2.hasNext()).isFalse()
    
        // Confirm the last selection contains the postponed route from ProxyA.
        val selection3 = routeSelector.next()
        dns.assertRequests()
        assertRoute(selection3.next(), address, proxyA, dns.lookup(PROXY_A_HOST, 0), PROXY_A_PORT)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          ),
        )
        dns = buildLocalhost(bootstrapClient, true)
        val result = dns.lookup("google.com")
        assertThat(result.size).isEqualTo(2)
        assertThat(result).contains(address("157.240.1.18"))
        assertThat(result).contains(address("2a03:2880:f029:11:face:b00c:0:2"))
        val request1 = server.takeRequest()
        assertThat(request1.method).isEqualTo("GET")
        val request2 = server.takeRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

        try {
          val response = completableFuture.get(10, TimeUnit.SECONDS)
    
          assertEquals(200, response.code)
          assertEquals("h3", response.negotiatedProtocol)
          assertTrue(response.content.contains("Disallow"))
        } catch (ee: ExecutionException) {
          throw ee.cause?.cause ?: ee.cause!!
        }
      }
    
      data class Response(
        val code: Int,
        val negotiatedProtocol: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import java.io.IOException
    import java.util.concurrent.LinkedBlockingQueue
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top