Commits
Glebs Ivanovskis authored e4d0ba88a17
...G...PS. [ZBX-8914] replaced zbx_tcp_recv_ext() function with a new one: - inputs like <HEADER><DATALEN><DATA>, plain text and XML protocol are still supported; - new function reads in bigger blocks and uses less system calls; - new function is tolerant to fragmented <HEADER><DATALEN> and XML header when called without ZBX_TCP_READ_UNTIL_CLOSE flag; - new function fails and logs a warning if <DATALEN> does not equal <DATA> length or plain text size limit is exceeded.