Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for alice (0.21 sec)

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

          Request.Builder()
            .url(route.address.url)
            .method("CONNECT", null)
            .header("Host", route.address.url.toHostHeader(includeDefaultPort = true))
            .header("Proxy-Connection", "Keep-Alive") // For HTTP/1.0 proxies like Squid.
            .header("User-Agent", USER_AGENT)
            .build()
    
        val fakeAuthChallengeResponse =
          Response.Builder()
            .request(proxyConnectRequest)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * simultaneously adopted and removed.
       */
      private val connections = ConcurrentLinkedQueue<RealConnection>()
    
      init {
        // Put a floor on the keep alive duration, otherwise cleanup will spin loop.
        require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" }
      }
    
      fun idleConnectionCount(): Int {
        return connections.count {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top