]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4635] Added ownership vs validity
authorFrancis Dupont <fdupont@isc.org>
Fri, 7 Aug 2026 12:18:08 +0000 (14:18 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 11 Aug 2026 13:45:20 +0000 (15:45 +0200)
src/lib/asiolink/udp_socket.h

index 6600c146a91a1510b440473b42666954d845442c..02dbdc6a6edf50eda8ba2773315145c7f86d4616 100644 (file)
@@ -94,6 +94,9 @@ public:
     /// data asynchronously to the remote endpoint.  The callback will be called
     /// on completion.
     ///
+    /// @note: this uses a boost asio buffer which does not own the data
+    /// so it is the responsibility of the caller to keep the data valid.
+    ///
     /// \param data Data to send
     /// \param length Length of data to send
     /// \param endpoint Target of the send