netty5/handler/src
Norman Maurer 1c28cf3a14 Correctly calculate the produced bytes in all cases when calling Refe… (#10063)
Motivation:

We did not correctly account for produced bytes when SSL_write(...) returns -1 in all cases. This could lead to lost data and so a corrupt SSL connection.

Modifications:

- Always ensure we calculate the produced bytes correctly
- Add unit tests

Result:

Fixes https://github.com/netty/netty/issues/10041
2020-02-27 08:55:25 +01:00
..
main Correctly calculate the produced bytes in all cases when calling Refe… (#10063) 2020-02-27 08:55:25 +01:00
test Correctly calculate the produced bytes in all cases when calling Refe… (#10063) 2020-02-27 08:55:25 +01:00