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

iproto: move msg fields initialization to iproto_msg_new()

msg->close_connection flag was only initialized in iproto_on_accept()
while other struct iproto_msg fields are being initialized in
iproto_msg_new(). It is potentially dangerous for new logic involving
msg->close_connection flag, so it is now moved to iproto_msg_new().

Part of #3776
parent 02970b40
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