client: more specific error code

This commit is contained in:
Thomas Schoebel-Theuer 2020-06-05 23:02:49 +02:00 committed by Thomas Schoebel-Theuer
parent 9989e1260a
commit 5f18b50734
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ static int sender_thread(void *data)
bool cork = false;
bool old_cork = false;
int ch_skip = max_client_bulk;
int status = -ESHUTDOWN;
int status = -ECONNABORTED;
if (atomic_inc_return(&sender_count) == 1)
mars_limit_reset(&client_limiter);