Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for dialIP (0.17 sec)

  1. src/net/timeout_test.go

    				delay := afterDial.Sub(beforeDial)
    				if delay < d.Timeout {
    					t.Errorf("Dial returned after %v; want ≥%v", delay, d.Timeout)
    				}
    			}
    
    			if perr := parseDialError(err); perr != nil {
    				t.Errorf("unexpected error from Dial: %v", perr)
    			}
    			if nerr, ok := err.(Error); !ok || !nerr.Timeout() {
    				t.Errorf("Dial: %v, want timeout", err)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go

    		var d net.Dialer
    		c, err := d.DialContext(ctx, "unix", udsName)
    		if err != nil {
    			klog.Errorf("failed to create connection to uds name %s, error: %v", udsName, err)
    		}
    		return c, err
    	})
    
    	// CreateSingleUseGrpcTunnel() unfortunately couples dial and connection contexts. Because of that,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/net/net_test.go

    	serverDone := make(chan struct{})
    	dialed := make(chan struct{})
    	go func() {
    		defer close(serverDone)
    
    		cs, err := ln.Accept()
    		if err != nil {
    			return
    		}
    		<-dialed
    		cs.(*TCPConn).SetLinger(0)
    		cs.Close()
    	}()
    	defer func() {
    		ln.Close()
    		<-serverDone
    	}()
    
    	ss, err := Dial("tcp", ln.Addr().String())
    	close(dialed)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 21:04:44 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/net/lookup.go

    // dial makes a new connection to the provided server (which must be
    // an IP address) with the provided network type, using either r.Dial
    // (if both r and r.Dial are non-nil) or else Dialer.DialContext.
    func (r *Resolver) dial(ctx context.Context, network, server string) (Conn, error) {
    	// Calling Dial here is scary -- we have to be sure not to
    	// dial a name that will require a DNS lookup, or Dial will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  5. pkg/client/tests/remotecommand_test.go

    		resp: &http.Response{
    			StatusCode: http.StatusSwitchingProtocols,
    			Body:       ioutil.NopCloser(&bytes.Buffer{}),
    		},
    	}
    	dialer := spdy.NewDialer(upgrader, &http.Client{Transport: upgrader}, "POST", &url.URL{Host: "something.com", Scheme: "https"})
    	conn, protocol, err := dialer.Dial("protocol1")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if conn != upgrader.conn {
    		t.Errorf("unexpected connection: %#v", conn)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += RoutePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    		dialer.Timeout = defaultDialTimeout
    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    	local string
    
    	// Validate incoming requests.
    	authRequest func(r *http.Request) error
    }
    
    // ManagerOptions are options for creating a new grid manager.
    type ManagerOptions struct {
    	Dialer       ContextDialer               // Outgoing dialer.
    	Local        string                      // Local host name.
    	Hosts        []string                    // All hosts, including local in the grid.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/img/nativeDependents.graphml

              <y:Fill color="#FFCC00" transparent="false"/>
              <y:BorderStyle color="#000000" type="line" width="1.0"/>
              <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="38.5" y="13.0">
                <y:LabelModel>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. src/net/lookup_test.go

    type lookupCustomResolver struct {
    	*Resolver
    	mu     sync.RWMutex
    	dialed bool
    }
    
    func (lcr *lookupCustomResolver) dial() func(ctx context.Context, network, address string) (Conn, error) {
    	return func(ctx context.Context, network, address string) (Conn, error) {
    		lcr.mu.Lock()
    		lcr.dialed = true
    		lcr.mu.Unlock()
    		return Dial(network, address)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/suggest/admin_suggest.jsp

                                                            <div class="modal fade" id="confirmToAllDelete"
                                                                 tabindex="-1" role="dialog">
                                                                <div class="modal-dialog">
                                                                    <div class="modal-content bg-danger">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 18.1K bytes
    - Viewed (0)
Back to top