- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,176 for Post (0.03 seconds)
-
cmd/api-router.go
ObjectAPI func() ObjectLayer } // getHost tries its best to return the request host. // According to section 14.23 of RFC 2616 the Host header // can include the port number if the default value of 80 is not used. func getHost(r *http.Request) string { if r.URL.IsAbs() { return r.URL.Host } return r.Host } func notImplementedHandler(w http.ResponseWriter, r *http.Request) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 23.3K bytes - Click Count (0) -
internal/http/check_port_linux.go
package http import ( "context" "net" "syscall" "time" ) // CheckPortAvailability - check if given host and port is already in use. // Note: The check method tries to listen on given port and closes it. // It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.9K bytes - Click Count (0) -
build-logic/idea/src/main/kotlin/gradlebuild.ide.gradle.kts
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jan 30 10:41:28 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/distributed/CONFIG.md
arguments for the hostnames and the drives via an ellipses syntax such as `minio server http://host{1...4}/disk{1...4}` this requirement added an additional burden to have sequential hostnames for us to make sure that we can provide horizontal distribution, however we have come across situations where sometimes this is not feasible and there are no easier alternatives without modifying /etc/hosts on the host system as root user. Many times in airgapped deployments this is not allowed or requires audits...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 25 02:30:18 GMT 2024 - 4.2K bytes - Click Count (0) -
cmd/event-notification.go
}, Object: event.Object{ Key: keyName, VersionID: args.Object.VersionID, Sequencer: uniqueID, }, }, Source: event.Source{ Host: args.Host, UserAgent: args.UserAgent, }, } isRemovedEvent := args.EventName == event.ObjectRemovedDelete || args.EventName == event.ObjectRemovedDeleteMarkerCreated ||Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 21 22:22:24 GMT 2024 - 7.7K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
} // strip ports off of domainIPs domainIPsWithoutPorts := args.domainIPs.ApplyFunc(func(ip string) string { host, _, err := net.SplitHostPort(ip) if err != nil { if strings.Contains(err.Error(), "missing port in address") { host = ip } } return host }) args.domainIPs = domainIPsWithoutPorts return args, nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
internal/event/target/nats_tls_contrib_test.go
func TestNatsConnTLSCustomCA(t *testing.T) { s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf")) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true, Address: xnet.Host{ Name: "localhost", Port: (xnet.Port(opts.Port)), IsPortSet: true, }, Subject: "test", Secure: true, CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 22 22:12:26 GMT 2025 - 2.7K bytes - Click Count (0) -
cmd/endpoint_test.go
Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d1"}, IsLocal: true}, Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d2"}, IsLocal: true}, Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d3"}, IsLocal: true}, Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d4"}, IsLocal: true}, }, ErasureSetupType, nil},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.9K bytes - Click Count (0) -
docs/orchestration/docker-compose/README.md
Docker Compose allows defining and running single host, multi-container Docker applications.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:29:55 GMT 2025 - 3.3K bytes - Click Count (0) -
cmd/object-api-utils.go
hosts := make([]string, len(records)) for i, r := range records { hosts[i] = net.JoinHostPort(r.Host, string(r.Port)) } return hosts } // returns an online host (and corresponding port) from a slice of DNS records func getHostFromSrv(records []dns.SrvRecord) (host string) { hosts := getHostsSlice(records) rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano())) var d net.Dialer
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0)