diff options
author | Klim Kireev <klim.kireev@virtuozzo.com> | 2018-02-01 16:48:31 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-07 14:09:25 +0100 |
commit | 8f6d701044bc87197aac8aa2a627d70ce8471726 (patch) | |
tree | b1e8452180db19a276af469a5dc9a37fe2428069 /hw/intc/arm_gic_kvm.c | |
parent | 7e49f5e8e508ed020c96798b3f7083e24e0e425b (diff) |
tests/test-filter-redirector: move close()
Since we have separate handler on POLLHUP, which drops data
after closing the connection we need to fix this test, because
it sends data and instantly close the socket creating race condition.
In some cases on other end of socket client closes it faster than
reads data. To prevent it I suggest to close socket after recieving.
Signed-off-by: Klim Kireev <klim.kireev@virtuozzo.com>
Message-Id: <20180201134831.17709-1-klim.kireev@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/intc/arm_gic_kvm.c')
0 files changed, 0 insertions, 0 deletions