From 801faf8523204ad41091a221a23915fe983a4d56 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Thu, 11 May 2017 18:29:48 -0500 Subject: [PATCH] Revert "On unknown IQ, reply with proper error" This reverts commit b5f8cc47d6eccf8214a653612527cbf76724385d. Apparently blather is running the handlers for *all* iq, not just the ones unhandled by others. --- sgx-catapult.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sgx-catapult.rb b/sgx-catapult.rb index 7844a88cca8751f44cffc3f1353755b1d8343d26..8beadd5c1e02dfa3727a371ed2999e73ecb20a8b 100755 --- a/sgx-catapult.rb +++ b/sgx-catapult.rb @@ -884,14 +884,6 @@ module SGXcatapult #write_to_stream s.approve! #write_to_stream s.request! end - - iq :get? do |i| - write_to_stream error_msg(i.reply, i.query, 'cancel', 'feature-not-implemented') - end - - iq :set? do |i| - write_to_stream error_msg(i.reply, i.query, 'cancel', 'feature-not-implemented') - end end [:INT, :TERM].each do |sig|