-
Proposal:
Hide
Section 3.14.1 add
"A Client or Server send a DISCONNECT indicating a malformed packet rc=0x81 in response to a malformed DISCONNECT packet.
Show
Section 3.14.1 add
"A Client or Server send a DISCONNECT indicating a malformed packet rc=0x81 in response to a malformed DISCONNECT packet.
-
Proposed textual addition to WD04 following review of MQTT-270 (Server Initiated Disconnect) which has been closed.
WD04 Section 3.14.1 describes the DISCONNECT command packet fixed header. Line 1798 says
"The Client or Server MUST validate that the reserved bits are set to zero and close the Network Connection if they are not zero."
As a precaution I propose we should add
"A Client or Server MUST NOT send a DISCONNECT in response to a malformed DISCONNECT."
Rationale: The DISCONNECT error table in table 3.13 includes values for MALFORMED CONTROL PACKET and PROTOCOL ERROR. Sending a DISCONNECT in response to a malformed DISCONNECT introduces the possibility of an endless cycle. (i.e. the two session partners disagree on the format of the disconnect and reject each others disconnects.)
{"report":{"apdex":1,"isInitial":true,"journeyId":"a7f3ea65-d936-4419-8bbe-b26b5281dfe7","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":827.1999998092651,"redirectCount":0,"resourceLoadedEnd":948.5,"resourceLoadedStart":315.19999980926514,"resourceTiming":[{"duration":82.30000019073486,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":315.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":397.5,"responseStart":0,"secureConnectionStart":0},{"duration":82.40000009536743,"initiatorType":"link","name":"https://issues.oasis-open.org/s/7d2823769c2e7b66e860863fe879b7f8-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":315.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":398,"responseStart":0,"secureConnectionStart":0},{"duration":83.60000038146973,"initiatorType":"link","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":315.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":399.5,"responseStart":0,"secureConnectionStart":0},{"duration":84.2999997138977,"initiatorType":"link","name":"https://issues.oasis-open.org/s/645acc233eb869f48a571293b8358a7d-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":316,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":400.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":85.2000002861023,"initiatorType":"link","name":"https://issues.oasis-open.org/s/a0dd6509771c1de0667aae5429c04cda-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":316.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":401.5,"responseStart":0,"secureConnectionStart":0},{"duration":147,"initiatorType":"script","name":"https://issues.oasis-open.org/s/e5479157e7a0c08b005e6522f2f04104-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":316.5,"connectEnd":316.5,"connectStart":316.5,"domainLookupEnd":316.5,"domainLookupStart":316.5,"fetchStart":316.5,"redirectEnd":0,"redirectStart":0,"requestStart":316.5,"responseEnd":463.5,"responseStart":463.5,"secureConnectionStart":316.5},{"duration":160,"initiatorType":"script","name":"https://issues.oasis-open.org/s/83514d5d4e8543747b02042eafcdc99c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":317.09999990463257,"connectEnd":317.09999990463257,"connectStart":317.09999990463257,"domainLookupEnd":317.09999990463257,"domainLookupStart":317.09999990463257,"fetchStart":317.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":317.09999990463257,"responseEnd":477.09999990463257,"responseStart":477.09999990463257,"secureConnectionStart":317.09999990463257},{"duration":162.2000002861023,"initiatorType":"script","name":"https://issues.oasis-open.org/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":317.2999997138977,"connectEnd":317.2999997138977,"connectStart":317.2999997138977,"domainLookupEnd":317.2999997138977,"domainLookupStart":317.2999997138977,"fetchStart":317.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":317.2999997138977,"responseEnd":479.5,"responseStart":479.5,"secureConnectionStart":317.2999997138977},{"duration":162.60000038146973,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":317.3999996185303,"connectEnd":317.3999996185303,"connectStart":317.3999996185303,"domainLookupEnd":317.3999996185303,"domainLookupStart":317.3999996185303,"fetchStart":317.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":317.3999996185303,"responseEnd":480,"responseStart":480,"secureConnectionStart":317.3999996185303},{"duration":162.69999980926514,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":317.69999980926514,"connectEnd":317.69999980926514,"connectStart":317.69999980926514,"domainLookupEnd":317.69999980926514,"domainLookupStart":317.69999980926514,"fetchStart":317.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":317.69999980926514,"responseEnd":480.3999996185303,"responseStart":480.3999996185303,"secureConnectionStart":317.69999980926514},{"duration":163,"initiatorType":"script","name":"https://issues.oasis-open.org/s/cda37faab827dbdf305de8efe8282062-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":317.7999997138977,"connectEnd":317.7999997138977,"connectStart":317.7999997138977,"domainLookupEnd":317.7999997138977,"domainLookupStart":317.7999997138977,"fetchStart":317.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":317.7999997138977,"responseEnd":480.7999997138977,"responseStart":480.7999997138977,"secureConnectionStart":317.7999997138977},{"duration":163.09999990463257,"initiatorType":"link","name":"https://issues.oasis-open.org/s/07245784f53abc49bad9d9d4d36c577a-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/cadc4f20cc5c138dee060d42cf85f220/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":318.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":318.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":481.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":163.30000019073486,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":318.19999980926514,"connectEnd":318.19999980926514,"connectStart":318.19999980926514,"domainLookupEnd":318.19999980926514,"domainLookupStart":318.19999980926514,"fetchStart":318.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":318.19999980926514,"responseEnd":481.5,"responseStart":481.5,"secureConnectionStart":318.19999980926514},{"duration":222.40000009536743,"initiatorType":"link","name":"https://issues.oasis-open.org/s/f77fd89aa211a76b20e9b0e63564383c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":390.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":390.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":612.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":197.2999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/41525c48ddceeb9b11e54085268fc285-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":390.59999990463257,"connectEnd":390.59999990463257,"connectStart":390.59999990463257,"domainLookupEnd":390.59999990463257,"domainLookupStart":390.59999990463257,"fetchStart":390.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":390.59999990463257,"responseEnd":587.8999996185303,"responseStart":587.8999996185303,"secureConnectionStart":390.59999990463257},{"duration":404,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":408,"connectEnd":408,"connectStart":408,"domainLookupEnd":408,"domainLookupStart":408,"fetchStart":408,"redirectEnd":0,"redirectStart":0,"requestStart":408,"responseEnd":812,"responseStart":812,"secureConnectionStart":408},{"duration":390.1000003814697,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":427.3999996185303,"connectEnd":427.3999996185303,"connectStart":427.3999996185303,"domainLookupEnd":427.3999996185303,"domainLookupStart":427.3999996185303,"fetchStart":427.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":427.3999996185303,"responseEnd":817.5,"responseStart":817.5,"secureConnectionStart":427.3999996185303},{"duration":150.89999961853027,"initiatorType":"xmlhttprequest","name":"https://issues.oasis-open.org/rest/webResources/1.0/resources","startTime":666,"connectEnd":666,"connectStart":666,"domainLookupEnd":666,"domainLookupStart":666,"fetchStart":666,"redirectEnd":0,"redirectStart":0,"requestStart":666,"responseEnd":816.8999996185303,"responseStart":816.8999996185303,"secureConnectionStart":666}],"threshold":1000,"fetchStart":0,"domainLookupStart":208,"domainLookupEnd":208,"connectStart":208,"connectEnd":257,"secureConnectionStart":232,"requestStart":257,"responseStart":306,"responseEnd":427,"domLoading":310,"domInteractive":961,"domContentLoadedEventStart":961,"domContentLoadedEventEnd":1005,"domComplete":1045,"loadEventStart":1045,"loadEventEnd":1048,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"4594e1a076b054","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":144,"dbReadsTimeInMs":14,"dbConnsTimeInMs":16,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}
I do not understand the requirement for this. After sending a DISCONNECT the sender is required to close the connection. We certainly could in any case have DISCONNECT packets are flowing in both directions, but this does not cause any problems.
I suggest we reject this JIRA