- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 141 for connc (0.04 sec)
-
staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go
// proxy returns a connection to addr. proxy(ctx context.Context, addr string) (net.Conn, error) } var _ proxier = &httpConnectProxier{} type httpConnectProxier struct { conn net.Conn proxyAddress string } func (t *httpConnectProxier) proxy(ctx context.Context, addr string) (net.Conn, error) { return tunnelHTTPConnect(t.conn, t.proxyAddress, addr) } var _ proxier = &grpcProxier{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 12.5K bytes - Viewed (0) -
pkg/test/loadbalancersim/lb_test.go
i := i client := client wg.Add(1) go func() { // Assign weights to the endpoints. var conns []*loadbalancer.WeightedConnection for _, n := range s.mesh.Nodes() { conns = append(conns, s.newWeightedConnection(client, n)) } // Create a load balancer lb := s.newLB(conns) // Send the requests. client.SendRequests(lb, s.clientRequests, func() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 19 23:29:30 UTC 2022 - 11K bytes - Viewed (0) -
src/net/smtp/smtp.go
) // A Client represents a client connection to an SMTP server. type Client struct { // Text is the textproto.Conn used by the Client. It is exported to allow for // clients to add extensions. Text *textproto.Conn // keep a reference to the connection so it can be used to create a TLS // connection later conn net.Conn // whether the Client is using TLS tls bool serverName string // map of supported extensions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 11.6K bytes - Viewed (0) -
src/crypto/tls/conn_test.go
} // hairpinConn is a net.Conn that makes a “hairpin” call when closed, back into // the tls.Conn which is calling it. type hairpinConn struct { net.Conn tlsConn *Conn } func (conn *hairpinConn) Close() error { conn.tlsConn.ConnectionState() return nil } func TestHairpinInClose(t *testing.T) { // This tests that the underlying net.Conn can call back into the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:35:01 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/xds/server.go
} func (conn *Connection) ID() string { return conn.conID } func (conn *Connection) Peer() string { return conn.peerAddr } func (conn *Connection) SetID(id string) { conn.conID = id } func (conn *Connection) ConnectedAt() time.Time { return conn.connectedAt } func (conn *Connection) Stop() { close(conn.stop) } func (conn *Connection) MarkInitialized() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 16.3K bytes - Viewed (0) -
pilot/pkg/xds/ads.go
} } func (conn *Connection) Initialize(node *core.Node) error { return conn.s.initConnection(node, conn, conn.ids) } func (conn *Connection) Close() { conn.s.closeConnection(conn) } func (conn *Connection) Watcher() xds.Watcher { return conn.proxy } func (conn *Connection) Process(req *discovery.DiscoveryRequest) error { return conn.s.processRequest(req, conn) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 23.4K bytes - Viewed (0) -
src/vendor/golang.org/x/net/nettest/conntest.go
// The stop function closes all resources, including c1, c2, and the underlying // net.Listener (if there is one), and should not be nil. type MakePipe func() (c1, c2 net.Conn, stop func(), err error) // TestConn tests that a net.Conn implementation properly satisfies the interface. // The tests should not produce any false positives, but may experience // false negatives. Thus, some issues may only be detected when the test is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java
try { HttpURLConnection conn = (HttpURLConnection)safeUrl.openConnection(); conn.setRequestMethod("HEAD"); addBasicAuthentication(uri, conn); conn.setRequestProperty("User-Agent", calculateUserAgent()); conn.setConnectTimeout(networkTimeout); conn.connect(); responseCode = conn.getResponseCode(); if (responseCode != 200) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/event/target/amqp.go
// close when we know this is a network error. target.conn.Close() } conn, err = amqp091.Dial(target.args.URL.String()) if err != nil { if xnet.IsConnRefusedErr(err) { return nil, nil, store.ErrNotConnected } return nil, nil, err } ch, err = conn.Channel() if err != nil { return nil, nil, err } target.conn = conn if target.args.PublisherConfirms {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 10K bytes - Viewed (0) -
src/net/http/fcgi/child.go
} type child struct { conn *conn handler http.Handler requests map[uint16]*request // keyed by request ID } func newChild(rwc io.ReadWriteCloser, handler http.Handler) *child { return &child{ conn: newConn(rwc), handler: handler, requests: make(map[uint16]*request), } } func (c *child) serve() { defer c.conn.Close() defer c.cleanUp() var rec record
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 10.3K bytes - Viewed (0)