Andy Bierman wrote:
On the other hand if the agent may store requests that arrived before the replayComplete was sent you end up with a lot of other questions:- how long must an agent store rpc requests? 1 year? - how many requests must it store?This is an artifact of TCP. The bytes will be there as long as the connection (and/or session) has not been dropped. Andy
Sadly you can not use TCP buffer to store much data because:- The maximum receive buffer for a socket on a linux system is usually (2*)87 kB. You may push that somewhat higher but a netconf manager can send you MBytes of requests. The agent's receive buffer will fill up, so it will not send ACK messages to the Manager. Then the manager's send buffer will also fill up which might block the manager program.
So in notification mode the agent better read the socket and do something with any arrived data, either discard it or store it in application space.
Balazs -- to unsubscribe send a message to netconf-request@ops.ietf.org with the word 'unsubscribe' in a single line as the message text body. archive: <http://ops.ietf.org/lists/netconf/>