Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for noTimeout (0.04 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();
        }
    
        /**
         * Returns the NetBIOS address associated with this socket.
         *
         * @return the NetBIOS address
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/RequestParamTest.java

                    new RequestParam[] { RequestParam.NONE, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY, RequestParam.RETAIN_PAYLOAD },
                    values, "values() order should match declaration order");
        }
    
        // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable
        @ParameterizedTest
        @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            // Arrange
            when(tree.send(eq(request), eq(RequestParam.NO_TIMEOUT), eq(RequestParam.NO_RETRY))).thenReturn(response);
    
            // Act
            CommonServerMessageBlockResponse out = tree.send(request, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY);
    
            // Assert
            assertSame(response, out);
            verify(tree).send(request, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      @Throws(SocketException::class)
      override fun getSendBufferSize(): Int = delegate!!.sendBufferSize
    
      @Throws(SocketException::class)
      override fun getSoTimeout(): Int = delegate!!.soTimeout
    
      @Throws(SocketException::class)
      override fun getTcpNoDelay(): Boolean = delegate!!.tcpNoDelay
    
      @Throws(SocketException::class)
      override fun setKeepAlive(keepAlive: Boolean) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmServlet.java

        @Override
        public void init(final 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");
    
            final Enumeration e = config.getInitParameterNames();
            String name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/RequestParam.java

     */
    public enum RequestParam {
    
        /**
         * No special request parameters.
         */
        NONE,
    
        /**
         * Wait indefinitely for a response
         */
        NO_TIMEOUT,
    
        /**
         * Do not retry request on failure
         */
        NO_RETRY,
    
        /**
         * Save the raw payload for further inspection
         */
        RETAIN_PAYLOAD
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmServlet.java

            final 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");
    
            final Enumeration<String> e = config.getInitParameterNames();
            String name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  8. fess-crawler-lasta/src/main/resources/crawler/client.xml

    	<component name="internalHttpClient" class="org.codelibs.fess.crawler.client.http.HcHttpClient"
    		instance="prototype">
    		<property name="connectionTimeout">15000</property>
    		<property name="soTimeout">30000</property>
    	</component>
    	<component name="httpClient"
    		class="org.codelibs.fess.crawler.client.FaultTolerantClient" instance="prototype">
    		<property name="crawlerClient">internalHttpClient</property>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Tue Aug 08 12:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                }
    
                if (log.isTraceEnabled()) {
                    log.trace("Sending NtTransNotifyChange for " + this.handle);
                }
                try {
                    resp = th.send(req, resp, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY);
                } catch (final SmbException e) {
                    if (e.getNtStatus() == 0xC0000120) {
                        // cancelled
                        log.debug("Request was cancelled", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. README.md

        }
    }
    ```
    
    ## Configuration
    
    ### Basic Configuration Properties
    
    ```properties
    # Connection settings
    jcifs.smb.client.connTimeout=35000
    jcifs.smb.client.soTimeout=180000
    jcifs.smb.client.responseTimeout=30000
    
    # Authentication
    jcifs.smb.client.domain=WORKGROUP
    jcifs.smb.client.username=guest
    jcifs.smb.client.password=
    
    # Protocol versions (SMB1 to SMB 3.1.1)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top