Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 483 for connect0 (0.07 seconds)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * customizations.
         *
         * Most TLS clients that connect to hosts on the public Internet should call this method.
         * Otherwise it is necessary to manually prepare a comprehensive set of trusted roots.
         *
         * If the host platform is compromised or misconfigured this may contain untrustworthy root
         * certificates. Applications that connect to a known set of servers may be able to mitigate
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. cmd/lock-rest-client.go

    	"github.com/minio/minio/internal/grid"
    )
    
    // lockRESTClient is authenticable lock REST client
    type lockRESTClient struct {
    	connection *grid.Connection
    }
    
    // IsOnline - returns whether REST client failed to connect or not.
    func (c *lockRESTClient) IsOnline() bool {
    	return c.connection.State() == grid.StateConnected
    }
    
    // Not a local locker
    func (c *lockRESTClient) IsLocal() bool {
    	return false
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 29 18:10:04 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

     */
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
         * @param access the desired access rights
         * @param policyHandle the policy handle to be populated
         */
        public MsrpcLsarOpenPolicy2(final String server, final int access, final LsaPolicyHandle policyHandle) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        Configuration cfg;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        private void stubValidTree(long treeId, boolean connected, boolean smb2) {
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getTreeId()).thenReturn(treeId);
            lenient().when(tree.isConnected()).thenReturn(connected);
            lenient().when(tree.isSMB2()).thenReturn(smb2);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. cmd/erasure-sets.go

    }
    
    // Legacy returns 'true' if distribution algo is CRCMOD
    func (s *erasureSets) Legacy() (ok bool) {
    	return s.distributionAlgo == formatErasureVersionV2DistributionAlgoV1
    }
    
    // connectDisks - attempt to connect all the endpoints, loads format
    // and re-arranges the disks in proper position.
    func (s *erasureSets) connectDisks(log bool) {
    	defer func() {
    		s.lastConnectDisksOpTime = time.Now()
    	}()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt

    class UtilTest {
      @Test
      fun socketIsHealthy() {
        val localhost = InetAddress.getLoopbackAddress()
        val serverSocket = ServerSocket(0, 1, localhost)
    
        val socket = Socket()
        socket.connect(serverSocket.localSocketAddress)
        val socketSource = socket.source().buffer()
    
        assertThat(socket.isHealthy(socketSource)).isTrue()
    
        serverSocket.close()
        assertThat(socket.isHealthy(socketSource)).isFalse()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. internal/deadlineconn/deadlineconn_test.go

    		if terr != nil {
    			t.Errorf("failed to write to client. %v", terr)
    			return
    		}
    	}()
    
    	c, err := net.Dial("tcp", serverAddr)
    	if err != nil {
    		t.Fatalf("unable to connect to server. %v", err)
    	}
    	defer c.Close()
    
    	_, err = io.WriteString(c, "message one\n")
    	if err != nil {
    		t.Fatalf("failed to write to server. %v", err)
    	}
    	_, err = io.WriteString(c, "message two\n")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 17:15:17 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  8. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    
    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt

      @BeforeEach
      fun setup() {
        // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager
        platform.assumeNotBouncyCastle()
      }
    
      @Test fun `untrusted host in insecureHosts connects successfully`() {
        val serverCertificates = platform.localhostHandshakeCertificates()
        server.useHttps(serverCertificates.sslSocketFactory())
        server.enqueue(MockResponse())
    
        val clientCertificates =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. helm/minio/README.md

    With NetworkPolicy enabled, traffic will be limited to just port 9000.
    
    For more precise policy, set `networkPolicy.allowExternal=true`. This will
    only allow pods with the generated client label to connect to MinIO.
    This label will be displayed in the output of a successful install.
    
    ### Existing secret
    
    Instead of having this chart create the secret for you, you can supply a preexisting secret, much
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top