- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for shutdownInput (0.22 seconds)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
result.failHandshake() } SocketPolicy.SHUTDOWN_INPUT_AT_END -> { result.onResponseEnd( CloseSocket( closeSocket = false, shutdownInput = true, ), ) } SocketPolicy.SHUTDOWN_OUTPUT_AT_END -> { result.onResponseEnd( CloseSocket( closeSocket = false, shutdownOutput = true,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.3K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
MockResponse .Builder() .body("This connection won't pool properly") .onResponseEnd( CloseSocket( closeSocket = false, shutdownInput = true, ), ).build(), ) } @Test fun serverShutdownOutput() { testServerClosesOutput( MockResponse .Builder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
CHANGELOG.md
* Upgrade: [Okio 3.16.3][okio_3_16_3]. ## Version 5.2.1 _2025-10-09_ * Fix: Don't crash when calling `Socket.shutdownOutput()` or `shutdownInput()` on an `SSLSocket` on Android API 21 through 23. This method throws an `UnsupportedOperationException`, so we now catch that and close the underlying stream instead. * Upgrade: [Okio 3.16.1][okio_3_16_1].
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0)