zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.71k stars 2.35k forks source link

Send payload more than 2GB #4418

Open leo-987 opened 2 years ago

leo-987 commented 2 years ago

Please use this template for reporting suspected bugs or requests for help.

Issue description

Send a large payload more than 2GB, zmq::tcp_write will abort, because the type of return value is int.

Environment

What's the actual result? (include assertion message & call stack if applicable)

send return BAD ADDRESS

What's the expected result?

send return 0