Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 172 for Retry (0.06 sec)

  1. cmd/signature-v4-utils.go

    	cred := globalActiveCred
    	if cred.AccessKey != accessKey {
    		if !globalIAMSys.Initialized() {
    			// Check if server has initialized, then only proceed
    			// to check for IAM users otherwise its okay for clients
    			// to retry with 503 errors when server is coming up.
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    
    		// Check if the access key is part of users credentials.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      fun metadata(): ByteString = metadata
    
      /**
       * Returns a new source that returns the same bytes as upstream. Returns null if this relay has
       * been closed and no further sources are possible. In that case callers should retry after
       * building a new relay with [.read].
       */
      fun newSource(): Source? {
        synchronized(this@Relay) {
          if (file == null) return null
          sourceCount++
        }
    
        return RelaySource()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. internal/http/headers.go

    	ContentRange       = "Content-Range"
    	Connection         = "Connection"
    	AcceptRanges       = "Accept-Ranges"
    	AmzBucketRegion    = "X-Amz-Bucket-Region"
    	ServerInfo         = "Server"
    	RetryAfter         = "Retry-After"
    	Location           = "Location"
    	CacheControl       = "Cache-Control"
    	ContentDisposition = "Content-Disposition"
    	Authorization      = "Authorization"
    	Action             = "Action"
    	Range              = "Range"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

             * Because the step is not guaranteed to run (e.g. build timeout), we need `KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS` mode.
             */
            KILL_PROCESSES_STARTED_BY_GRADLE,
            /**
             * Run when we want to retry the build. Kill all Gradle processes, regardless of they're global or local.
             */
            KILL_ALL_GRADLE_PROCESSES
        }
    
        private static final Pattern UNIX_PID_PATTERN = Pattern.compile("([0-9]+)");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. cmd/server-main.go

    	if err == nil {
    		return false
    	}
    
    	notInitialized := strings.Contains(err.Error(), "Server not initialized, please try again") ||
    		errors.Is(err, errServerNotInitialized)
    
    	// Initializing sub-systems needs a retry mechanism for
    	// the following reasons:
    	//  - Read quorum is lost just after the initialization
    	//    of the object layer.
    	//  - Write quorum not met when upgrading configuration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  6. cmd/server_test.go

    		"Accept-Ranges",
    		"Content-Range",
    		"Content-Encoding",
    		"Content-Length",
    		"Content-Type",
    		"Content-Disposition",
    		"Last-Modified",
    		"Content-Language",
    		"Cache-Control",
    		"Retry-After",
    		"X-Amz-Bucket-Region",
    		"Expires",
    		"X-Amz*",
    		"X-Amz*",
    		"*",
    	}
    	expectedMap.Set("Vary", "Origin")
    
    	req, _ := http.NewRequest(http.MethodOptions, s.endPoint, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. internal/s3select/unused-errors.go

    //
    // //////////////////////////////////////////////////////////////////////
    func errBusy(err error) *s3Error {
    	return &s3Error{
    		code:       "Busy",
    		message:    "The service is unavailable. Please retry.",
    		statusCode: 503,
    		cause:      err,
    	}
    }
    
    func errUnauthorizedAccess(err error) *s3Error {
    	return &s3Error{
    		code:       "UnauthorizedAccess",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    	rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano()))
    	var d net.Dialer
    	var retry int
    	for retry < len(hosts) {
    		ctx, cancel := context.WithTimeout(GlobalContext, 300*time.Millisecond)
    
    		host = hosts[rng.Intn(len(hosts))]
    		conn, err := d.DialContext(ctx, "tcp", host)
    		cancel()
    		if err != nil {
    			retry++
    			continue
    		}
    		conn.Close()
    		break
    	}
    
    	return host
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_2x.md

        running SSLv3, you must manually configure your own `ConnectionSpec`.
    
     *  **OkHttp now offers interceptors.** Interceptors are a powerful mechanism
        that can monitor, rewrite, and retry calls. The [interceptors doc][interceptors] is a full
        introduction to this new API.
    
     *  New: APIs to iterate and selectively clear the response cache.
     *  New: Support for SOCKS proxies.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

            .body("after misdirect")
            .build(),
        )
    
        // Seed the connection pool.
        assert200Http2Response(execute(url), server.hostName)
    
        // Use the coalesced connection which should retry on a fresh connection.
        val sanUrl =
          url.newBuilder()
            .host("san.com")
            .build()
        execute(sanUrl).use { response ->
          assertThat(response.code).isEqualTo(200)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top