- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 573 for reconnection (0.66 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
server.bodyLimit = 7 * 512 * 1024 val connection = server.url("/").toUrl().openConnection() as HttpURLConnection connection.requestMethod = "POST" connection.doOutput = true connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB connection.connect() val out = connection.outputStream val data = ByteArray(1024 * 1024) var i = 0 while (i < 1024) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
docs/contribute/concurrency.md
* **RealConnection** is the socket and streams of an HTTP/1 or HTTP/2 connection. These are created on demand to fulfill HTTP requests. They may be reused for many HTTP request/response exchanges. Their lifetime is typically shorter than a connection pool. * **Exchange** carries a single HTTP request/response pair.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
*/ package okhttp3.internal.connection import java.io.IOException import java.util.concurrent.CopyOnWriteArrayList import java.util.concurrent.LinkedBlockingDeque import java.util.concurrent.TimeUnit import okhttp3.internal.concurrent.Task import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.connection.RoutePlanner.ConnectResult import okhttp3.internal.connection.RoutePlanner.Plan
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
* limitations under the License. */ package okhttp3.internal.connection import java.io.IOException /** Attempt routes one at a time until one connects. */ internal class SequentialExchangeFinder( override val routePlanner: RoutePlanner, ) : ExchangeFinder { override fun find(): RealConnection { var firstException: IOException? = null while (true) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
*/ protected abstract void doConnect() throws Exception; /* Tear down a connection. If the hard parameter is true, the diconnection * procedure should not initiate or wait for any outstanding requests on * this transport. */ /** * Tears down the connection to the remote endpoint. * * @param hard if true, disconnect immediately without waiting for outstanding requestsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java
} model.setUrl(normalize(model.getUrl())); Scm scm = model.getScm(); if (scm != null) { scm.setUrl(normalize(scm.getUrl())); scm.setConnection(normalize(scm.getConnection())); scm.setDeveloperConnection(normalize(scm.getDeveloperConnection())); } DistributionManagement dist = model.getDistributionManagement(); if (dist != null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.5K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
import java.io.IOException; import java.net.URL; import java.net.URLConnection; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Unit tests for {@link Handler}. * * Tests the SMB URL handler implementation including: * - Default port configuration * - URL connection opening * - URL creation and parsing */ public class HandlerTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
`OkHttpClient`. * **URLConnection support has moved to the okhttp-urlconnection module.** If you're upgrading from 1.x, this change will impact you. You will need to add the `okhttp-urlconnection` module to your project and use the `OkUrlFactory` to create new instances of `HttpURLConnection`: ```java // OkHttp 1.x: HttpURLConnection connection = client.open(url); // OkHttp 2.x:Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
assertEquals("${test}/somepath", out.getScm().getConnection()); } @Test public void testShouldThrowExceptionOnRecursiveScmConnectionReference() throws Exception { var model = new Model(org.apache.maven.api.model.Model.newBuilder() .scm(org.apache.maven.api.model.Scm.newBuilder() .connection("${project.scm.connection}/somepath") .build())
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 18.2K bytes - Viewed (0)