Changeset 761 in code for trunk/downstream.go


Ignore:
Timestamp:
Dec 10, 2021, 9:46:41 AM (3 years ago)
Author:
contact
Message:

Handle upstream multi-line SASL

References: https://todo.sr.ht/~emersion/soju/173

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r760 r761  
    984984                dc.sasl.pendingResp.WriteString(chunk)
    985985
    986                 if len(chunk) == 400 {
     986                if len(chunk) == maxSASLLength {
    987987                        return nil, nil // Multi-line response, wait for the next command
    988988                }
Note: See TracChangeset for help on using the changeset viewer.