Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] PR #3642 - Awaiting CI approval: Fix DISCONNECT reason code (MQTT 5.0 compliance)
  • From: Mustafa Abdullah Kus <mabdkus@xxxxxxxxxxx>
  • Date: Fri, 5 Jun 2026 19:29:17 +0000
  • Accept-language: tr-TR, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GdHaE3gDKG/ZQ6jowQaBwMzQJl7W/TAdxJIE3sW3U6c=; b=R/M2xRVSX40lKjt21aYJ2Kgxkeu4OYvM12852PYqGiElysckT5h0ZAp51Xh5A3nAIIu0jdJFh1VPfHsFcYBYlyFGKoct/CwrLpkMwRUTquBJPi4iaIduql8iklC2ma9f6Rd/3G9RMYVT29jj5eLtTFxIYyoWZPlsngRuoxElgj5VPyKKP7YhbRs/OzgA+T5UP/Dr/hodaY+xLMwPjnbLkKKIL4cRqupa3+mv0Q88y/Howghsuz/oWT4BmNPooTPaCdI5I/J6rAyS2mN9ijQF0u+pH9v8MV+oA2maaRPPT10lKLfnLZz50+/jCJdrxyYfcxFKuPj+M7uDPdqUoOTS1w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=InhMfAVN2wI8txoLwRoJ9uCblHhaTG1EaB6RHa6BDJM0aoKmUGFZz3B5dUpn13jcn/cv2CykPejZCEKNv+UQCMuvmKF0IJmesNor13qi5nMa87e3ihQzAC4cugjDWbbjg50RSaQGzlubmHpMEgdDUMT2Ise5Cd+l3BmQ84FPOwgVwvsk7992vR/GcmonXoiCMWpXTnINE41zE+yGsWSL0+dfIBFye/0c69D879FrbZQ6Z4XLaQhfwf7oCbSG+Lstkg8ex8ix9JkP5pm72RlFkcZ5I7CknLewJq0m+tMEafIO5eTjqXzg/1zDJA6PwBqx9EOKWMoZjxVyj3GVfT4N+w==
  • Delivered-to: mosquitto-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mosquitto-dev/>
  • List-help: <mailto:mosquitto-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHc9SGJCUvlc9Anp0SvxtxzKR/CPw==
  • Thread-topic: PR #3642 - Awaiting CI approval: Fix DISCONNECT reason code (MQTT 5.0 compliance)

Hi,

I opened PR #3642 about a month ago to fix a MQTT 5.0 spec compliance issue (#3613): Mosquitto currently returns reason code 0x82 (Protocol Error) instead of 0x81 (Malformed Packet) for invalid DISCONNECT fixed-header flags.

The change is a one-line fix in src/handle_disconnect.c. The CI workflow hasn't been approved yet, so I wanted to check if a maintainer could take a look.

PR: https://github.com/eclipse-mosquitto/mosquitto/pull/3642
Related issue: https://github.com/eclipse-mosquitto/mosquitto/issues/3613

Thanks for your time!
Mustafa Abdullah Kus

Back to the top