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.

Home Page:https://sourceforge.net/projects/openas2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

matt-mcallister opened this issue · comments

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.

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

#369

This PR closes this issue: #369