Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for socketio (0.19 sec)

  1. internal/http/dial_linux.go

    			// with dead end because tcp-keepalive is not fired when there is data in the socket buffer.
    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 4.3K bytes
    - Viewed (3)
  2. istioctl/pkg/util/configdump/secret.go

    package configdump
    
    import (
    	"encoding/base64"
    	"fmt"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	extapi "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	anypb "google.golang.org/protobuf/types/known/anypb"
    )
    
    // GetSecretConfigDump retrieves a secret dump from a config dump wrapper
    func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 25 04:09:53 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    			h.Typeflag = TypeChar
    		} else {
    			h.Typeflag = TypeBlock
    		}
    	case fm&fs.ModeNamedPipe != 0:
    		h.Typeflag = TypeFifo
    	case fm&fs.ModeSocket != 0:
    		return nil, fmt.Errorf("archive/tar: sockets not supported")
    	default:
    		return nil, fmt.Errorf("archive/tar: unknown file mode %v", fm)
    	}
    	if fm&fs.ModeSetuid != 0 {
    		h.Mode |= c_ISUID
    	}
    	if fm&fs.ModeSetgid != 0 {
    		h.Mode |= c_ISGID
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. cni/pkg/nodeagent/ztunnelserver_test.go

    }
    
    func connectWithPods(ctx context.Context, pods PodNetnsCache) struct {
    	ztunClient *net.UnixConn
    	ztunServer *ztunnelServer
    } {
    	// go uses @ instead of \0 for abstract unix sockets
    	addr := fmt.Sprintf("@testaddr%d", ztunnelTestCounter.Add(1))
    	ztun, err := newZtunnelServer(addr, pods)
    	if err != nil {
    		panic(err)
    	}
    	go ztun.Run(ctx)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		Hidden: true,
    		Value:  10 * time.Minute,
    		EnvVar: "MINIO_CONN_WRITE_DEADLINE",
    	},
    	cli.DurationFlag{
    		Name:   "conn-user-timeout",
    		Usage:  "custom TCP_USER_TIMEOUT for socket buffers",
    		Hidden: true,
    		Value:  10 * time.Minute,
    		EnvVar: "MINIO_CONN_USER_TIMEOUT",
    	},
    	cli.StringFlag{
    		Name:   "interface",
    		Usage:  "bind to right VRF device for MinIO services",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  6. cni/pkg/pluginlistener/listener_test.go

    	}
    	conn.Close()
    }
    
    func connect(socket string) (*grpc.ClientConn, error) {
    	var opts []grpc.DialOption
    
    	opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
    		var d net.Dialer
    		return d.DialContext(ctx, "unix", socket)
    	}))
    
    	conn, err := grpc.Dial(socket, opts...)
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 21:58:32 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. cni/pkg/config/config.go

    	// The HTTP port for monitoring
    	MonitoringPort int
    
    	// The UDS server address that CNI plugin will send log to.
    	LogUDSAddress string
    
    	// The watch server socket address that CNI plugin will forward CNI events to.
    	CNIEventAddress string
    
    	// The ztunnel server socket address that the ztunnel will connect to.
    	ZtunnelUDSAddress string
    
    	// Whether ambient is enabled
    	AmbientEnabled bool
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener_test.go

    				Address: "",
    				Port:    0,
    				Type:    "",
    			},
    			inListener: &listener.Listener{
    				Address: &core.Address{
    					Address: &core.Address_Pipe{
    						Pipe: &core.Pipe{Path: "unix:///dev/shm/uds.socket"},
    					},
    				},
    			},
    			expect: true,
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			if got := tt.inFilter.Verify(tt.inListener); got != tt.expect {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/util.go

    import (
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	"istio.io/istio/pkg/log"
    )
    
    // SecretItemDiff represents a secret that has been diffed between nodeagent and proxy
    type SecretItemDiff struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    		}
    	}
    }
    
    // TestWriterReadFromCounts tests that using io.Copy to copy into a
    // bufio.Writer does not prematurely flush the buffer. For example, when
    // buffering writes to a network socket, excessive network writes should be
    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    	var w0 writeCountingDiscard
    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top