Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Subject (0.26 sec)

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

        val socket = this.socket!!
        val source = this.source!!
        val sink = this.sink!!
    
        socket.soTimeout = 0
        noNewExchanges()
        return object : RealWebSocket.Streams(true, source, sink) {
          override fun close() {
            exchange.bodyComplete<IOException?>(-1L, responseDone = true, requestDone = true, e = null)
          }
    
          override fun cancel() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added that wildcards the first level! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
      }
    
      companion object {
        private const val NEWLINE = '\n'.code
        private const val WILDCARD_CHAR = "*"
        private val EXCEPTION_RULE_MARKER: ByteString = "!".encodeUtf8()
      }
    }
    
    suspend fun main() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          origin: String,
          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        ) {
          throw UnsupportedOperationException()
        }
      }
    
      companion object {
        private val logger = Logger.getLogger(MockHttp2Peer::class.java.name)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      private val connectionPool: RealConnectionPool = client.connectionPool.delegate
    
      internal val eventListener: EventListener = client.eventListenerFactory.create(this)
    
      private val timeout =
        object : AsyncTimeout() {
          override fun timedOut() {
            ******@****.***()
          }
        }.apply {
          timeout(client.callTimeoutMillis.toLong(), MILLISECONDS)
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          settings: Settings,
        ) {}
    
        companion object {
          @JvmField
          val REFUSE_INCOMING_STREAMS: Listener =
            object : Listener() {
              @Throws(IOException::class)
              override fun onStream(stream: Http2Stream) {
                stream.close(REFUSED_STREAM, null)
              }
            }
        }
      }
    
      companion object {
        const val OKHTTP_CLIENT_WINDOW_SIZE = 16 * 1024 * 1024
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  6. CHANGELOG.md

     *  New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
        address. Use this to proactively open HTTP connections.
    
        Connections opened to fulfill this policy are subject to the connection pool's
        `keepAliveDuration` but do not count against the pool-wide `maxIdleConnections` limit.
    
        This feature increases the client's traffic and the load on the server. Talking to your server's
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

      @Test
      fun httpsWithIpAddress() {
        platform.assumeNotBouncyCastle()
    
        val localIpAddress = InetAddress.getLoopbackAddress().hostAddress
    
        // Create a certificate with an IP address in the subject alt name.
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("example.com")
            .addSubjectAlternativeName(localIpAddress!!)
            .build()
        val handshakeCertificates =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

                    sink.write(postBytes) // push bytes into the stream's buffer
                    sink.flush() // Http2Connection.writeData subject to write window
                    sink.close() // Http2Connection.writeData empty frame
                  }
                },
            ),
          )
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABCDE")
        val request = server.takeRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          if (outFinished) {
            this.sink.finished = true
            condition.signalAll() // Because doReadTimeout() may have changed.
          }
        }
    
        // Only DATA frames are subject to flow-control. Transmit the HEADER frame if the connection
        // flow-control window is fully depleted.
        if (!flushHeaders) {
          this.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

       * corresponding response from the cache. Use this to evict selected responses.
       */
      @Throws(IOException::class)
      fun urls(): MutableIterator<String> {
        return object : MutableIterator<String> {
          private val delegate: MutableIterator<DiskLruCache.Snapshot> = cache.snapshots()
          private var nextUrl: String? = null
          private var canRemove = false
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top