Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for trac (0.17 sec)

  1. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    # FORMAT NOT DOCUMENTED YET (parser is urltestparser.js)
    
    # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/script-tests/segments.js
    http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
    http://user:pass@foo:21/bar;par?b#c  s:http u:user pass:pass h:foo port:21 p:/bar;par q:?b f:#c
    http:foo.com  s:http h:example.org p:/foo/foo.com
    \t\s\s\s:foo.com\s\s\s\n  s:http h:example.org p:/foo/:foo.com
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

            // We might no longer need some connections
            connectionPool.scheduleCloser()
          }
        }
      }
    
      override fun handshake(): Handshake? = handshake
    
      /** Track a bad route in the route database. Other routes will be attempted first. */
      internal fun connectFailed(
        client: OkHttpClient,
        failedRoute: Route,
        failure: IOException,
      ) {
    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)
  3. docs/changelogs/changelog_4x.md

        automatically retry on an unshared connection.
     *  Fix: Don't crash if a TLS tunnel's response body is truncated.
     *  Fix: Don't track unusable routes beyond their usefulness. We had a bug where we could track
        certain bad routes indefinitely; now we only track the ones that could be necessary.
     *  Fix: Defer proxy selection until a proxy is required. This saves calls to `ProxySelector` on
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        logger.log(logLevel, message, t)
      }
    
      open fun isCleartextTrafficPermitted(hostname: String): Boolean = true
    
      /**
       * Returns an object that holds a stack trace created at the moment this method is executed. This
       * should be used specifically for [java.io.Closeable] objects and in conjunction with
       * [logCloseableLeak].
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

            } finally {
              client.dispatcher.finished(this)
            }
          }
        }
      }
    
      internal class CallReference(
        referent: RealCall,
        /**
         * Captures the stack trace at the time the Call is executed or enqueued. This is helpful for
         * identifying the origin of connection leaks.
         */
        val callStackTrace: Any?,
      ) : WeakReference<RealCall>(referent)
    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)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

                true
              } catch (e: Exception) {
                false
              }
            }
            .build()
    
        val request =
          Request.Builder()
            .url("https://sni.cloudflaressl.com/cdn-cgi/trace")
            .header("Host", "cloudflare-dns.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        val name = lock.withLock { nextQueueName++ }
        return TaskQueue(this, "Q$name")
      }
    
      /**
       * Returns a snapshot of queues that currently have tasks scheduled. The task runner does not
       * necessarily track queues that have no tasks scheduled.
       */
      fun activeQueues(): List<TaskQueue> {
        lock.withLock {
          return busyQueues + readyQueues
        }
      }
    
      fun cancelAll() {
        lock.assertHeld()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      }
    
      /**
       * We had a bug where we'd perform infinite retries of route that fail with connection shutdown
       * errors. The problem was that the logic that decided whether to reuse a route didn't track
       * certain HTTP/2 errors. https://github.com/square/okhttp/issues/5547
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun noRecoveryFromTwoRefusedStreams(
    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)
  10. okhttp-coroutines/src/test/kotlin/okhttp3/SuspendCallTest.kt

                call.executeAsync()
              }
            }
          }
    
          assertThat(call.canceled).isTrue()
          assertThat(call.responseClosed).isTrue()
        }
      }
    
      /** A call that keeps track of whether its response body is closed. */
      private class ClosableCall : FailingCall() {
        private val response =
          Response.Builder()
            .request(Request("https://example.com/".toHttpUrl()))
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top