Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for issues (0.18 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      /**
       * Verify that we don't retry connections on certificate verification errors.
       *
       * http://code.google.com/p/android/issues/detail?id=13178
       */
      @Flaky
      @Test
      fun connectViaHttpsToUntrustedServer() {
        // Flaky https://github.com/square/okhttp/issues/5222
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse()) // unused
        assertFailsWith<IOException> {
    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)
  2. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/")
      }
    
      /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */
      @Test
      fun hostToUriStripsCharacters2() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

          assertThat(response.body.string()).isEqualTo("abc")
          assertThat(response.trailers()).isEqualTo(headersOf("caboose", "xyz"))
        }
      }
    
      @Disabled("Follow up with fix in https://github.com/square/okhttp/issues/6853")
      @Test
      fun serverDisconnectsBeforeSecondRequestHttp1() {
        enableProtocol(Protocol.HTTP_1_1)
    
        server.enqueue(MockResponse(code = 200, body = "Req1"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. docs/releasing.md

    Releasing
    =========
    
    ### Prerequisite: Sonatype (Maven Central) Account
    
    Create an account on the [Sonatype issues site][sonatype_issues]. Ask an existing publisher to open
    an issue requesting publishing permissions for `com.squareup` projects.
    
    
    Cutting a Release
    -----------------
    
    1. Update `CHANGELOG.md`.
    
    2. Set versions:
    
        ```
        export RELEASE_VERSION=X.Y.Z
        export NEXT_VERSION=X.Y.Z-SNAPSHOT
        ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 26 22:07:16 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

    import assertk.assertions.isNull
    import okhttp3.internal.http.parseChallenges
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    class HeadersChallengesTest {
      /** See https://github.com/square/okhttp/issues/2780.  */
      @Test fun testDigestChallengeWithStrictRfc2617Header() {
        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Flaky
    @Tag("Slow")
    class WebSocketHttpTest {
      // Flaky https://github.com/square/okhttp/issues/4515
      // Flaky https://github.com/square/okhttp/issues/4953
      @RegisterExtension
      var clientTestRule = configureClientTestRule()
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @RegisterExtension
    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. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          }
        }
      }
    
      /**
       * Overload of [schedule] that uses a lambda for a repeating task.
       *
       * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466
       */
      fun schedule(
        name: String,
        delayNanos: Long = 0L,
        block: () -> Long,
      ) {
        schedule(
          object : Task(name) {
            override fun runOnce(): Long {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

        assertThat(response.body.string()).isEqualTo("abc")
      }
    
      @Flaky
      @RetryingTest(5)
      fun missingClientAuthFailsForNeeds() {
        // Fails with 11.0.1 https://github.com/square/okhttp/issues/4598
        // StreamReset stream was reset: PROT...
        val client = buildClient(null, clientIntermediateCa.certificate)
        val socketFactory = buildServerSslSocketFactory()
        server.useHttps(socketFactory)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        enableProtocol(Protocol.HTTP_2)
        postBodyRetransmittedAfterAuthorizationFail("abc")
      }
    
      /** Don't explode when resending an empty post. https://github.com/square/okhttp/issues/1131  */
      @Test
      fun postEmptyBodyRetransmittedAfterAuthorizationFail() {
        postBodyRetransmittedAfterAuthorizationFail("")
      }
    
      @Test
      fun postEmptyBodyRetransmittedAfterAuthorizationFail_HTTPS() {
    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. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      val clientTestRule = configureClientTestRule()
    
      @RegisterExtension
      val testLogHandler: TestLogHandler = TestLogHandler(Http2::class.java)
    
      // Flaky https://github.com/square/okhttp/issues/4632
      // Flaky https://github.com/square/okhttp/issues/4633
      private val handshakeCertificates: HandshakeCertificates =
        platform.localhostHandshakeCertificates()
    
      private lateinit var server: MockWebServer
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top