OutgoingSessionPromise outgoing queue should be limited

Description

When data is sent to a remote domain, a server-to-server outgoing session promise is used to queue data, until a session is established. This establishment can take a long time (especially if something is wrong - a timeout can be lengthy). During that time, data is being queued.

This queue is currently unbounded, which can lead to heavy memory consumption. We've even seen out-of-memory exceptions caused by this.

The outbound queue should be limited.

Environment

None
Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Priority

Minor
Configure