Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for reroute (0.17 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        responseBody = Buffer().asResponseBody(null, 0L)
      }
    
      @Test
      fun route() {
        val route: Route = factory.newRoute()
        val address: Address = route.address
        val proxy: Proxy = route.proxy
        val inetSocketAddress: InetSocketAddress = route.socketAddress
        val requiresTunnel: Boolean = route.requiresTunnel()
      }
    
      @Test
      fun socketPolicy() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  2. tests/test_generate_unique_id_function.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    
    def custom_generate_unique_id(route: APIRoute):
        return f"foo_{route.name}"
    
    
    def custom_generate_unique_id2(route: APIRoute):
        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class Message(BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 75K bytes
    - Click Count (0)
  3. .bazelrc

    common:rbe_base --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
    common:rbe_base --define=EXECUTOR=remote
    common:rbe_base --jobs=800
    common:rbe_base --remote_executor=grpcs://remotebuildexecution.googleapis.com
    common:rbe_base --remote_timeout=3600
    common:rbe_base --spawn_strategy=remote,worker,standalone,local
    # Attempt to minimize the amount of data transfer between bazel and the remote
    # workers:
    common:rbe_base --remote_download_toplevel
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 58.9K bytes
    - Click Count (0)
  4. docs/changelogs/changelog_3x.md

        Once the streams are established no further timeout is enforced.
    
     *  Fix: Retain the `Route` when a connection is reused on a redirect or other follow-up. This was
        causing some `Authenticator` calls to see a null route when non-null was expected.
    
     *  Fix: Use the correct key size in the name of `TLS_AES_128_CCM_8_SHA256` which is a TLS 1.3
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  5. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteArnInvalid: {
    		Code:           "XMinioAdminRemoteArnInvalid",
    		Description:    "The bucket remote ARN does not have correct format",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrRemoteTargetNotVersionedError: {
    		Code:           "RemoteTargetNotVersionedError",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  6. cmd/batch-handlers.go

    		if err != nil {
    			// block and abort remote upload upon failure.
    			attempts := 1
    			for attempts <= 3 {
    				aerr := api.AbortMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, ObjectOptions{})
    				if aerr == nil {
    					return
    				}
    				batchLogIf(ctx,
    					fmt.Errorf("trying %s: Unable to cleanup failed multipart replication %s on remote %s/%s: %w - this may consume space on remote cluster",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  7. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

       * parameter.
       */
      private fun sampleValuesMap(): Map<Class<*>, Any> {
        TestValueFactory().use { factory ->
          val address = factory.newAddress("a")
          val route = factory.newRoute(address)
          val pool = factory.newConnectionPool()
          val url = "https://example.com/".toHttpUrl()
          val request = Request(url = url)
          val response =
            Response
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1) // New connection.
      }
    
      /**
       * We had a bug where we'd perform infinite retries of route that fail with connection shutdown
       * errors. The problem was that the logic that decided whether to reuse a route didn't track
       * certain HTTP/2 errors. https://github.com/square/okhttp/issues/5547
       */
      @Test
      fun noRecoveryFromTwoRefusedStreams() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  9. cmd/peer-rest-server.go

    				return false
    			}
    		}
    		return rulesMap.MatchSimple(ev.EventName, ev.S3.Object.Key)
    	})
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	// Process until remote disconnects.
    	// Blocks on upstream (out) congestion.
    	// We have however a dynamic downstream buffer (ch).
    	buf := bytes.NewBuffer(grid.GetByteBuffer())
    	enc := json.NewEncoder(buf)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  10. okhttp/api/jvm/okhttp.api

    }
    
    public abstract interface class okhttp3/Connection {
    	public abstract fun handshake ()Lokhttp3/Handshake;
    	public abstract fun protocol ()Lokhttp3/Protocol;
    	public abstract fun route ()Lokhttp3/Route;
    	public abstract fun socket ()Ljava/net/Socket;
    }
    
    public final class okhttp3/ConnectionPool {
    	public fun <init> ()V
    	public fun <init> (IJLjava/util/concurrent/TimeUnit;)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
Back to Top