mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Without this fix, the backend would be stuck waiting on the zero-sized
body until the next request comes in.
Instead return the request immediately after reading the header, there's
no need to wait for another call to .has_more_input and .input
Reported-by: George Dunlap <dunlapg@umich.edu>
Link: https://lore.kernel.org/xen-devel/CAFLBxZaeTMcF4tcV45MJdCVx4A6qbzQdjKei_Quh_iLrtARVFA@mail.gmail.com/
Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
Reviewed-by: Guillaume Thouvenin <guillaume.thouvenin@vates.tech>
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
(cherry picked from commit 7b98d94e75)