On Fri, Nov 13, 2026 at 11:53:34AM +0100, William Dauchy wrote:
> Hi,
> While testing QMux, I found that a client which does not read the
> response until the socket buffer is full crashes haproxy, as
> qcc_qmux_send_frames() does not support partial writes.
> I gave a try at a fix: the first patch keeps the unsent part of the
> record in the Tx buffer and retries later, the second one keeps the
> connection open until this data is flushed so that the end of the
> response is not lost. I am well aware this may not be the right
> approach, so any feedback is welcome and I will adapt the patches as
> needed.

Thanks for your interest in QMux. Your approach seems sound but I think
the work should at least be splitted in more patches. At least, the
first patch reveals that a BUG_ON() may be triggered when
qcc_qmux_send_frames() returns a positive value. I'm currently working
on a standalone fix so that we can rebase your serie on it. I will
return to you when this first step is done.

Regards,

-- 
Amaury Denoyelle


Reply via email to