]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Feature] Add multipart and msgpack formatters to metadata_exporter 5787/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 9 Dec 2025 13:36:54 +0000 (13:36 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 9 Dec 2025 20:08:44 +0000 (20:08 +0000)
commit7cd7a07dcef310bca8c4a18324d0add8b494df3b
tree18297664e450b26e9148e20959cbe3d7210f555e
parent53e6957a80609f87ebb847872289adfeb3ef3ea6
[Feature] Add multipart and msgpack formatters to metadata_exporter

- Add multipart formatter for HTTP export using form-data with separate
  metadata (JSON) and message (rfc822) parts
- Add msgpack formatter for efficient binary serialization
- Add json_with_message formatter for JSON with base64-encoded message
- Deprecate meta_headers option (broken by design for complex data)
- HTTP pusher now auto-detects multipart boundary from formatter
src/plugins/lua/metadata_exporter.lua