summaryrefslogtreecommitdiffstats
path: root/cmd-suspend-client.c
diff options
context:
space:
mode:
authortcunha <tcunha>2009-07-28 22:12:16 +0000
committertcunha <tcunha>2009-07-28 22:12:16 +0000
commitad1947baaf8f2449eeda751dc7e9e88b6c44db41 (patch)
tree7ee5a6194f659307baa7cdbe56e0605c9fe86bbd /cmd-suspend-client.c
parent012e86d5e4fdeae7a2c0dc911059a170902a6e96 (diff)
downloadtmux-old-ad1947baaf8f2449eeda751dc7e9e88b6c44db41.tar.gz
tmux-old-ad1947baaf8f2449eeda751dc7e9e88b6c44db41.tar.bz2
tmux-old-ad1947baaf8f2449eeda751dc7e9e88b6c44db41.zip
Sync OpenBSD patchset 181:
Make all messages sent between the client and server fixed size. This is the first of two changes to make the protocol more resilient and less sensitive to other changes in the code, particularly with commands. The client now packs argv into a buffer and sends it to the server for parsing, rather than doing it itself and sending the parsed command data. As a side-effect this also removes a lot of now-unused command marshalling code. Mixing a server without this change and a client with or vice versa will cause tmux to hang or crash, please ensure that tmux is entirely killed before upgrading.
Diffstat (limited to 'cmd-suspend-client.c')
-rw-r--r--cmd-suspend-client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-suspend-client.c b/cmd-suspend-client.c
index f0146b72..0e0c1860 100644
--- a/cmd-suspend-client.c
+++ b/cmd-suspend-client.c
@@ -41,8 +41,6 @@ const struct cmd_entry cmd_suspend_client_entry = {
cmd_target_init,
cmd_target_parse,
cmd_suspend_client_exec,
- cmd_target_send,
- cmd_target_recv,
cmd_target_free,
cmd_target_print
};