Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for SOCKET (0.1 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockCommunicator.java

        private final DatagramSocket socket;
        private final InetAddressProvider inetAddressProvider;
        private volatile boolean stopped;
    
        public FileLockCommunicator(InetAddressProvider inetAddressProvider) {
            this.inetAddressProvider = inetAddressProvider;
            try {
                socket = new DatagramSocket(0, inetAddressProvider.getWildcardBindingAddress());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/podresources/client.go

    		return nil, nil, fmt.Errorf("error dialing socket %s: %v", socket, err)
    	}
    	return v1alpha1.NewPodResourcesListerClient(conn), conn, nil
    }
    
    // GetV1Client returns a client for the PodResourcesLister grpc service
    func GetV1Client(socket string, connectionTimeout time.Duration, maxMsgSize int) (v1.PodResourcesListerClient, *grpc.ClientConn, error) {
    	addr, dialer, err := util.GetAddressAndDialer(socket)
    	if err != nil {
    		return nil, nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/net/sock_cloexec_solaris.go

    // Solaris in the 11.4 release. Thus, on releases prior to 11.4, we fall back
    // to the combination of socket(3c) and fcntl(2).
    
    package net
    
    import (
    	"internal/poll"
    	"internal/syscall/unix"
    	"os"
    	"syscall"
    )
    
    // Wrapper around the socket system call that marks the returned file
    // descriptor as nonblocking and close-on-exec.
    func sysSocket(family, sotype, proto int) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. internal/http/dial_linux.go

    			// with dead end because tcp-keepalive is not fired when there is data in the socket buffer.
    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    			if opts.UserTimeout > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top