commit | 18e066c2e7e6275d27383356c108cda0d17ad920 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 25 10:28:27 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 28 13:47:00 2018 +0100 |
tree | 96245972d8b2fe835377fb37a974923a41de93b1 | |
parent | 581abd3f9923387882be97652843cb309396e123 [diff] |
MEDIUM: stream: always call si_cs_recv() after a failed buffer allocation If a buffer allocation failed, we have SI_FL_WAIT_ROOM set and c_size(buf) being zero. It's the only moment where we have a new opportunity to try to allocate this buffer. However we don't want to waste our time trying this if both are non-null since it indicates missing room without any changed condition.