- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 400 for acancel (0.06 seconds)
-
docs/es/docs/how-to/custom-request-and-route.md
Todo lo que necesitamos hacer es manejar el request dentro de un bloque `try`/`except`: {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *} Si ocurre una excepción, la `Request instance` aún estará en el alcance, así que podemos leer y hacer uso del request body cuando manejamos el error: {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.8K bytes - Click Count (0) -
.github/workflows/build.yml
permissions: contents: read env: GRADLE_OPTS: "-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: publish: runs-on: ubuntu-latest if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master' steps: - name: CheckoutCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 16:19:02 GMT 2026 - 11.6K bytes - Click Count (0) -
internal/grid/README.md
return nil }) ``` Context cancellation and timeouts are propagated to the handler. The client does not wait for the remote handler to finish before returning. Returning any error will also cancel the stream remotely. CAREFUL: When utilizing two-way communication, it is important to ensure that the remote handler is not blocked on a send.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
idle and active connections for everything. OkHttp now detects and warns on connections that were allocated but never released, and will enforce HTTP/2 stream limits. This update also fixes `Call.cancel()` to not do I/O on the calling thread. * Fix: Don't log gzipped data in the logging interceptor. * Fix: Don't resolve DNS addresses when connecting through a SOCKS proxy.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
cmd/peer-rest-server.go
srvCfg, err := getValidConfig(objAPI) if err != nil { return np, grid.NewRemoteErr(err) } subSys := vars.Get(peerRESTSubSys) // Apply dynamic values. ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() if subSys == "" { err = applyDynamicConfig(ctx, objAPI, srvCfg) } else { err = applyDynamicConfigForSubSys(ctx, objAPI, srvCfg, subSys) } if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
return 1; } @Override public void setRequestCredits(int credits) { this.requestCredits = credits; } @Override public boolean isCancel() { return false; } // Methods from Message interface @Override public void retainPayload() { this.retainPayload = true; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
object : Call { override fun request(): Request = TODO() override fun execute(): Response = TODO() override fun enqueue(responseCallback: Callback) = TODO() override fun cancel() = TODO() override fun isExecuted(): Boolean = TODO() override fun isCanceled(): Boolean = TODO() override fun timeout(): Timeout = TODO()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
cmd/object_api_suite_test.go
if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } } { ctx, cancel := context.WithTimeout(context.Background(), time.Second*5) defer cancel() token := "" for ctx.Err() == nil { result, err := obj.ListObjectsV2(ctx, "bucket", "testPrefix", token, "", 2, false, "") if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
cmd/post-policy_test.go
// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) ctx, cancel := context.WithCancel(GlobalContext) defer cancel() // Now check if we actually wrote to backend (regardless of the response // returned by the server). z := obj.(*erasureServerPools) xl := z.serverPools[0].sets[0]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
encodings[0x15] = encoding // Negative Acknowledgment encodings[0x16] = encoding // Synchronous idle encodings[0x17] = encoding // End of Transmission Block encodings[0x18] = encoding // Cancel encodings[0x19] = encoding // End of Medium encodings[0x1a] = encoding // Substitute encodings[0x1b] = encoding // Escape encodings[0x1c] = encoding // File Separator
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (0)