Skip to content
Snippets Groups Projects
Commit 4357f736 authored by Ilya Kosarev's avatar Ilya Kosarev Committed by Vladislav Shpilevoy
Browse files

iproto: fix comment and add assert on destruction

The comment in tx_process_destroy() about obuf destruction was
wrong. Memory for them is actually allocated from tx-belonging
slab cache and tx_process_destroy() obviously happens in tx, so
the comment is fixed to reflect the reality.
It is also implied that connection is in
IPROTO_CONNECTION_DESTROYED state in tx_process_destroy(). Now it
is verified with assert().

Part of #3776
parent 45499daa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment