OpenAS2 / OpenAs2App

OpenAS2 is a java-based implementation of the EDIINT AS2 standard. It is intended to be used as a server. It is extremely configurable and supports a wide variety of signing and encryption algorithms.
https://sourceforge.net/projects/openas2/
BSD 2-Clause "Simplified" License
177 stars 132 forks source link

Content-Length header isn't populated on synchronous MDN sent after receiving a file #370

Closed matt-mcallister closed 2 months ago

matt-mcallister commented 2 months ago

After receiving a file from a trading partner we are sending a synchronous MDN back to the partner, and everything looks successful from our perspective. However, the trading partner is unable to process the MDN because it is missing the Content-Length header. This is causing the trading partner to continuously resend the file since, from their perspective, they haven't received a successful MDN. We recently upgraded from OpenAS2 version v2.14.0, and the header was correctly set in that version.

This issue exists in version 3.9.1 and 3.10.0.

matt-mcallister commented 2 months ago

I confirmed with our trading partner that the changes in this PR resolve the issue

https://github.com/OpenAS2/OpenAs2App/pull/369

uhurusurfa commented 2 months ago

This PR closes this issue: #369