pycapnp/capnp
Lasse Blaauwbroek a30fd77a1c Fix retransmit bug for large messages causing message corruption
Logic bug: We are looping over segments sent by the C++ library and sending them
over a python transport. If the last message is larger than the transport pause
threshold, this causes the transport to pause us. In that case, we forget to
increment the current write_index, causing us to retransmit the same message in
an infinite loop.

This is a serious bug, because it causes messages to become corrupted.
2023-10-16 11:06:49 -07:00
..
helpers Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
includes Prepare for v2.0.0b1 release 2023-10-03 12:29:48 -07:00
lib Fix retransmit bug for large messages causing message corruption 2023-10-16 11:06:49 -07:00
templates bool → cbool (probably just a typo) 2021-04-25 21:51:12 +02:00
__init__.pxd Refactor layout of pxd files 2013-12-08 17:27:59 -08:00
__init__.py Get rid of VoidPromise and (almost) Promise 2023-06-08 08:02:07 +02:00
_gen.py Applying black formatting 2021-10-01 11:12:21 -07:00