From a0b92490365dc88d50c81780ff9ebb6ddb681e5e Mon Sep 17 00:00:00 2001 From: David Timber Date: Wed, 21 Jul 2021 20:13:27 +1000 Subject: Impl proone-htbtclient upbin, bug fixes ... * Add prne_start_bin_rcb_compat() * PRNE_HTBT_OP_NY_BIN -> PRNE_HTBT_OP_UP_BIN. "nybin" is now the name of the file format * htbt * Fix broken hover redirection (HTBT_LMK_HOVER removed) * HTBT_MAIN_REQ_Q_SIZE * Impl PRNE_HTBT_OP_NOOP response * Fix PRNE_HTBT_OP_SOLICIT is always sent with id 1 * proone * Fix bugs caused by not scrubbing the shared global memory * Fix exec() fail when upbin request with args * Removed do_recombination() as it's not efficient. Now the authoritive end has to do the recombination * PRNE_HTBT_OP_RCB, PRNE_HTBT_STATUS_SUB reserved for future impl --- src/protocol.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/protocol.c') diff --git a/src/protocol.c b/src/protocol.c index cc1fc0d..143e906 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -120,11 +120,10 @@ const char *prne_htbt_op_tostr (const prne_htbt_op_t x) { case PRNE_HTBT_OP_HOVER: return "hover"; case PRNE_HTBT_OP_SOLICIT: return "solicit"; case PRNE_HTBT_OP_RUN_CMD: return "runcmd"; - case PRNE_HTBT_OP_NY_BIN: return "nybin"; + case PRNE_HTBT_OP_UP_BIN: return "upbin"; case PRNE_HTBT_OP_RUN_BIN: return "runbin"; case PRNE_HTBT_OP_STDIO: return "stdio"; - case PRNE_HTBT_OP_GET_BIN: return "getbin"; - case PRNE_HTBT_OP_BIN: return "bin"; + case PRNE_HTBT_OP_RCB: return "rcb"; } return NULL; } -- cgit