Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shutdownOutput (0.2 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 Apr 26 11:42:10 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            try {
                while (iter.hasNext()) {
                    SmbSession ssn = (SmbSession)iter.next();
                    ssn.logoff( hard );
                }
                socket.shutdownOutput();
                out.close();
                in.close();
                socket.close();
            } finally {
                digest = null;
                socket = null;
                tconHostName = null;
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  4. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  5. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top