Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for sameHostAndPort (0.13 seconds)

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

                noNewExchangesEvent = !candidate.noNewExchanges
                candidate.noNewExchanges = true
                call.releaseConnectionNoEvents()
              }
    
              candidate.noNewExchanges || !sameHostAndPort(candidate.route().address.url) -> {
                call.releaseConnectionNoEvents()
              }
    
              else -> {
                null
              }
            }
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

      @Throws(IOException::class)
      override fun proceed(request: Request): Response {
        check(index < interceptors.size)
    
        calls++
    
        if (exchange != null) {
          check(exchange.finder.routePlanner.sameHostAndPort(request.url)) {
            "network interceptor ${interceptors[index - 1]} must retain the same host and port"
          }
          check(calls == 1) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
Back to Top