Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shutdownOutput (0.31 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val connection =
          Http2Connection.Builder(true, TaskRunner.INSTANCE)
            .socket(socket)
            .pushObserver(IGNORE)
            .build()
        connection.start(sendConnectionPreface = false)
        socket.shutdownOutput()
        assertFailsWith<IOException> {
          connection.newStream(headerEntries("a", longString), false)
        }
        assertFailsWith<IOException> {
          connection.newStream(headerEntries("b", longString), false)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top