Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for Sethostname (0.07 seconds)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

    ) : SocketAdapter {
      private val setUseSessionTickets: Method =
        sslSocketClass.getDeclaredMethod("setUseSessionTickets", Boolean::class.javaPrimitiveType)
      private val setHostname = sslSocketClass.getMethod("setHostname", String::class.java)
      private val getAlpnSelectedProtocol = sslSocketClass.getMethod("getAlpnSelectedProtocol")
      private val setAlpnProtocols =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

          )
        val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
        assertThat(request.url.toString()).isEqualTo("http://127.0.0.1/")
      }
    
      @Test fun testHostname() {
        val headers = headersOf("Host", "host-from-header.com")
        val socket =
          MockWebServerSocket(
            FakeSocket(
              localAddress =
                InetAddress.getByAddress(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. okhttp-tls/README.md

        .build();
    
    // Create a server certificate and a server that uses it.
    HeldCertificate serverCertificate = new HeldCertificate.Builder()
        .commonName("ingen")
        .addSubjectAlternativeName(server.getHostName())
        .signedBy(rootCertificate)
        .build();
    HandshakeCertificates serverCertificates = new HandshakeCertificates.Builder()
        .addTrustedCertificate(rootCertificate.certificate())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getBodyLimit ()J
    	public final fun getDelegate ()Lmockwebserver3/MockWebServer;
    	public final fun getDispatcher ()Lokhttp3/mockwebserver/Dispatcher;
    	public final fun getHostName ()Ljava/lang/String;
    	public final fun getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getRequestCount ()I
    	public final fun getServerSocketFactory ()Ljavax/net/ServerSocketFactory;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Click Count (0)
  5. mockwebserver/api/mockwebserver3.api

    	public fun <init> ()V
    	public fun close ()V
    	public final fun enqueue (Lmockwebserver3/MockResponse;)V
    	public final fun getBodyLimit ()J
    	public final fun getDispatcher ()Lmockwebserver3/Dispatcher;
    	public final fun getHostName ()Ljava/lang/String;
    	public final fun getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getProtocols ()Ljava/util/List;
    	public final fun getProxyAddress ()Ljava/net/Proxy;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  6. cmd/handler-utils.go

    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    // gets host name for current node
    func getHostName(r *http.Request) (hostName string) {
    	if globalIsDistErasure {
    		hostName = globalLocalNodeName
    	} else {
    		hostName = r.Host
    	}
    	return hostName
    }
    
    // Proxy any request to an endpoint.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  7. api/go1.txt

    pkg syscall (linux-386), func Setfsuid(int) error
    pkg syscall (linux-386), func Setgid(int) error
    pkg syscall (linux-386), func Setgroups([]int) error
    pkg syscall (linux-386), func Sethostname([]uint8) error
    pkg syscall (linux-386), func Setpgid(int, int) error
    pkg syscall (linux-386), func Setregid(int, int) error
    pkg syscall (linux-386), func Setresgid(int, int, int) error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  8. cmd/utils.go

    	object := likelyUnescapeGeneric(vars["object"], url.PathUnescape)
    	reqInfo := &logger.ReqInfo{
    		DeploymentID: globalDeploymentID(),
    		RequestID:    reqID,
    		RemoteHost:   handlers.GetSourceIP(r),
    		Host:         getHostName(r),
    		UserAgent:    r.UserAgent(),
    		API:          api,
    		BucketName:   bucket,
    		ObjectName:   object,
    		VersionID:    strings.TrimSpace(r.Form.Get(xhttp.VersionID)),
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  9. cmd/notification.go

    			sys.peerClients[index].host.String())
    		ctx := logger.SetReqInfo(ctx, reqInfo)
    		peersLogOnceIf(ctx, err, sys.peerClients[index].host.String())
    	}
    	locksResp = append(locksResp, &PeerLocks{
    		Addr:  getHostName(r),
    		Locks: globalLockServer.DupLockMap(),
    	})
    	return locksResp
    }
    
    // LoadBucketMetadata - calls LoadBucketMetadata call on all peers
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  10. api/go1.2.txt

    pkg syscall (linux-arm-cgo), func Setfsuid(int) error
    pkg syscall (linux-arm-cgo), func Setgid(int) error
    pkg syscall (linux-arm-cgo), func Setgroups([]int) error
    pkg syscall (linux-arm-cgo), func Sethostname([]uint8) error
    pkg syscall (linux-arm-cgo), func Setpgid(int, int) error
    pkg syscall (linux-arm-cgo), func Setpriority(int, int, int) error
    pkg syscall (linux-arm-cgo), func Setregid(int, int) error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
Back to Top