Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for finished (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.type = Http2.TYPE_SETTINGS
          this.ack = true
        }
    
        override fun headers(
          inFinished: Boolean,
          streamId: Int,
          associatedStreamId: Int,
          headerBlock: List<Header>,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_HEADERS
          this.inFinished = inFinished
          this.streamId = streamId
          this.associatedStreamId = associatedStreamId
    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)
  2. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        client.listener.assertClosing(1000, "Goodbye!")
        client.webSocket!!.finishReader()
        assertThat(client.closed).isTrue()
    
        // Server and client both finished closing, connection is closed.
        server.listener.assertClosed(1000, "Hello!")
        client.listener.assertClosed(1000, "Goodbye!")
      }
    
      @Test
      fun clientCloseCancelsConnectionAfterTimeout() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

      get() = this.exchange
    
    internal val Exchange.connectionAccessor: RealConnection
      get() = this.connection
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/CookieJar$Companion$NoCookies;->loadForRequest(Lokhttp3/HttpUrl;)Ljava/util/List;
    HSPLokhttp3/CookieJar;-><clinit>()V
    HSPLokhttp3/Dispatcher;-><init>()V
    HSPLokhttp3/Dispatcher;->finished$okhttp(Lokhttp3/internal/connection/RealCall$AsyncCall;)V
    HSPLokhttp3/Dispatcher;->finished(Ljava/util/Deque;Ljava/lang/Object;)V
    HSPLokhttp3/Dispatcher;->promoteAndExecute()Z
    HSPLokhttp3/Dns$Companion$DnsSystem;-><init>()V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

        completedNormally = true
        return result
      } finally {
        if (loggingEnabled) {
          val elapsedNs = queue.taskRunner.backend.nanoTime() - startNs
          if (completedNormally) {
            log(task, queue, "finished run in ${formatDuration(elapsedNs)}")
          } else {
            log(task, queue, "failed a run in ${formatDuration(elapsedNs)}")
          }
        }
      }
    }
    
    private fun Logger.log(
      task: Task,
      queue: TaskQueue,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

      }
    
      /**
       * We had a bug where self-finishing inflater streams would infinite loop!
       * https://github.com/square/okhttp/issues/8078
       */
      @Test fun `inflate returns finished before bytesRead reaches input length`() {
        val inflater = MessageInflater(false)
        val message = "53621260020000".decodeHex()
        assertThat(inflater.inflate(message)).isEqualTo("22021002".decodeHex())
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

            }
    
            if (connectResult.isSuccess) {
              // We have a connected TCP connection. Cancel and defer the racing connects that all lost.
              cancelInFlightConnects()
    
              // Finish connecting. We won't have to if the winner is from the connection pool.
              if (!connectResult.plan.isReady) {
                connectResult = connectResult.plan.connectTlsEtc()
              }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        @Throws(IOException::class)
        fun data(
          inFinished: Boolean,
          streamId: Int,
          source: BufferedSource,
          length: Int,
        )
    
        /**
         * Create or update incoming headers, creating the corresponding streams if necessary. Frames
         * that trigger this are HEADERS and PUSH_PROMISE.
         *
         * @param inFinished true if the sender will not send further frames.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        a2.cancel()
        a3.cancel()
        assertThat(dispatcher.runningCalls())
          .containsExactlyInAnyOrder(a1, a2)
        assertThat(dispatcher.queuedCalls()).isEmpty()
    
        // Let the calls finish.
        waiting.countDown()
        t1.join()
        t2.join()
    
        // Now we should have 0 running calls and 0 queued calls.
        assertThat(dispatcher.runningCallsCount()).isEqualTo(0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        [ObsoleteApacheClient.java][obsolete_apache_client] into your project.
    
     *  **OkHttp now supports duplex calls over HTTP/2.** With normal HTTP calls the request must finish
        before the response starts. With duplex, request and response bodies are transmitted
        simultaneously. This can be used to implement interactive conversations within a single HTTP
        call.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
Back to top