If input lines longer than 512 bytes are sent to stdin they will be cut off and treated as multiple lines. This is particularly problematic when sending large serialised objects.
Recommendations: Fail when the buffer is too small to read the next line and/or making the buffer automatically resize.
If input lines longer than 512 bytes are sent to stdin they will be cut off and treated as multiple lines. This is particularly problematic when sending large serialised objects.
Recommendations: Fail when the buffer is too small to read the next line and/or making the buffer automatically resize.
https://github.com/benjamg/zmqpp/blob/develop/src/client/main.cpp#L283