Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for Attempt (0.6 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        }
    
        /**
         * Perform a single reconnection attempt
         * @param info the handle information
         * @param attempt the current attempt number (0-based)
         * @param originalCause the original exception that triggered reconnection
         * @return a future that completes with success or failure
         */
        private CompletableFuture<HandleInfo> attemptReconnect(HandleInfo info, int attempt, Exception originalCause) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *
     *  3. Attempt plans from prior connect attempts for this call. These occur as either follow-ups to
     *     failed connect attempts (such as trying the next [ConnectionSpec]), or as attempts that lost
     *     a race in fast follow-up.
     *
     *  4. If there's no existing connection, make a list of routes (which may require blocking DNS
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. .github/workflows/multipart/migrate.sh

    		exit 1
    	else
    		echo "Outputs are inconsistent. Waiting for $wait_interval seconds (attempt $attempt/$max_wait_attempts)."
    		sleep $wait_interval
    	fi
    
    	((attempt++))
    done
    
    status=$(./mc admin group info site1 site-replication-issue-group --json | jq .groupStatus | tr -d '"')
    
    if [[ $status == "enabled" ]]; then
    	echo "Success"
    else
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                } catch (Exception recoveryError) {
                    log.warn("RDMA recovery attempt {} failed: {}", retryCount, recoveryError.getMessage());
    
                    // If this was the last attempt, log the full error
                    if (retryCount >= maxRetries) {
                        log.error("All RDMA recovery attempts failed", recoveryError);
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       * proxy server can issue an auth challenge and then close the connection.
       *
       * @return the next plan to attempt, or null if no further attempt should be made either because
       *     we've successfully connected or because no further attempts should be made.
       */
      @Throws(IOException::class)
      internal fun connectTunnel(): ConnectResult {
        val nextTunnelRequest =
          createTunnel()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        }
    
        /**
         * Create rate limiter with custom settings
         *
         * @param maxAttemptsPerAccount max failed attempts per account before lockout
         * @param maxAttemptsPerIp max attempts from single IP
         * @param maxGlobalAttemptsPerMinute max global attempts per minute
         * @param lockoutDuration duration to lock out account/IP
         * @param cleanupInterval interval for cleaning up old entries
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbOperationException.java

            logError();
        }
    
        /**
         * Create exception for retry attempt
         *
         * @param original the original exception
         * @param attemptNumber the current attempt number
         * @return new exception with updated attempt information
         */
        public static SmbOperationException forRetry(SmbOperationException original, int attemptNumber) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    if (attempt % 10 == 0 || attempt < 5) {
                        log.debug("Server not ready yet (attempt {}): {}", attempt + 1, e.getMessage());
                    }
                    // Use exponential backoff for more efficient waiting
                    if (attempt < 10) {
                        Thread.sleep(500); // First 10 attempts: 0.5 second intervals
                    } else if (attempt < 30) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

                    // Wait before retry (except first attempt)
                    if (attempt > 0) {
                        Thread.sleep(retryDelay * attempt);
                    }
                    
                    // Create reconnect context
                    DurableHandleReconnect reconnectCtx = 
                        new DurableHandleReconnect(info.fileId);
                    
                    // Attempt to reopen with reconnect context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            String ip = "192.168.1.3";
    
            // Make attempts from same IP with different users
            for (int i = 1; i <= 5; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, ip), "Attempt " + i + " should be allowed");
                rateLimiter.recordFailure("user" + i, ip);
            }
    
            // 6th attempt from same IP should be blocked
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top