Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 419 for vhost2 (0.06 sec)

  1. cmd/net.go

    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	if host2 == "" {
    		// If empty host means it is localhost
    		addr2Local = true
    	} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	// If both of addresses point to the same machine, check if
    	// have the same port
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

            final Tuple3<String, String, String>[] vHosts = ComponentUtil.getFessConfig().getVirtualHosts();
            return LaRequestUtil.getOptionalRequest().map(req -> {
                for (final Tuple3<String, String, String> host : vHosts) {
                    final String headerValue = req.getHeader(host.getValue1());
                    if (host.getValue2().equalsIgnoreCase(headerValue)) {
                        return func.apply(host.getValue3());
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. internal/grid/connection_test.go

    				t.Errorf("shouldConnect(%q, %q) != shouldConnect(%q, %q)", hosts[x], hosts[y], hosts[y], hosts[x])
    			}
    			if c.shouldConnect() {
    				should++
    			}
    		}
    		if should < 10 {
    			t.Errorf("host %q only connects to %d hosts", hosts[x], should)
    		}
    		t.Logf("host %q should connect to %d hosts", hosts[x], should)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    const (
    	dotdotComponent = ".."
    	dotComponent    = "."
    )
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    		// under CI/CD test setups ignore empty hosts as invalid hosts
    		return nil
    	}
    	_, err := xnet.ParseHost(host)
    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. cmd/endpoint.go

    			if endpoint.IsLocal && endpoint.Host != "" {
    				u := &url.URL{
    					Scheme: endpoint.Scheme,
    					Host:   endpoint.Host,
    				}
    				return u.String()
    			}
    		}
    	}
    	host := globalMinioHost
    	if host == "" {
    		host = sortIPs(localIP4.ToSlice())[0]
    	}
    	return fmt.Sprintf("%s://%s", getURLScheme(globalIsTLS), net.JoinHostPort(host, globalMinioPort))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    				diskMap[k] = struct{}{}
    			}
    		}
    	}
    	jobID := r.Form.Get("by-jobID")
    
    	hosts := strings.Split(r.Form.Get("hosts"), ",")
    	byHost := strings.EqualFold(r.Form.Get("by-host"), "true")
    	var hostMap map[string]struct{}
    	if len(hosts) > 0 && hosts[0] != "" {
    		hostMap = make(map[string]struct{}, len(hosts))
    		for _, k := range hosts {
    			if k != "" {
    				hostMap[k] = struct{}{}
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  7. internal/grid/debug.go

    		Timeout: 5 * time.Second,
    	}
    	var res TestGrid
    	res.Hosts = hosts
    	ready := make(chan struct{})
    	ctx, cancel := context.WithCancel(context.Background())
    	res.cancel = cancel
    	for i, host := range hosts {
    		manager, err := NewManager(ctx, ManagerOptions{
    			Dialer: ConnectWS(dialer.DialContext,
    				dummyNewToken,
    				nil),
    			Local:        host,
    			Hosts:        hosts,
    			AuthFn:       dummyNewToken,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

        /**
         * Return proxy server host name.
         *
         * @return proxy server host name
         */
        public String getHost() {
            return host;
        }
    
        /**
         * Set proxy host name.
         *
         * @param host proxy server host name
         */
        public void setHost(String host) {
            this.host = host;
        }
    
        /**
         * Get user's password used to log in to proxy server.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        private fun buildBootstrapClient(builder: Builder): Dns {
          val hosts = builder.bootstrapDnsHosts
    
          return if (hosts != null) {
            BootstrapDns(builder.url!!.host, hosts)
          } else {
            builder.systemDns
          }
        }
    
        internal fun isPrivateHost(host: String): Boolean {
          return PublicSuffixDatabase.get().getEffectiveTldPlusOne(host) == null
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http:\\\\host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:///host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:\\//host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:/\\/host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http://\\host/path"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
Back to top