Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for disconnect (0.07 sec)

  1. internal/grid/connection.go

    			return
    		}
    		if debugPrint {
    			fmt.Println(c.Local, "Disconnected. Attempting to reconnect.")
    		}
    	}
    }
    
    func (c *Connection) disconnected() {
    	c.outgoing.Range(func(key uint64, client *muxClient) bool {
    		if !client.stateless {
    			client.cancelFn(ErrDisconnected)
    		}
    		return true
    	})
    	if debugReqs {
    		fmt.Println(c.String(), "Disconnected. Clearing outgoing.")
    	}
    	c.outgoing.Clear()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                this.connections.clear();
                this.nonPooledConnections.clear();
            }
            for ( SmbTransportImpl conn : toClose ) {
                try {
                    inUse |= conn.disconnect(false, false);
                }
                catch ( IOException e ) {
                    log.warn("Failed to close connection", e);
                }
            }
            synchronized ( this.connections ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  3. internal/event/target/mqtt.go

    	}
    
    	return target.send(eventData)
    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *MQTTTarget) Close() error {
    	if target.client != nil {
    		target.client.Disconnect(100)
    	}
    	close(target.quitCh)
    	return nil
    }
    
    func (target *MQTTTarget) init() error {
    	return target.initOnce.Do(target.initMQTT)
    }
    
    func (target *MQTTTarget) initMQTT() error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

            } catch( SmbException se ) {
                if (se.getNtStatus() == se.NT_STATUS_NETWORK_NAME_DELETED) {
                    /* Someone removed the share while we were
                     * connected. Bastards! Disconnect this tree
                     * so that it reconnects cleanly should the share
                     * reappear in this client's lifetime.
                     */
                    treeDisconnect( true );
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public String getResponseMessage () throws IOException {
            handshake();
            return this.connection.getResponseMessage();
        }
    
    
        @Override
        public void disconnect () {
            this.connection.disconnect();
            this.handshakeComplete = false;
            this.connected = false;
        }
    
    
        @Override
        public boolean usingProxy () {
            return this.connection.usingProxy();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/SessionTest.java

                    try ( SmbTransportInternal transport = session.getTransport().unwrap(SmbTransportInternal.class) ) {
                        assertNotNull(transport);
                        transport.disconnect(true, true);
                        assertNotNull(f);
                        checkConnection(f);
                        f.exists();
                    }
                }
            }
            catch ( Exception e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlRequest.java

                    exceptionListener.accept(new CurlException("Failed to access to " + url, e));
                } finally {
                    if (connection != null) {
                        connection.disconnect();
                    }
                }
            };
            if (threadPool != null) {
                threadPool.execute(task);
            } else {
                task.run();
            }
        }
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/custom-docs-ui-assets.md

    Now, to be able to test that everything works, create a *path operation*:
    
    {* ../../docs_src/custom_docs_ui/tutorial002.py hl[39:41] *}
    
    ### Test Static Files UI
    
    Now, you should be able to disconnect your WiFi, go to your docs at <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>, and reload the page.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. cmd/metrics.go

    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    // NoAuthMiddleware no auth middle ware.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. cmd/metacache-server-pool.go

    		o.Create = false
    		o.ID = ""
    		o.Transient = true
    		return entries, errDiskFull
    	}
    	o.set = z.serverPools[o.pool].getHashedSetIndex(o.ID)
    	saver := z.serverPools[o.pool].sets[o.set]
    
    	// Disconnect from call above, but cancel on exit.
    	listCtx, cancel := context.WithCancel(GlobalContext)
    	saveCh := make(chan metaCacheEntry, metacacheBlockSize)
    	inCh := make(chan metaCacheEntry, metacacheBlockSize)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top