Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for server_max_window_bits (0.08 sec)

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

        assertThat(parse("permessage-deflate; server_max_window_bits=8")).isEqualTo(
          WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 8),
        )
        assertThat(parse("permessage-deflate; server_max_window_bits=\"8\"")).isEqualTo(
          WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 8),
        )
        assertThat(parse("permessage-deflate; server_max_window_bits=15")).isEqualTo(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits="15"
     * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=15
     * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover
     * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover;
     *     client_no_context_takeover
     * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits="15";
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      @Throws(Exception::class)
      fun serverMaxWindowBitsTooLow() {
        extensionNegotiationFailure("permessage-deflate; server_max_window_bits=7")
      }
    
      @Test
      @Throws(Exception::class)
      fun serverMaxWindowBitsTooHigh() {
        extensionNegotiationFailure("permessage-deflate; server_max_window_bits=16")
      }
    
      @Test
      @Throws(Exception::class)
      fun serverMaxWindowBitsJustRight() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        // If the server returned a value for client_max_window_bits, fail the web socket.
        if (clientMaxWindowBits != null) return false
    
        // If the server returned an illegal server_max_window_bits, fail the web socket.
        if (serverMaxWindowBits != null && serverMaxWindowBits !in 8..15) return false
    
        // Success.
        return true
      }
    
      @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top