Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for issues (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. BUG-BOUNTY.md

    Serious about security
    ======================
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    If you believe you have discovered a security vulnerability, please follow the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 25 19:52:57 GMT 2020
    - 361 bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          alpnResult?.toString(Charsets.UTF_8)
        } catch (e: IllegalAccessException) {
          throw AssertionError(e)
        } catch (e: InvocationTargetException) {
          // https://github.com/square/okhttp/issues/5587
          val cause = e.cause
          when {
            cause is NullPointerException && cause.message == "ssl == null" -> null
            else -> throw AssertionError(e)
          }
        }
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. docs/features/calls.md

    ## Follow-up Requests
    
    When your requested URL has moved, the webserver will return a response code like `302` to indicate the document’s new URL. OkHttp will follow the redirect to retrieve a final response.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  7. docs/security/security_providers.md

    [OpenJDK]: https://openjdk.java.net/groups/security/
    [OpenJSSE]: https://github.com/openjsse/openjsse
    [OpenSSL]: https://www.openssl.org/
    [bug5592]: https://github.com/square/okhttp/issues/5592
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

        val expectedPin = listOf(Pin("σkhttp.com", certA1Sha256Pin))
        assertThat(certificatePinner.findMatchingPins("xn--khttp-fde.com")).isEqualTo(expectedPin)
      }
    
      /** https://github.com/square/okhttp/issues/3324  */
      @Test
      fun checkSubstringMatch() {
        val certificatePinner =
          CertificatePinner.Builder()
            .add("*.example.com", certA1Sha256Pin)
            .build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. docs/contribute/code_of_conduct.md

    religion, sexual orientation, socioeconomic status, and technical ability. We will not tolerate
    discrimination based on any of the protected characteristics above, including participants with
    disabilities.
    
    Reporting Issues
    ----------------
    
    If you experience or witness unacceptable behavior — or have any other concerns — please report it by
    emailing [******@****.***][codeofconduct_at]. For more details, please see our Reporting
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

        assertThat(statusLine.message).isEqualTo("")
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
        assertThat(statusLine.code).isEqualTo(code)
      }
    
      // https://github.com/square/okhttp/issues/386
      @Test
      fun shoutcast() {
        val statusLine = parse("ICY 200 OK")
        assertThat(statusLine.message).isEqualTo("OK")
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top