• M
    ServerClient: Flush cached data · b7b5e0c8
    Michal Privoznik 提交于
    If daemon is using SASL it reads client data into a cache. This cache is
    big (usually 65KB) and can thus contain 2 or more messages. However,
    on socket event we can dispatch only one message. So if we read two
    messages at once, the second will not be dispatched as the socket event
    goes away with filling the cache.
    Moreover, when dispatching the cache we need to remember to take care
    of client max requests limit.
    b7b5e0c8
virnetserverclient.c 28.9 KB