Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 456 for SOCKET (0.29 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy

            def daemon = daemons.daemon
            daemon.assertIdle()
    
            when:
            def socket = new Socket(new InetAddressFactory().localBindingAddress, daemon.port)
            socket.outputStream.write("GET / HTTP/1.0\n\n".getBytes())
            socket.outputStream.flush()
    
            then:
            // Nothing sent back
            socket.inputStream.read() == -1
    
            // Daemon is still running
            daemon.becomesIdle()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 07:46:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

    /**
     * What should be done with the incoming socket.
     *
     * Be careful when using values like [DisconnectAtEnd], [ShutdownInputAtEnd]
     * and [ShutdownOutputAtEnd] that close a socket after a response, and where there are
     * follow-up requests. The client is unblocked and free to continue as soon as it has received the
     * entire response body. If and when the client makes a subsequent request using a pooled socket the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          }
    
          val source = socket.source().buffer()
          val sink = socket.sink().buffer()
    
          while (processOneRequest(socket, source, sink)) {
          }
    
          if (sequenceNumber == 0) {
            logger.warning(
              "${this@MockWebServer} connection from ${raw.inetAddress} didn't make a request",
            )
          }
    
          socket.close()
          openClientSockets.remove(socket)
        }
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  4. pkg/util/filesystem/util_windows.go

    // Note that due to the retry logic inside, it could take up to 4 seconds
    // to determine whether or not the file path supplied is a Unix domain socket
    func IsUnixDomainSocket(filePath string) (bool, error) {
    	// Due to the absence of golang support for os.ModeSocket in Windows (https://github.com/golang/go/issues/33357)
    	// we need to dial the file and check if we receive an error to determine if a file is Unix Domain Socket file.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      val connectionPool: RealConnectionPool,
      override val route: Route,
      /** The low-level TCP socket. */
      private var rawSocket: Socket?,
      /**
       * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket]
       * itself if this connection does not use SSL.
       */
      private var socket: Socket?,
      private var handshake: Handshake?,
      private var protocol: Protocol?,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. pkg/proxy/util/nfacct/handler.go

    // for communication with the NFAcct subsystem.
    type netlinkHandler struct {
    	socket *nl.NetlinkSocket
    }
    
    // newNetlinkHandler initializes a netlink socket in the current network namespace and returns
    // an instance of netlinkHandler with the initialized socket.
    func newNetlinkHandler() (handler, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_zos.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Socket control messages
    
    package unix
    
    import "unsafe"
    
    // UnixCredentials encodes credentials into a socket control message
    // for sending to another process. This can be used for
    // authentication.
    func UnixCredentials(ucred *Ucred) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

        public SocketConnection(SocketChannel socket, MessageSerializer streamSerializer, StatefulSerializer<T> messageSerializer) {
            this.socket = socket;
            try {
                // NOTE: we use non-blocking IO as there is no reliable way when using blocking IO to shutdown reads while
                // keeping writes active. For example, Socket.shutdownInput() does not work on Windows.
                socket.configureBlocking(false);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/hello-multi.yaml.injected

            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            sidecar.istio.io/status: '{"initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["workload-socket","credential-socket","workload-certs","istio-envoy","istio-data","istio-podinfo","istio-token","istiod-ca-cert"],"imagePullSecrets":null,"revision":"default"}'
          creationTimestamp: null
          labels:
            app: hello
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

      private fun readAndWriteFrames() {
        check(socket == null)
        val socket = serverSocket!!.accept()!!
        this.socket = socket
    
        // Bail out now if this instance was closed while waiting for the socket to accept.
        synchronized(this) {
          if (executor.isShutdown) {
            socket.close()
            return
          }
        }
        val outputStream = socket.getOutputStream()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top