- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for Vless (0.15 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
assertThat(expected.message).isEqualTo( "Payload size must be less than or equal to 125", ) } } @Test fun pongTooLongThrows() { assertFailsWith<IllegalArgumentException> { serverWriter.writePong((binaryData(1000))) }.also { expected -> assertThat(expected.message).isEqualTo( "Payload size must be less than or equal to 125", ) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
/** The operator to read and write the shared file. Null if this source is closed. */ private var fileOperator: FileOperator? = FileOperator(file!!.channel) /** The next byte to read. This is always less than or equal to [upstreamPos]. */ private var sourcePos = 0L /** * Selects where to find the bytes for a read and read them. This is one of three sources. * * ## Upstream *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
inputStream.close() val elapsedNanos = System.nanoTime() - startNanos val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos) // If we're working correctly, this should be greater than 100ms, but less than double that. // Previously we had a bug where we would download the entire response body as long as no // individual read took longer than 100ms. assertThat(elapsedMillis).isLessThan(500L)
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) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
* `server_max_window_bits`. This harms our ability to support these parameters: * * * If `client_max_window_bits` is less than 15, OkHttp must close the web socket with code 1010. * Otherwise it would compress values in a way that servers could not decompress. * * If `server_max_window_bits` is less than 15, OkHttp will waste memory on an oversized buffer. * * See [RFC 7692, 7.1][rfc_7692] for details on negotiation process. *
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) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
data.write("8a7e007e".decodeHex()) assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected -> assertThat(expected.message) .isEqualTo("Control frame must be less than 125B.") } } @Test fun clientSimpleHello() { data.write("810548656c6c6f".decodeHex()) // Hello clientReader.processNextFrame() callback.assertTextMessage("Hello") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
} /** * Returns the name of the query parameter at `index`. For example this returns `"a"` * for `queryParameterName(0)` on `http://host/?a=apple&b=banana`. This throws if * `index` is not less than the [query size][querySize]. * * | URL | `queryParameterName(0)` | `queryParameterName(1)` | * | :-------------------------------- | :---------------------- | :---------------------- |
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* gaps. For example, an insecure TLS connection is capable of negotiating HTTP/2 with ALPN and * it also has a regular-looking handshake. * * **This feature is not supported on Android API levels less than 24.** Prior releases lacked * a mechanism to trust some hosts and not others. * * @param hostname the exact hostname from the URL for insecure connections. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
if (writerTask != null) { taskQueue.schedule(writerTask) } } /** * Attempts to remove a single frame from a queue and send it. This prefers to write urgent pongs * before less urgent messages and close frames. For example it's possible that a caller will * enqueue messages followed by pongs, but this sends pongs followed by messages. Pongs are always * written in the order they were enqueued. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
* This is December 31, 9999 if the cookie is not [persistent], in which case it will expire at the * end of the current session. * * This may return a value less than the current time, in which case the cookie is already * expired. Webservers may return expired cookies as a mechanism to delete previously set cookies * that may or may not themselves be expired. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
CHANGELOG.md
``` $ ./gradlew okcurl:nativeImage $ ./okcurl/build/graal/okcurl https://cash.app/robots.txt ``` This is our first release that supports GraalVM. Our code on this platform is less mature than JVM and Android! Please report any issues you encounter: we'll fix them urgently. * Fix: Attempt to read the response body even if the server canceled the request. This will cause
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0)