Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,109 for connections (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

      }
    
      /**
       * Return the route from [connection] if it should be retried, even if the connection itself is
       * unhealthy. The biggest gotcha here is that we shouldn't reuse routes from coalesced
       * connections.
       */
      private fun retryRoute(connection: RealConnection): Route? =
        connection.withLock {
          when {
            connection.routeFailureCount != 0 -> null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the storage URL.
         *
         * @param u The URL to open a connection to
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

    import java.util.concurrent.SynchronousQueue
    import java.util.concurrent.ThreadPoolExecutor
    import java.util.concurrent.TimeUnit
    import okhttp3.internal.assertLockNotHeld
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealCall.AsyncCall
    import okhttp3.internal.okHttpName
    import okhttp3.internal.threadFactory
    import okhttp3.internal.unmodifiable
    
    /**
     * Policy on when async requests are executed.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            return null
          }
    
          HTTP_MISDIRECTED_REQUEST -> {
            // OkHttp can coalesce HTTP/2 connections even if the domain names are different. See
            // RealConnection.isEligible(). If we attempted this and the server returned HTTP 421, then
            // we can retry on a different connection.
            val requestBody = userResponse.request.body
            if (requestBody != null && requestBody.isOneShot()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        }
    
        /**
         * Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection.
         *
         * @param connection the HTTP connection to wrap for NTLM authentication
         */
        public NtlmHttpURLConnection(final HttpURLConnection connection) {
            super(connection.getURL());
            this.connection = connection;
            requestProperties = new HashMap();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/websockets.md

    ```
    Client #1596980209979 left the chat
    ```
    
    /// tip
    
    The app above is a minimal and simple example to demonstrate how to handle and broadcast messages to several WebSocket connections.
    
    But keep in mind that, as everything is handled in memory, in a single list, it will only work while the process is running, and will only work with a single process.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            /**
             * The share permissions.
             */
            public int permissions;
            /**
             * The maximum number of concurrent connections.
             */
            public int max_uses;
            /**
             * The current number of connections.
             */
            public int current_uses;
            /**
             * The local path of the share.
             */
            public String path;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
          } catch (e: IOException) {
            logger.log(Level.WARNING, "$threadName failed unexpectedly", e)
          } finally {
            for (socket in openSockets) {
              socket.closeQuietly()
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    import jcifs.internal.smb2.io.Smb2ReadRequest;
    import jcifs.internal.smb2.io.Smb2WriteRequest;
    
    /**
     * Load balancer for SMB3 Multi-Channel connections
     */
    public class ChannelLoadBalancer {
    
        private final ChannelManager manager;
        private LoadBalancingStrategy strategy;
        private final AtomicInteger roundRobinCounter;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        val connections: MutableList<RealConnection?> = ArrayList()
        val localClient =
          client
            .newBuilder()
            .eventListener(
              object : EventListener() {
                override fun connectionAcquired(
                  call: Call,
                  connection: Connection,
                ) {
                  connections.add(connection as RealConnection)
                }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top