Skip to content
Snippets Groups Projects
Commit 2b3ca42c authored by Serge Petrenko's avatar Serge Petrenko Committed by Kirill Yukhin
Browse files

iproto: make iproto_write_error() blocking in debug

iproto_write_error() used to be blocking until the commit
4dac37a6 (iproto: remove
iproto_write_error_blocking())
Actually, it should block until the error is written to socket, because
some tests (vinyl/errinj.test.lua, for example) rely on that.

Do not make iproto_write_error() blocking in release builds for safety
reasons, as stated in commit above. But make it blocking in debug for
testing sake.

Part-of #6034
parent 528f5438
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