Package: riemann-c-client / 1.10.4-2+deb11u1
Metadata
Package | Version | Patches format |
---|---|---|
riemann-c-client | 1.10.4-2+deb11u1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
fix gnutls send recv when return eagain | (download) |
lib/riemann/client/tls-gnutls.c |
12 9 + 3 - 0 ! |
fix gnutls send/recv when returning gnutls_e_again Some values returned from gnutls_record_send() / gnutls_record_recv() indicate that the operation could not be done. In such cases, the error should not propagate to the caller but be operation should be retried. . Upstream fixed this issue in 9e382db87bd1703423760bbe104a66e7cdfcf5a6 with a lot more changes, so this patch only fix the wrong behavior. |
fix gnutls send recv when return less than expected | (download) |
lib/riemann/client/tls-gnutls.c |
56 37 + 19 - 0 ! |
fix gnutls send/recv when returning a lower value than expected gnutls_record_send() / gnutls_record_recv() may be interrupted after some data transmission but before the message was completely read/written. When this happen, the value returned by the function is positive but lower that the size of the read/write. In this case, we should not return an error, but rather loop to recv/send the missing data. |
1