Skip to content

Commit 5641db1

Browse files
authored
Fix cleanup of files when SSL exception occurs connecting to partner. (#521)
1 parent 14d57d8 commit 5641db1

5 files changed

Lines changed: 16 additions & 9 deletions

File tree

RELEASE-NOTES.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
# OpenAS2 Server
2-
# Version 4.8.1
2+
# Version 4.8.2
33
# RELEASE NOTES
44
-----
5-
The OpenAS2 project is pleased to announce the release of OpenAS2 4.8.1
5+
The OpenAS2 project is pleased to announce the release of OpenAS2 4.8.2
66

7-
The release download file is: OpenAS2Server-4.8.1.zip
7+
The release download file is: OpenAS2Server-4.8.2.zip
88

99
The zip file contains a PDF document (OpenAS2HowTo.pdf) providing information on installing and using the application.
1010
## NOTE: Testing covers Java 11 to 21.
1111
## Java 8 is NO LONGER SUPPORTED.
1212

13-
Version 4.8.1 - 2026-03-27
13+
Version 4.8.2 - 2026-04-10
1414
=======
1515

16-
This is a minor bugfix release.
17-
1. Correct payload filename when using generic directory poller.
18-
16+
This is a bugfix release.
17+
1. When an SSL exception occurs connecting to a partner, the file is soptred in the sent directory instead of error directory.
1918

2019
## Upgrade Notes
2120
See the openAS2HowTo appendix for the general process on upgrading OpenAS2.

Server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- DO NOT CHANGE THIS "groupId" WITHOUT CHANGING XMLSession.getManifestAttributes.MANIFEST_VENDOR_ID_ATTRIB -->
88
<groupId>net.sf.openas2</groupId>
99
<artifactId>OpenAS2</artifactId>
10-
<version>4.8.1</version>
10+
<version>4.8.2</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

Server/src/main/java/org/openas2/processor/sender/AS2SenderModule.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ public void handle(String action, Message msg, Map<String, Object> options) thro
146146
msg.trackMsgState(getSession());
147147
if ("true".equalsIgnoreCase(msg.getPartnership().getAttributeOrProperty(Partnership.PA_RESEND_ON_SSL_EXCEPTION, "false"))) {
148148
resend(msg, new OpenAS2Exception(org.openas2.util.Logging.getExceptionMsg(e)), false);
149+
} else {
150+
AS2Util.cleanupFiles(msg, true);
149151
}
150152
return;
151153
} catch (Exception e) {

changes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
**IMPORTANT NOTE**: Please review upgrade notes in the RELEASE-NOTES.md if you are upgrading
22

3+
Version 4.8.2 - 2026-04-10
4+
5+
This is a bugfix release.
6+
1. When an SSL exception occurs connecting to a partner, the file is soptred in the sent directory instead of error directory.
7+
8+
39
Version 4.8.1 - 2026-03-27
410

511
This is a minor bugfix release.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>net.sf.openas2</groupId>
77
<artifactId>OpenAS2</artifactId>
8-
<version>4.8.1</version>
8+
<version>4.8.2</version>
99
<name>OpenAS2</name>
1010
<packaging>pom</packaging>
1111

0 commit comments

Comments
 (0)