Delivery annotations are not propagated by router
This is not an issue if forwarded messages have no delivery annotations.
With delivery annotations then random bytes are placed in output
message.
@@ -1189,6 +1189,17 @@ void qd_message_send(qd_message_t *in_msg,
send_handler, (void*) pnl);
}
+ //
+ // Send delivery annotation if present
+ //
+ if (content->section_delivery_annotation.length > 0) {
+ buf = content->section_delivery_annotation.buffer;
+ cursor = content->section_delivery_annotation.offset + qd_buffer_base(buf);
+ advance(&cursor, &buf,
+ content->section_delivery_annotation.length + content->section_delivery_annotation.hdr_length,
+ send_handler, (void*) pnl);
+ }
+
//
// Send new message annotations
//
