Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 65537 (0.13 sec)

  1. cmd/sftp-server.go

    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s (%v)", arg, err), "unable to start SFTP server")
    			}
    			if port < 1 || port > 65535 {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s, (port number must be between 1 to 65535)", arg), "unable to start SFTP server")
    			}
    			publicIP = host
    		case "ssh-private-key":
    			sshPrivateKey = tokens[1]
    		case "pub-key-algos":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    // DialContext implements the Dialer interface.
    func (c ContextDialer) DialContext(ctx context.Context, network, address string) (net.Conn, error) {
    	return c(ctx, network, address)
    }
    
    const (
    	defaultOutQueue    = 65535    // kind of close to max open fds per user
    	readBufferSize     = 32 << 10 // 32 KiB is the most optimal on Linux
    	writeBufferSize    = 32 << 10 // 32 KiB is the most optimal on Linux
    	defaultDialTimeout = 2 * time.Second
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. cmd/ftp-server.go

    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    			if port < 1 || port > 65535 {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s, (port number must be between 1 to 65535)", arg), "unable to start FTP server")
    			}
    			publicIP = host
    		case "passive-port-range":
    			portRange = tokens[1]
    		case "tls-private-key":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  4. cmd/endpoint.go

    			var p int
    			p, err = strconv.Atoi(port)
    			if err != nil {
    				return ep, fmt.Errorf("invalid URL endpoint format: invalid port number")
    			} else if p < 1 || p > 65535 {
    				return ep, fmt.Errorf("invalid URL endpoint format: port number must be between 1 to 65535")
    			}
    		}
    		if i := strings.Index(host, "%"); i > -1 {
    			host = host[:i]
    		}
    
    		if host == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  5. cmd/endpoint_test.go

    		{"http://server:/path", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: invalid port number")},
    		{"https://93.184.216.34:808080/path", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: port number must be between 1 to 65535")},
    		{"http://server:8080//", Endpoint{}, -1, fmt.Errorf("empty or root path is not supported in URL endpoint")},
    		{"http://server:8080/", Endpoint{}, -1, fmt.Errorf("empty or root path is not supported in URL endpoint")},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  6. cmd/net_test.go

    		{":0", nil},
    		{"localhost", nil},
    		{"", fmt.Errorf("invalid argument")},
    		{"example.org:54321", fmt.Errorf("host in server address should be this server")},
    		{":-10", fmt.Errorf("port must be between 0 to 65535")},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			err := CheckLocalServerAddr(testCase.serverAddr)
    			switch {
    			case testCase.expectedErr == nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top