Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for deleteMux (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/grid/muxserver.go

    	} else {
    		m.send(message{Op: OpDisconnectClientMux, MuxID: m.ID})
    	}
    	// Unlock, since we are calling deleteMux, which will call close - which will lock recvMu.
    	if locked {
    		m.recvMu.Unlock()
    		defer m.recvMu.Lock()
    	}
    	m.parent.deleteMux(true, m.ID)
    }
    
    func (m *muxServer) send(msg message) {
    	m.sendMu.Lock()
    	defer m.sendMu.Unlock()
    	msg.MuxID = m.ID
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. internal/grid/connection.go

    		if debugReqs {
    			fmt.Println(m.MuxID, c.String(), "handleMuxServerMsg: DELETING MUX")
    		}
    		c.outgoing.Delete(m.MuxID)
    	}
    }
    
    func (c *Connection) deleteMux(incoming bool, muxID uint64) {
    	if incoming {
    		if debugPrint {
    			fmt.Println("deleteMux: disconnect incoming mux", muxID)
    		}
    		v, loaded := c.inStream.LoadAndDelete(muxID)
    		if loaded && v != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
Back to Top