Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for proxyEnv (0.19 sec)

  1. cmd/bucket-replication.go

    	if rs != nil {
    		h, err := rs.ToHeader()
    		if err != nil {
    			return nil, proxy, err
    		}
    		gopts.Set(xhttp.Range, h)
    	}
    	// Make sure to match ETag when proxying.
    	if err = gopts.SetMatchETag(oi.ETag); err != nil {
    		return nil, proxy, err
    	}
    	c := minio.Core{Client: tgt.Client}
    	obj, _, h, err := c.GetObject(ctx, tgt.Bucket, object, gopts)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	var proxy proxyResult
    	gr, err := getObjectNInfo(ctx, bucket, object, rs, r.Header, opts)
    	if err != nil {
    		var (
    			reader *GetObjectReader
    			perr   error
    		)
    		// avoid proxying if version is a delete marker
    		if !isErrMethodNotAllowed(err) && !(gr != nil && gr.ObjInfo.DeleteMarker) {
    			proxytgts := getProxyTargets(ctx, bucket, object, opts)
    			if !proxytgts.Empty() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    		if _, err := s.Write(buf[:ipLen+6]); err != nil {
    			t.Errorf("socks5 proxy connect write: %v", err)
    			return
    		}
    		ch <- fmt.Sprintf("proxy for %s:%d", ip, port)
    
    		// Implement proxying.
    		targetHost := net.JoinHostPort(ip.String(), strconv.Itoa(int(port)))
    		targetConn, err := net.Dial("tcp", targetHost)
    		if err != nil {
    			t.Errorf("net.Dial failed")
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    		}
    
    		// multiple hosts and TCP is invalid unless the resolution type is NONE.
    		// depending on the protocol, we can differentiate between hosts when proxying:
    		// - with HTTP, the authority header can be used
    		// - with HTTPS/TLS with SNI, the ServerName can be used
    		// however, for plain TCP there is no way to differentiate between the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top