upstream: unset SASL state on RPL_TRYAGAIN
SASL would get stuck otherwise.
This commit is contained in:
parent
5ef7e07061
commit
689dc8a632
@ -1701,6 +1701,11 @@ func (uc *upstreamConn) handleMessage(ctx context.Context, msg *irc.Message) err
|
||||
downstreamID = dc.id
|
||||
}
|
||||
|
||||
if command == "AUTHENTICATE" {
|
||||
uc.saslClient = nil
|
||||
uc.saslStarted = false
|
||||
}
|
||||
|
||||
uc.forEachDownstreamByID(downstreamID, func(dc *downstreamConn) {
|
||||
dc.SendMessage(&irc.Message{
|
||||
Prefix: uc.srv.prefix(),
|
||||
|
Loading…
Reference in New Issue
Block a user