Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 559 for sockets (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        platform.assumeJdk9()
      }
    
      @Test
      fun testTlsv13Works() {
        // https://docs.oracle.com/en/java/javase/14/security/java-secure-socket-extension-jsse-reference-guide.html
        // TODO test jdk.tls.client.enableSessionTicketExtension
        // TODO check debugging information
    
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

                      }
                    }.build(),
                ),
              )
            }
          }.addNetworkInterceptor {
            val socket = it.connection()!!.socket() as SSLSocket
    
            handshakeEnabledCipherSuites = socket.enabledCipherSuites.toList()
    
            it.proceed(it.request())
          }.build()
    
      private fun makeRequest(client: OkHttpClient): Handshake {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Sep 16 07:21:43 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        val eventListener =
          object : EventListener() {
            var socket: SSLSocket? = null
            var closed = false
    
            override fun connectionAcquired(
              call: Call,
              connection: Connection,
            ) {
              socket = connection.socket() as SSLSocket
            }
    
            override fun requestHeadersStart(call: Call) {
              if (closed) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. .github/workflows/publish.yml

            env:
              ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
              ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
              ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 15:26:25 GMT 2025
    - 784 bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

      fun upgradeToSocket(): Socket {
        call.upgradeToSocket()
        (codec.carrier as RealConnection).useAsSocket()
    
        return object : Socket {
          override fun cancel() {
            ******@****.***()
          }
    
          override val sink =
            RequestBodySink(
              delegate = codec.socket.sink,
              contentLength = -1L,
              isSocket = true,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. build-logic/idea/src/main/kotlin/gradlebuild.ide.gradle.kts

                transport = Remote.RemoteTransport.SOCKET
                sharedMemoryAddress = "javadebug"
                host = "localhost"
                port = 5005
                autoRestart = true
            }
            create<Remote>("Launcher debug (port 5006)") {
                mode = Remote.RemoteMode.LISTEN
                transport = Remote.RemoteTransport.SOCKET
                sharedMemoryAddress = "javadebug"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jan 30 10:41:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

    import org.apache.http.conn.HttpClientConnectionManager;
    import org.apache.http.conn.routing.HttpRoutePlanner;
    import org.apache.http.conn.socket.ConnectionSocketFactory;
    import org.apache.http.conn.socket.LayeredConnectionSocketFactory;
    import org.apache.http.conn.socket.PlainConnectionSocketFactory;
    import org.apache.http.conn.ssl.NoopHostnameVerifier;
    import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 53.7K bytes
    - Click Count (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

    import okio.Sink
    
    /**
     * A sink that sleeps [periodDelayNanos] every [bytesPerPeriod] bytes. Unlike [okio.Throttler],
     * this permits any interval to be used.
     */
    internal class ThrottledSink(
      private val socket: MockWebServerSocket,
      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        /** Maximum size for RDMA read/write operations */
        protected int maxReadWriteSize;
    
        /**
         * Create new RDMA connection
         *
         * @param remote remote socket address
         * @param local local socket address, may be null
         */
        public RdmaConnection(InetSocketAddress remote, InetSocketAddress local) {
            this.remoteAddress = remote;
            this.localAddress = local;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/BufferedSocket.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.net.Socket as JavaNetSocket
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.Socket as OkioSocket
    import okio.asOkioSocket
    import okio.buffer
    
    interface BufferedSocket : OkioSocket {
      override val source: BufferedSource
      override val sink: BufferedSink
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top