Commit 0955e9d
fix: apply upstream bug fixes and resource leak patches from apache/plc4x
- fix(s7): S7HMuxImpl direct buffer leak per-message (PR apache#2542)
- fix(s7): alarm-query directBuffer not released in S7ProtocolLogic and S7NonHProtocolLogic (PR apache#2543)
- fix(s7,spi): decodeLargeReadResponse heap buffer not released in S7ProtocolLogic and S7NonHProtocolLogic
- feat(spi): SharedExecutor — JVM-scoped thread pools replace per-connection ThreadPoolExecutors to prevent thread accumulation on reconnect (PR apache#2281)
- fix(spi): RequestTransactionManager.shutdown() cancels in-flight requests without shutting down shared executor
- feat(spi): channelInactive lifecycle hook on Plc4xProtocolBase and Plc4xNettyWrapper; all drivers release resources on TCP disconnect (PR apache#2241)
- fix(eip): NPE in decodeSingleReadResponse when PLC returns error status and getData() is null (PR apache#2471)
- fix(umas): align pom version to 0.14.0.B-SNAPSHOT and fix RequestTransactionManager constructor call
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b39f3d7 commit 0955e9d
30 files changed
Lines changed: 463 additions & 245 deletions
File tree
- plc4j
- drivers
- ab-eth/src/main/java/org/apache/plc4x/java/abeth/protocol
- ads/src/main/java/org/apache/plc4x/java/ads/protocol
- bacnet/src/main/java/org/apache/plc4x/java/bacnetip/protocol
- c-bus/src/main/java/org/apache/plc4x/java/cbus/protocol
- canopen/src/main/java/org/apache/plc4x/java/canopen/protocol
- can/src/main/java/org/apache/plc4x/java/can
- adapter
- generic/protocol
- eip/src/main/java/org/apache/plc4x/java/eip/base/protocol
- firmata/src/main/java/org/apache/plc4x/java/firmata/readwrite/protocol
- iec-60870/src/main/java/org/apache/plc4x/java/iec608705104/readwrite/protocol
- knxnetip/src/main/java/org/apache/plc4x/java/knxnetip/protocol
- modbus/src/main/java/org/apache/plc4x/java/modbus
- base/protocol
- tcp/protocol
- opcua/src/main/java/org/apache/plc4x/java/opcua/protocol
- open-protocol/src/main/java/org/apache/plc4x/java/openprotocol/protocol
- plc4x/src/main/java/org/apache/plc4x/java/plc4x/protocol
- profinet-ng/src/main/java/org/apache/plc4x/java/profinet/protocol
- profinet/src/main/java/org/apache/plc4x/java/profinet/protocol
- s7/src/main/java/org/apache/plc4x/java
- s7light/readwrite/protocol
- s7/readwrite/protocol
- umas
- src/main/java/org/apache/plc4x/java/umas/readwrite/protocol
- spi/src
- main/java/org/apache/plc4x/java/spi
- transaction
- test/java/org/apache/plc4x/java/spi/connection
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
217 | 222 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1985 | 1985 | | |
1986 | 1986 | | |
1987 | 1987 | | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
1988 | 1993 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
291 | 296 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
238 | 243 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
483 | 488 | | |
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
815 | | - | |
816 | 814 | | |
| 815 | + | |
| 816 | + | |
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
| |||
1355 | 1355 | | |
1356 | 1356 | | |
1357 | 1357 | | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
1358 | 1363 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
323 | 328 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
238 | 243 | | |
0 commit comments