Re: [dm-devel] [PATCH 24/35] multipathd: uxlsnr: use main poll loop for receiving

2021-09-15 Thread Benjamin Marzinski
On Fri, Sep 10, 2021 at 01:41:09PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > As a first step towards our state machine, avoid the call to > read_all() via recv_packet_from_client(). handle_client() is now > invoked twice for the same connection. The first time it reads > the command

[dm-devel] [PATCH 24/35] multipathd: uxlsnr: use main poll loop for receiving

2021-09-10 Thread mwilck
From: Martin Wilck As a first step towards our state machine, avoid the call to read_all() via recv_packet_from_client(). handle_client() is now invoked twice for the same connection. The first time it reads the command length, and later on it reads the command itself piece-wise, as sent by the c