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/
GNU General Public License v3.0
185 stars 137 forks source link

Avoid IOException when missing Content-Length #266

Closed brandonjoyce closed 2 years ago

brandonjoyce commented 2 years ago

Curious if this makes sense to others as I think it makes sense for my team. This exception happens when someone just opens the as2 url in a browser (happens a lot during setups). The exception causes more log/alerting noise than we desire as we monitor for exceptions being logged pretty closely. It appears that we're already returning enough information for the user to know what the issue is, and there is also information being logged besides the exception details.