[
https://issues.apache.org/jira/browse/NIFI-14103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907468#comment-17907468
]
ASF subversion and git services commented on NIFI-14103:
--------------------------------------------------------
Commit 5c3499a00885700d0fd45acaafce67a472417a0f in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5c3499a008 ]
NIFI-14103 Corrected thread safety for Proxied Entity Encoder (#9591)
- Created new CharsetEncoder for each method invocation
> StandardProxiedEntityEncoder Threading issue with CharsetEncoder
> ----------------------------------------------------------------
>
> Key: NIFI-14103
> URL: https://issues.apache.org/jira/browse/NIFI-14103
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Blocker
> Fix For: 2.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The CharsetEncoder is not thread safe and usage in
> StandardProxiedEntityEncoder must be changed to create a new instance for
> each method invocation. This approaches matches historical implementations,
> and should be carried through to the newer StandardPoxiedEntityEncoder to
> avoid issues surfaced with cluster communication and proxy headers, resulting
> in an IllegalStateException.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)