Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for disconnecting (0.16 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbSession.java

                tree.send( req, resp );
            }
        }
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int uid;
        Vector trees;
        // Transport parameters allows trans to be removed from CONNECTIONS
        private UniAddress address;
        private int port, localPort;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
    
                SmbTransportInternal et = this.exclusiveTransport;
                if ( et != null ) {
                    synchronized ( this ) {
                        try {
                            log.debug("Disconnecting exclusive transport");
                            this.exclusiveTransport = null;
                            this.tree = null;
                            this.treeAcquired = false;
                            et.close();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

        private static AtomicLong TREE_CONN_COUNTER = new AtomicLong();
    
        /*
         * 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        private final AtomicInteger connectionState = new AtomicInteger();
    
        private final String share;
        private final String service0;
        private final SmbSessionImpl session;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

    
    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    public abstract class Transport implements Runnable, AutoCloseable {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  5. internal/grid/manager.go

    		}
    		m.IncomingConn(ctx, conn)
    	}
    }
    
    // IncomingConn will handle an incoming connection.
    // This should be called with the incoming connection after accept.
    // Auth is handled internally, as well as disconnecting any connections from the same host.
    func (m *Manager) IncomingConn(ctx context.Context, conn net.Conn) {
    	remoteAddr := conn.RemoteAddr().String()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. internal/grid/muxclient.go

    	// Only check ping when not closed.
    	if got := time.Since(time.Unix(0, atomic.LoadInt64(&m.LastPong))); got > m.clientPingInterval*2 {
    		m.respMu.Unlock()
    		if debugPrint {
    			fmt.Printf("Mux %d: last pong %v ago, disconnecting\n", m.MuxID, got)
    		}
    		m.addErrorNonBlockingClose(respHandler, ErrDisconnected)
    		return false
    	}
    
    	// Send new ping
    	err := m.sendLocked(message{Op: OpPing, MuxID: m.MuxID})
    	m.respMu.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
        }
    
        private void disconnectWagon(Wagon wagon) {
            try {
                wagon.disconnect();
            } catch (ConnectionException e) {
                logger.error("Problem disconnecting from wagon - ignoring: " + e.getMessage());
            }
        }
    
        private void releaseWagon(String protocol, Wagon wagon) {
            try {
                container.release(wagon);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          sink.writeUtf8(": ")
          sink.writeUtf8(value)
          sink.writeUtf8("\r\n")
        }
        sink.writeUtf8("\r\n")
        sink.flush()
      }
    
      /** Returns a sink that applies throttling and disconnecting. */
      private fun Sink.withThrottlingAndSocketPolicy(
        policy: MockResponse,
        disconnectHalfway: Boolean,
        expectedByteCount: Long,
        socket: Socket,
      ): Sink {
        var result: Sink = this
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_2x.md

     *  Fix: Update Jetty ALPN to `7.1.2.v20141202` (Java 7) and `8.1.2.v20141202` (Java 8).
        This fixes a bug in resumed TLS sessions where the wrong protocol could be
        selected.
     *  Fix: Don't crash in SPDY and HTTP/2 when disconnecting before connecting.
     *  Fix: Avoid a reverse DNS-lookup for a numeric proxy address
     *  Fix: Resurrect http/2 frame logging.
     *  Fix: Limit to 20 authorization attempts.
    
    ## Version 2.1.0
    
    _2014-11-11_
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    			if lastPong > 0 {
    				lastPongTime := time.Unix(0, lastPong)
    				if d := time.Since(lastPongTime); d > connPingInterval*2 {
    					gridLogIf(ctx, fmt.Errorf("host %s last pong too old (%v); disconnecting", c.Remote, d.Round(time.Millisecond)))
    					return
    				}
    			}
    			ping := pingMsg{
    				T: time.Now(),
    			}
    			var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top