Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 462 for Connections (0.06 seconds)

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

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    interface ExchangeFinder {
      val routePlanner: RoutePlanner
    
      fun find(): RealConnection
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 730 bytes
    - Click Count (0)
  2. cmd/storage-rest-client.go

    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    		return true
    	// Corner case, the server closed the connection with a keep-alive timeout
    	// some requests are not retried internally, such as POST request with written body
    	case strings.Contains(err.Error(), "server closed idle connection"):
    		return true
    	}
    
    	return false
    }
    
    // Converts network error to storageErr. This function is
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  3. internal/event/target/mqtt.go

    // be replayed when the mqtt connection is active.
    func (target *MQTTTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		_, err := target.store.Put(eventData)
    		return err
    	}
    	if err := target.init(); err != nil {
    		return err
    	}
    
    	// Do not send if the connection is not active.
    	_, err := target.isActive()
    	if err != nil {
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmMain/java9/module-info.java

      exports okhttp3.internal.concurrent to mockwebserver3, okhttp3.mockwebserver;
      exports okhttp3.internal.connection to mockwebserver3, okhttp3.mockwebserver, okhttp3.logging;
      exports okhttp3.internal.http to okhttp3.logging, okhttp3.brotli, mockwebserver3;
      exports okhttp3.internal.http2 to mockwebserver3, okhttp3.mockwebserver;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 08:30:26 GMT 2025
    - 969 bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

    class HeadersRequestTest {
      @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() {
        val headerBlock =
          headersOf(
            ":status",
            "200 OK",
            ":version",
            "HTTP/1.1",
            "connection",
            "close",
          )
        val request = Request.Builder().url("http://square.com/").build()
        val response = readHttp2HeadersList(headerBlock, Protocol.HTTP_2).request(request).build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-expected.xml

      <!-- 5 inherited urls with ../${project.artifactId} added to parent -->
      <url>http://www.apache.org/path/to/parent/../inheritance/</url>
      <scm>
        <connection>scm:my-scm:http://domain.org/base/../inheritance</connection>
        <developerConnection>scm:my-scm:https://domain.org/base/../inheritance/</developerConnection>
        <url>https://domain.org/base/../inheritance</url>
      </scm>
      <distributionManagement>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-parent.xml

      <modules>
        <module>../inheritance</module>
      </modules>
    
      <!-- 5 urls in the pom will be inherited with path added -->
      <url>http://www.apache.org/path/to/parent/</url>
      <scm>
        <connection>scm:my-scm:http://domain.org/base</connection>
        <developerConnection>scm:my-scm:https://domain.org/base/</developerConnection>
        <url>https://domain.org/base</url>
      </scm>
      <distributionManagement>
        <site>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/resources/poms/inheritance/urls-parent.xml

      <modules>
        <module>child-artifact-id</module>
      </modules>
    
      <!-- 5 urls in the pom will be inherited with path added -->
      <url>http://www.apache.org/path/to/parent/</url>
      <scm>
        <connection>scm:my-scm:http://domain.org/base</connection>
        <developerConnection>scm:my-scm:https://domain.org/base/</developerConnection>
        <url>https://domain.org/base</url>
      </scm>
      <distributionManagement>
        <site>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.internal.connection
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.net.Inet4Address
    import java.net.Inet6Address
    import org.junit.jupiter.api.Test
    
    @Suppress("ktlint:standard:property-naming")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

          long t1 = System.nanoTime();
          Request request = chain.request();
          logger.info(String.format("Sending request %s on %s%n%s",
              request.url(), chain.connection(), request.headers()));
          Response response = chain.proceed(request);
    
          long t2 = System.nanoTime();
          logger.info(String.format("Received response for %s in %.1fms%n%s",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jan 01 15:55:32 GMT 2016
    - 2K bytes
    - Click Count (0)
Back to Top