From d0c222ac3d2fa652a90efc36c582789634485211 Mon Sep 17 00:00:00 2001 From: Gijs Molenaar Date: Fri, 20 Nov 2026 09:07:50 +0200 Subject: [PATCH] Say in the 3.4.0 changelog that #979 did not fix #972 The 3.4.0 entry called the COTP reference fix the likely reason a CP 343-1 kept connections allocated. A capture with that change, taken the day after the release, shows the CP still keeping them. Co-Authored-By: Claude Opus 5.5 --- CHANGES.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 4e9ffd6c..b7fa1eae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -70,9 +70,9 @@ Unreleased * `read_szl` and `list_blocks_of_type` now check the PDU reference of follow-up replies, in both clients. Previously a stale fragment was added to the result (#967). * `disconnect()` now addresses its COTP disconnect request to the PLC's connection reference, in both clients. - Previously it used the client's own reference. That is the likely reason a CP 343-1 kept each connection - allocated until it was restarted (#972, not yet confirmed on the CP). The passive `Partner` now echoes the active - partner's reference in its connection confirm (#979). + Previously it used the client's own reference. The passive `Partner` now echoes the active partner's reference in + its connection confirm (#979). This does not fix #972: a capture with this change shows a CP 343-1 still keeping + each connection allocated until it is restarted. * All `snap7.util` setters now raise `ValueError` when the value doesn't fit in the buffer. Most of them silently grew a short `bytearray`, which changed the length written to the PLC or shifted later fields, and `set_lreal`, `set_string`, `set_bool` and the other single-byte setters raised `struct.error` or `IndexError` (#975).