Changeset 318 in code for trunk/upstream.go


Ignore:
Timestamp:
Jun 5, 2020, 9:35:43 AM (5 years ago)
Author:
fox.cpp
Message:

Fix handling of empty response to SASL challenge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r315 r318  
    508508                // TODO: send response in multiple chunks if >= 400 bytes
    509509                var respStr = "+"
    510                 if resp != nil {
     510                if len(resp) != 0 {
    511511                        respStr = base64.StdEncoding.EncodeToString(resp)
    512512                }
Note: See TracChangeset for help on using the changeset viewer.