mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Always remove subroute when queuing message on the connection. (#18550)
This commit is contained in:
@@ -186,6 +186,16 @@ func (f Flags) String() string {
|
||||
return "[" + strings.Join(res, ",") + "]"
|
||||
}
|
||||
|
||||
// Set one or more flags on f.
|
||||
func (f *Flags) Set(flags Flags) {
|
||||
*f |= flags
|
||||
}
|
||||
|
||||
// Clear one or more flags on f.
|
||||
func (f *Flags) Clear(flags Flags) {
|
||||
*f &^= flags
|
||||
}
|
||||
|
||||
// parse an incoming message.
|
||||
func (m *message) parse(b []byte) (*subHandlerID, []byte, error) {
|
||||
var sub *subHandlerID
|
||||
|
||||
Reference in New Issue
Block a user