Changeset 414 in code


Ignore:
Timestamp:
Aug 28, 2020, 11:35:55 AM (5 years ago)
Author:
contact
Message:

Don't update history when msgID is empty in appendLog

Log files don't record all message types. If the message isn't inserted
in the log file, don't update the history cursors for downstream
connections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r409 r414  
    16581658        }
    16591659
    1660         if !detached {
     1660        if !detached && msgID != "" {
    16611661                uc.forEachDownstream(func(dc *downstreamConn) {
    16621662                        history.clients[dc.clientName] = msgID
Note: See TracChangeset for help on using the changeset viewer.