commit | 7f494d0c5e489e2a5a3c63a313b9ace5f00801e3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 16 14:26:11 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 18 21:41:48 2018 +0100 |
tree | 6b8e9a06e805c745eb5eb2f281a3d7ccdbd655e7 | |
parent | dd5621ab809474675bef7bf435b931e583238fad [diff] |
MINOR: stream-int: make si_sync_recv() simply check ENDP before si_cs_recv() Instead of checking complex conditions to call si_cs_recv() upon first call, let's simply use si_rx_endp_ready() now that si_cs_recv() reports it accurately, and add si_rx_blocked() to cover any blocking situation.