server: enable callback compression

This commit is contained in:
Thomas Schoebel-Theuer 2020-03-30 22:31:33 +02:00
parent 8a1b745d4f
commit ffcc691efd
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ int cb_thread(void *data)
&& mref->object_cb)
mref->object_cb->cb_error = *brick->conn_brick->mode_ptr;
if (!aborted) {
mref->ref_flags |= enabled_net_compressions;
down(&brick->socket_sem);
status = mars_send_cb(sock, mref, cork);
up(&brick->socket_sem);