Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for rewrites (0.19 sec)

  1. pilot/pkg/networking/core/route/route.go

    	if in.Rewrite != nil {
    		action.ClusterSpecifier = &route.RouteAction_Cluster{
    			Cluster: in.Name,
    		}
    
    		if regexRewrite := in.Rewrite.GetUriRegexRewrite(); regexRewrite != nil {
    			action.RegexRewrite = &matcher.RegexMatchAndSubstitute{
    				Pattern: &matcher.RegexMatcher{
    					Regex: regexRewrite.Match,
    				},
    				Substitution: regexRewrite.Rewrite,
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  2. src/net/http/httputil/reverseproxy_test.go

    		return &ReverseProxy{
    			Rewrite: func(r *ProxyRequest) {
    				r.SetURL(u)
    			},
    		}
    	})
    }
    
    func TestReverseProxyQueryParameterSmugglingRewritePreservesRawQuery(t *testing.T) {
    	testReverseProxyQueryParameterSmuggling(t, testWantsRawQuery, func(u *url.URL) *ReverseProxy {
    		return &ReverseProxy{
    			Rewrite: func(r *ProxyRequest) {
    				r.SetURL(u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  3. src/crypto/tls/conn.go

    // SetDeadline sets the read and write deadlines associated with the connection.
    // A zero value for t means [Conn.Read] and [Conn.Write] will not time out.
    // After a Write has timed out, the TLS state is corrupt and all future writes will return the same error.
    func (c *Conn) SetDeadline(t time.Time) error {
    	return c.conn.SetDeadline(t)
    }
    
    // SetReadDeadline sets the read deadline on the underlying connection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    		}
    		// Destination is versioned, source is not destination version,
    		// as a special case look for if the source object is not legacy
    		// from older format, for older format we will rewrite them as
    		// newer using PutObject() - this is an optimization to save space
    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  5. src/cmd/dist/test.go

    		// cmd.Stdout and cmd.Stderr in order to keep the underlying
    		// interleaving of writes, but then it would see even partial writes
    		// interleaved, which would corrupt the JSON. So, we only process
    		// cmd.Stdout. This has another consequence though: if stdout==stderr,
    		// we have to serialize Writes in case the Writer is not concurrent
    		// safe. If we were just passing stdout/stderr through to exec, it would
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MapMakerInternalMap.java

       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    		}
    	}
    
    	// Since we're never writing more than one uintptr's worth of bits, we're either going
    	// to do one or two writes.
    	dst := span.heapBits()
    	o := (x - span.base()) / goarch.PtrSize
    	i := o / ptrBits
    	j := o % ptrBits
    	if j+bits > ptrBits {
    		// Two writes.
    		bits0 := ptrBits - j
    		bits1 := bits - bits0
    		dst[i+0] = dst[i+0]&(^uintptr(0)>>bits0) | (src << j)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

    # and that it connects to the API Server.
    function Verify-WorkerServices {
      $timeout = 12
      $retries = 0
      $retryDelayInSeconds = 5
    
      Log-Output ("Testing node connection to API server...")
      do {
          $retries++
          $nodes_list = & "${env:NODE_DIR}\kubectl.exe" get nodes -o=custom-columns=:.metadata.name -A | Out-String
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. src/runtime/malloc.go

    		p = alignUp(p, align)
    		p2 := sysReserve(unsafe.Pointer(p), size)
    		if p != uintptr(p2) {
    			// Must have raced. Try again.
    			sysFreeOS(p2, size)
    			if retries++; retries == 100 {
    				throw("failed to allocate aligned heap memory; too many retries")
    			}
    			goto retry
    		}
    		// Success.
    		return p2, size
    	default:
    		// Trim off the unaligned parts.
    		pAligned := alignUp(p, align)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. src/net/http/request.go

    	return r.write(w, false, nil, nil)
    }
    
    // WriteProxy is like [Request.Write] but writes the request in the form
    // expected by an HTTP proxy. In particular, [Request.WriteProxy] writes the
    // initial Request-URI line of the request with an absolute URI, per
    // section 5.3 of RFC 7230, including the scheme and host.
    // In either case, WriteProxy also writes a Host header, using
    // either r.Host or r.URL.Host.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top