php_pinba_req_data_send uses sendto in the same manner that write is used with slow devices. This is incorrect: each sendto call results in a separate datagram being sent, so if not all data fits into one datagram, several corrupted datagrams are sent instead.
If you insist on using datagrams for Pinba, you should probably check if the message size fits into one datagram and indicate an error if it doesn't.
php_pinba_req_data_send
usessendto
in the same manner thatwrite
is used with slow devices. This is incorrect: eachsendto
call results in a separate datagram being sent, so if not all data fits into one datagram, several corrupted datagrams are sent instead.If you insist on using datagrams for Pinba, you should probably check if the message size fits into one datagram and indicate an error if it doesn't.