Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for Attempt (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val reuseCallConnection = planReuseCallConnection()
        if (reuseCallConnection != null) return reuseCallConnection
    
        // Attempt to get a connection from the pool.
        val pooled1 = planReusePooledConnection()
        if (pooled1 != null) return pooled1
    
        // Attempt a deferred plan before new routes.
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    // time. additionally make sure to close all the disks used in this attempt.
    func connectLoadInitFormats(verboseLogging bool, firstDisk bool, storageDisks []StorageAPI, endpoints Endpoints, poolCount, setCount, setDriveCount int, deploymentID string) (format *formatErasureV3, err error) {
    	// Attempt to load all `format.json` from all disks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        )
    
        val call = client.newCall(Request(url))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("hello from IPv6")
    
        // In the process we made one successful connection attempt.
        assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(1)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(0)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              throw IOException("Canceled")
            }
    
            try {
              response = realChain.proceed(request)
              newRoutePlanner = true
            } catch (e: IOException) {
              // An attempt to communicate with a server failed. The request may have been sent.
              val isRecoverable = recover(e, call, request)
              call.eventListener.retryDecision(call, e, isRecoverable)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top