Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amqp: drop message if it is larger than the max frame size #3869

Merged
merged 4 commits into from Jan 6, 2022

Commits on Jan 5, 2022

  1. amqp: fix error reporting

    Since v0.4.0 users of the librabbitmq-c library do not have to
    negate the result codes when using the error_string() functions.
    
    All major distros have fresher than v0.4.0 librabbitmq-c libraries
    (actually I could not find even one, which does not), so we can just
    simply change the negation.
    
    Signed-off-by: Attila Szakacs <attila.szakacs@oneidentity.com>
    alltilla committed Jan 5, 2022
    Copy the full SHA
    e44f4b5 View commit details
    Browse the repository at this point in the history
  2. amqp: return with LogThreadedResult in afamqp_worker_publish()

    We are planning to map different AMQP result codes to different
    LogThreadedResult codes. We cannot do that if afamqp_worker_publish()
    can only return TRUE or FALSE.
    
    Signed-off-by: Attila Szakacs <attila.szakacs@oneidentity.com>
    alltilla committed Jan 5, 2022
    Copy the full SHA
    b2fc060 View commit details
    Browse the repository at this point in the history
  3. amqp: drop message if it is larger than the max frame size

    We will never be able to send the message, so we should drop it.
    
    Signed-off-by: Attila Szakacs <attila.szakacs@oneidentity.com>
    alltilla committed Jan 5, 2022
    Copy the full SHA
    7978850 View commit details
    Browse the repository at this point in the history
  4. news: add entries for syslog-ng#3869

    Signed-off-by: Attila Szakacs <attila.szakacs@oneidentity.com>
    alltilla committed Jan 5, 2022
    Copy the full SHA
    f6dbcd8 View commit details
    Browse the repository at this point in the history