mbr / tinyrpc

A compact, modular transport and protocol agnostic RPC library. Does jsonrpc v2.
https://tinyrpc.readthedocs.org
MIT License
156 stars 53 forks source link

fix: fix undesired sharing of ID generators between protocol instances #97

Closed ntamas closed 2 years ago

ntamas commented 2 years ago

This commit prevents ID generators from being shared between different RPC protocol instances if an ID generator was not specified explicitly when constructing them, restoring the ID generation behaviour seen before 1.1.1 when protocols had independent counters.

lnoor commented 2 years ago

Thank you for the work. I am sorry it took me so long. I will make a new release shortly with your changes.