Commits
Andris Mednis authored 6dabc31c1f3
...G...PS. [ZBXNEXT-1263] fixed zbx_tcp_send_ext()
- theoretically OS can take data for sending in very small amounts (even by 1 byte).
zbx_tcp_send_ext() was changed to work correctly in this case.
- for unencrypted sending zbx_tcp_send_ext() passes the rest of data (beyond the first 16 kB) to OS in one chunk,
- for encrypted sending zbx_tcp_send_ext() passes data the rest of data to OS in chunks up to 16 kB (max TLS record length),
- variable 'i' renamed to more meaningful 'bytes_sent'.