Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 689 for Connection (1.54 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

        // Configure cipher suites to demonstrate how to customize which cipher suites will be used for
        // an OkHttp request. In order to be selected a cipher suite must be included in both OkHttp's
        // connection spec and in the SSLSocket's enabled cipher suites array. Most applications should
        // not customize the cipher suites list.
        List<CipherSuite> customCipherSuites = asList(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

                    for (i in 0..9) {
                      sink.writeByte(0)
                      sink.flush()
                      sleep(100)
                    }
                    fail("Expected connection to be closed")
                  }
                },
              ).build(),
          )
        interruptLater(500)
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            String channelId = "channel-" + channelCounter.incrementAndGet();
            ChannelInfo channel = new ChannelInfo(channelId, transport, localIf, remoteIf);
    
            // Establish connection
            channel.setState(ChannelState.CONNECTING);
            // Connection would be ensured through proper transport interface
    
            // Perform channel binding
            performChannelBinding(channel);
    
            // Add to active channels
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

    import java.util.concurrent.CopyOnWriteArrayList;
    import java.util.concurrent.atomic.AtomicLong;
    
    import jcifs.SmbTransport;
    import jcifs.internal.CommonServerMessageBlock;
    
    /**
     * Information about a multi-channel connection
     */
    public class ChannelInfo {
    
        private final String channelId;
        private volatile SmbTransport transport;
        private final NetworkInterfaceInfo localInterface;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

      @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @Test
      fun clientSendsServerNameAndServerReceivesIt() {
        // java.net.ConnectException: Connection refused
        platform.assumeNotConscrypt()
    
        val handshakeCertificates = localhost()
        server.useHttps(handshakeCertificates.sslSocketFactory())
    
        val dns =
          Dns {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. cmd/admin-server-info.go

    				} else {
    					if xnet.IsNetworkOrHostDown(err, false) {
    						network[nodeName] = string(madmin.ItemOffline)
    					} else if xnet.IsNetworkOrHostDown(err, true) {
    						network[nodeName] = "connection attempt timedout"
    					}
    				}
    			}
    		}
    	}
    
    	var memstats runtime.MemStats
    	runtime.ReadMemStats(&memstats)
    
    	gcStats := debug.GCStats{
    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        apply {
          this.settings = settings
        }
    
      fun withWebSocketUpgrade(listener: WebSocketListener) =
        apply {
          status = "HTTP/1.1 101 Switching Protocols"
          setHeader("Connection", "Upgrade")
          setHeader("Upgrade", "websocket")
          body = null
          webSocketListener = listener
        }
    
      override fun toString(): String = status
    
      companion object {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 7.1K bytes
    - Viewed (1)
  8. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

        }
    
        @Test
        void testScmInheritance() throws Exception {
            Model model = Model.newBuilder()
                    .scm(Scm.newBuilder()
                            .connection("scm:git:https://github.com/apache/maven-project.git")
                            .developerConnection("scm:git:https://github.com/apache/maven-project.git")
                            .url("https://github.com/apache/maven-project")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbException.java

         */
        public enum Severity {
            RECOVERABLE, // Can retry the operation
            TRANSIENT, // Temporary error, retry after delay
            PERMANENT, // Operation cannot succeed
            FATAL // Connection or session must be terminated
        }
    
        /**
         * Error categories
         */
        public enum Category {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. internal/kms/conn.go

    package kms
    
    import (
    	"context"
    	"encoding"
    	"encoding/json"
    	"strconv"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    )
    
    // conn represents a connection to a KMS implementation.
    // It's implemented by the MinKMS and KES client wrappers
    // and the static / single key KMS.
    type conn interface {
    	// Version returns version information about the KMS.
    	//
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top