Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for shutdownOutput (0.21 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      @Throws(IOException::class)
      override fun shutdownInput() {
        delegate!!.shutdownInput()
      }
    
      @Throws(IOException::class)
      override fun shutdownOutput() {
        delegate!!.shutdownOutput()
      }
    
      override fun getSupportedCipherSuites(): Array<String> {
        return delegate!!.supportedCipherSuites
      }
    
      override fun getEnabledCipherSuites(): Array<String> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          if (response.socketPolicy === DisconnectAfterRequest) {
            socket.close()
            return false
          }
          if (response.socketPolicy === HalfCloseAfterRequest) {
            socket.shutdownOutput()
            return false
          }
          if (response.socketPolicy === NoResponse) {
            // This read should block until the socket is closed. (Because nobody is writing.)
            if (source.exhausted()) return false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                    }
                    finally {
                        iter.remove();
                    }
                }
    
                if ( this.socket != null ) {
                    this.socket.shutdownOutput();
                    this.out.close();
                    this.in.close();
                    this.socket.close();
                    log.trace("Socket closed");
                }
                else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  4. 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