mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
f0635717b3e840a72a962a2014b18d84fac4c83a

client-server protocol more resilient and make the protocol versioning work properly. In future, the only things requiring a protocol version bump will be changes in the message structs, and (when both client and server have this change) mixing different versions should nicely report an error message. As a side effect this also makes the code tidier, fixes a problem with the way errors reported during server startup were handled, and supports fd passing (which will be used in future). Looked over by eric@, thanks. Please note that mixing a client with this change with an older server or vice versa may cause tmux to crash or hang - tmux should be completely exited before upgrading.
Description
No description provided
Languages
C
87.5%
Roff
7.1%
Shell
2.7%
Yacc
1.3%
M4
0.8%
Other
0.5%