commit | 8c126c7235ced98986a57175a62503d5166ffe19 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Fri May 25 16:27:44 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat May 26 08:51:05 2018 +0200 |
tree | c3534ec20cb20d60e1da452064d1ec6efd9933d4 | |
parent | 9215ffa6b294374e99e5ab027bea9b34642d7277 [diff] |
BUG/MEDIUM: lua/socket: Length required read doesn't work The limit of data read works only if all the data is in the input buffer. Otherwise (if the data arrive in chunks), the total amount of data is not taken in acount. Only the current read data are compared to the expected amout of data. This patch must be backported from 1.9 to 1.6