zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
439 stars 195 forks source link

zmqpp has a maximum read buffer capacity of 512 bytes #22

Closed jond3k closed 10 years ago

jond3k commented 10 years ago

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