Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for sockets (3.4 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

              serverSocket.setReceiveBufferSize(SOCKET_BUFFER_SIZE)
              return serverSocket
            }
          }
        client =
          clientTestRule.newClientBuilder()
            .socketFactory(
              object : DelegatingSocketFactory(getDefault()) {
                @Throws(IOException::class)
                override fun configureSocket(socket: Socket): Socket {
                  socket.setSendBufferSize(SOCKET_BUFFER_SIZE)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 386 bytes
    - Viewed (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

    import java.net.InetSocketAddress;
    import java.net.Socket;
    import javax.net.SocketFactory;
    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style SocketFactory over UNIX domain sockets. */
    public final class UnixDomainSocketFactory extends SocketFactory {
      private final File path;
    
      public UnixDomainSocketFactory(File path) {
        this.path = path;
      }
    
      @Override public Socket createSocket() throws IOException {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 03 21:33:52 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/testdata/secret/config_dump.json

    {
      "configs": [
        {
          "@type": "type.googleapis.com/envoy.admin.v3.SecretsConfigDump",
          "dynamic_active_secrets": [
            {
              "name": "default",
              "last_updated": "2023-05-15T01:32:52.262Z",
              "secret": {
                "@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret",
                "name": "default",
                "tls_certificate": {
                  "certificate_chain": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

                @Throws(IOException::class)
                override fun configureSocket(socket: Socket): Socket {
                  socket.sendBufferSize = SOCKET_BUFFER_SIZE
                  socket.receiveBufferSize = SOCKET_BUFFER_SIZE
                  return socket
                }
              },
            )
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt

      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: String,
        port: Int,
      ): Socket {
        val socket = delegate.createSocket(host, port)
        return configureSocket(socket)
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: String,
        port: Int,
        localAddress: InetAddress,
        localPort: Int,
      ): Socket {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/os/33357.md

    The [Stat] function now sets the [ModeSocket] bit for
    files that are Unix sockets on Windows. These files are identified
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 178 bytes
    - Viewed (0)
  8. istioctl/pkg/describe/testdata/describe/http_config.json

                  {
                    "name": "tlsMode-disabled",
                    "match": {},
                    "transport_socket": {
                      "name": "envoy.transport_sockets.raw_buffer",
                      "typed_config": {
                        "@type": "type.googleapis.com/envoy.extensions.transport_sockets.raw_buffer.v3.RawBuffer"
                      }
                    }
                  }
                ]
              }
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

        return delegate.supportedCipherSuites
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        socket: Socket,
        host: String,
        port: Int,
        autoClose: Boolean,
      ): SSLSocket {
        val sslSocket = delegate.createSocket(socket, host, port, autoClose) as SSLSocket
        return configureSocket(sslSocket)
      }
    
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
Back to top