mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 00:20:47 +00:00
The datagram_channel::send() method that sends net::packet-s is deprecated in favor of using span<temporary_buffer> one. Auditing code still uses the former one -- it constructs a packet by using formatted string by copying the string into the packet's fragment, then sends it. This patch releases string into temporary_buffer and then passes one-element span to send(). Signed-off-by: Pavel Emelyanov <xemul@scylladb.com> Closes scylladb/scylladb#28198