Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for soTimeout (0.2 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            if( calledName == null ) {
                this.calledName = address.hostName;
            } else {
                this.calledName = new Name( calledName, 0x20, null );
            }
            soTimeout = Config.getInt( "jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT );
            connect();
        }
    
        public NbtAddress getNbtAddress() {
            return address;
        }
        public InputStream getInputStream() throws IOException {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getSendBufferSize(): Int {
        return delegate!!.sendBufferSize
      }
    
      @Throws(SocketException::class)
      override fun getSoTimeout(): Int {
        return delegate!!.soTimeout
      }
    
      @Throws(SocketException::class)
      override fun getTcpNoDelay(): Boolean {
        return delegate!!.tcpNoDelay
      }
    
      @Throws(SocketException::class)
    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)
  3. src/test/java/jcifs/tests/TimeoutTest.java

            CIFSContext ctx = lowTimeout(withTestNTLMCredentials(getNewContext()));
            try ( SmbFile f = new SmbFile(new SmbFile(getTestShareURL(), ctx), makeRandomName()) ) {
                int soTimeout = ctx.getConfig().getSoTimeout();
                f.createNewFile();
                try {
                    try ( OutputStream os = f.getOutputStream() ) {
                        os.write(new byte[] {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

            super.init(config);
    
            Properties p = new Properties();
            p.putAll(System.getProperties());
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "300000");
            p.setProperty("jcifs.netbios.cachePolicy", "600");
    
            Enumeration<String> e = config.getInitParameterNames();
            String name;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmServlet.java

        public void init(ServletConfig config) throws ServletException {
            super.init(config);
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 10min.
             */
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "300000" );
            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "600" );
    
            Enumeration e = config.getInitParameterNames();
            String name;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean {
      return try {
        val readTimeout = soTimeout
        try {
          soTimeout = 1
          !source.exhausted()
        } finally {
          soTimeout = readTimeout
        }
      } catch (_: SocketTimeoutException) {
        true // Read timed out; socket is good.
      } catch (_: IOException) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

            String name;
    
            Properties p = new Properties();
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 30min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "1800000");
            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        public void init( FilterConfig filterConfig ) throws ServletException {
            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "1800000" );
            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "1200" );
            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

          startHttp2()
        }
      }
    
      @Throws(IOException::class)
      private fun startHttp2() {
        val socket = this.socket!!
        val source = this.source!!
        val sink = this.sink!!
        socket.soTimeout = 0 // HTTP/2 connection timeouts are set per-stream.
        val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None
        val http2Connection =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/PropertyConfiguration.java

            this.smbResponseTimeout = Config.getInt(p, "jcifs.smb.client.responseTimeout", SmbConstants.DEFAULT_RESPONSE_TIMEOUT);
            this.smbSocketTimeout = Config.getInt(p, "jcifs.smb.client.soTimeout", SmbConstants.DEFAULT_SO_TIMEOUT);
            this.smbConnectionTimeout = Config.getInt(p, "jcifs.smb.client.connTimeout", SmbConstants.DEFAULT_CONN_TIMEOUT);
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top