NonChunkedHttpMessageHandler fails the second time it is enabled

Description

HttpObjectAggregator is not annotated as shareable, so Netty complains the second time we try to add the cached instance to the pipeline. Fix by creating a new instance each time we switch to non-chunked mode.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created August 26, 2019 at 7:24 PM
Updated April 24, 2020 at 8:54 PM
Resolved August 28, 2019 at 4:01 PM
Loading...