Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isolation (0.21 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

      @Test fun `inflate golden value`() {
        val inflater = MessageInflater(false)
        val message = "f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()
        assertThat(inflater.inflate(message)).isEqualTo("Hello inflation!".encodeUtf8())
      }
    
      /**
       * We had a bug where self-finishing inflater streams would infinite loop!
       * https://github.com/square/okhttp/issues/8078
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/feature_request.md

    ---
    name: Feature request
    about: Suggest an idea
    title: ''
    labels: enhancement
    assignees: ''
    
    ---
    
    Start by telling us what problem you’re trying to solve. Often a solution already exists!
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 350 bytes
    - Viewed (0)
  3. docs/changelogs/changelog_1x.md

    OkHttpClient instances with the following:
    
    ```java
    okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());
    ```
    
    A simpler solution is to avoid the shared default SSL socket factory. Instead, if you
    need to customize SSL, do so for your specific OkHttpClient instance only.
    
    ##### Synthetic headers have changed
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Inflater
    import okio.Buffer
    import okio.InflaterSource
    
    private const val OCTETS_TO_ADD_BEFORE_INFLATION = 0x0000ffff
    
    class MessageInflater(
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private val deflatedBytes = Buffer()
    
      private val inflater =
        Inflater(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            ),
          )
          .assertLogMatch(
            Regex(
              """callFailed: \S+(?:SSLProtocolException|SSLHandshakeException|TlsFatalAlert): (?:Unexpected handshake message: client_hello|Handshake message sequence violation, 1|Read error|Handshake failed|unexpected_message\(10\)).*""",
            ),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top