On 16/03/2026 5.13 am, James Cumming (Nokia) wrote:
Has anyone encountered the situation where the server believes it can fulfil the action and starts doing so (perhaps a long running output or an output that returns in chunks) and subsequently encounters an error.  In this situation the rpc-reply would have started and so an rpc-error wouldn’t be returned.

Yup... so the rpc-reply starts, and somewhere during the process of doing that we encounter a problem and realize we cannot continue. So we do not and just terminate the session.

Perhaps heavy-handed in that it costs us a session, but completely with the spec, at least AFAICT.

I would not say this is something specific to NETCONF: the same thing happens when serving an HTTP response with chunked transfer encoding.

Regards,
Robert

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
netmod mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to