HTTP Connector Release Notes - Mule 4

Support Category: Select

Anypoint Connector for HTTP (HTTP Connector) enables you to declare HTTP servers that listen to requests and trigger flows, as well as HTTP clients that can communicate with any HTTP service.

1.10.0

August 8, 2024

Compatibility

Software Version

Mule

4.1.1 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

Query parameters and headers now have setters.

W-16312874

Retrieving client certificate attributes with Java 17 no longer throws an IllegalAccessException error.

W-15596915

1.9.3

May 21, 2024

Compatibility

Software Version

Mule

4.1.1 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

Updated test dependencies.

W-15794174

The HTTP Connector Listener source no longer returns an exception when the source stops after a failed start.

W-15809219

1.9.2

March 14, 2024

Compatibility

Software Version

Mule

4.1.1 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

Updated Spring dependencies to 5.3.32.

W-15195048

1.9.1

February 19, 2024

Compatibility

Software Version

Mule

4.1.1 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

A sub-optimal selector thread usage no longer occurs when running with JDK17.

W-14729455

Warning logs regarding compile dependencies no longer occur when a Mule app is deployed.

W-14848670

A race condition no longer causes request parameters to be merged under load.

W-15043656

1.9.0

December 15, 2023

What’s New

  • This connector is now compatible with Java 17.

Compatibility

Software Version

Mule

4.1.1 and later

OpenJDK

8, 11, and 17

1.8.1

December 4, 2023

What’s New

  • Updated spring from version 5.3.18 to 5.3.30.

Compatibility

Software Version

Mule

4.1.1 and later

1.8.0

October 3, 2023

What’s New

  • Added the Polling Source event source that executes a scheduled HTTP request to a given HTTP server.

Compatibility

Software Version

Mule

4.1.1 and later

1.7.3

Dec 14, 2022

Compatibility

Software Version

Mule

4.1.1 and later

Fixed Issues

Issue Resolution ID

A cursor representation of the HTTP request body from a warning level message no longer appears when the body is ignored.

W-11889659

The HTTP Listener Base Path no longer causes errors in the resolution of the relative path in the Listener source.

W-11992337

1.7.2

Nov 2, 2022

Compatibility

Software Version

Mule

4.1.1 and later

Fixed Issues

Issue ID

Internal dependencies are upgraded.

W-11929500

1.7.1

May 3, 2022

What’s New

  • Optimized the connector to improve its overall stability and performance.

Compatibility

Software Version

Mule

4.1.1 and later

1.7.0 (Deprecated)

This version is deprecated. All of the features for this version are in version 1.7.1.

1.6.0

October 20, 2021

What’s New

  • Added a customizable Read Timeout parameter. (Available since Mule Runtime 4.4.0-20211018 and HTTP Service EE 1.7.1)

Compatibility

Software Version

Mule

4.1.1 and later

Fixed Issues

Issue ID

Reduced memory consumption when parsing media types.

HTTPC-141

Improved the handling of invalid transfer-encoding headers.

HTTPC-149

Reverted encoding characters from RFC 3986 in the HTTP Request operation Path field.

HTTPC-140

1.5.26

October 14, 2021

Compatibility

Software Version

Mule

4.1.1 and later

Fixed Issues

Issue ID

Reduced memory consumption when parsing media types.

HTTPC-141

Reverted encoding characters from RFC 3986 in the HTTP Request Path field.

HTTPC-140

1.5.25

June 7, 2021

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Encoding characters from RFC 3986 in the HTTP Request Path field. (HTTPC-140)

  • Updated socket connector dependency to 1.2.1.

1.5.24

Mar 9, 2021

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Changed authentication token decoding (HTTPC-137)

1.5.23

Oct 23, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Fixed an issue where multiple cookies were being sent in separate headers (not RFC6265 compliant) (HTTPC-128)

1.5.22

Oct 5, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Fixed an issue that caused a performance degradation

1.5.21

Sep 14, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Fixed an issue in which an http-request-config is not updated after redeploy when an application is associated with a domain (MULE-18757)

1.5.20

Sep 8, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Fixed an issue in which an input stream was being consumed during the authentication mechanism (MULE-18307)

1.5.19

Jun 18, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Fixed an issue where an input stream was being consumed during retry mechanism (MULE-18393)

  • Fixed an issue where a single listener stop was stopping the server, even if it was behaving to another context (HTTPC-124)

1.5.18

May 14, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Fixed HTTP policy pointcut parameters not created when listener is under a domain (MULE-18403)

New Features and Enhancements

  • Use graceful shutdown timeout to allow persistent connections to do a last request (MULE-18396)

1.5.17

April 7, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Added HTTP errors BAD_GATEWAY and GATEWAY_TIMEOUT (MULE-18247)

1.5.16

March 30, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Fixed an issue where mule.http.client.encodeUriParams wrongly encodes spaces in URI parameters. (MULE-18241)

  • Use IO threads to handle response streaming. (MULE-18028)

1.5.15

March 17, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Improved performance of HttpBasicAuthenticationFilter#authenticate. (MULE-18039)

  • Removed guava dependency from HTTP connector. (MULE-18109)

  • Removed runtime provided libraries from HTTP connector. (MULE-17423)

  • General performance improvments. (MULE-18152)

1.5.14

January 24, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Implemented a new fix for the following issue: onErrorSendingResponse error public method in anonymous class is not accessible via reflection. (MULE-17693)

1.5.13

January 15, 2020

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • A new fix was implemented for the following issue: onErrorSendingResponse public method in anonymous class is not accessible via reflection. (MULE-17693)

  • When stopping or starting an HTTP Listener, basePath is added twice to the available paths. (MULE-17817)

1.5.12

December 11, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • The HTTP header for Anypoint Visualizer is now supported. (MULE-17706)

  • The issue where properties were not being propagated in basic authentication is fixed. (MULE-17830)

1.5.11

October 29, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • onErrorSendingResponse public method in anonymous class was not accessible via reflection. (MULE-17693)

1.5.10

October 18, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • HTTP ResponseBuilder should not return null headers. (MULE-17670)

1.5.9

September 23, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Collision of HTTP clients in a cache when the HTTP Connector app is in a domain. (MULE-17478)

1.5.8

September 19, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • HttpClient cannot be restarted when there is an exception on starting the connection. (MULE-17479)

1.5.7

August 30, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Infinite loop when failure response not sent. (MULE-17378)

  • Revert to use the format hostname + address in local and remote addresses. (MULE-17262)

  • HTTP Connector should trim the host parameter to avoid invalid URL. (MULE-16068)

1.5.6

August 14, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Security fixes.

1.4.3

August 14, 2019

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • Improved performance for event and message creation handling in policy scenarios. (MULE-16320)

Fixed Issues

  • Security fixes.

  • No transformers for Iterator to byte[] or String causes error. (MULE-15991)

1.3.4

August 14, 2019

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • Improved performance for event and message creation handling in policy scenarios. (MULE-16320)

  • Miscellaneous performance improvements for proxy scenario (avoid lambda usage in policy code). (MULE-16101)

  • Allow HTTP requests to retry on all methods. (MULE-15927)

Fixed Issues

  • Security fixes.

1.2.3

August 14, 2019

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • Miscellaneous performance improvements for proxy scenario (avoid lambda usage in policy code). (MULE-16101)

Fixed Issues

  • Security fixes.

  • HTTP Requester removes the payload when retrying. (MULE-15756)

  • Changes in HTTP-API module break compilation of the HTTP connector. (MULE-15165)

  • Minor performance improvements. (MULE-15346)

  • Avoid unnecessary creation of CaseInsensitive maps during an HTTP request. (MULE-15428)

  • HTTP: Reduce request creation overhead. (MULE-15419)

  • Support non-blocking in OAuth HTTP calls. (MULE-11272)

1.1.2

August 14, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Security fixes.

  • HTTP attributes toString features sensitive content. (MULE-15260)

  • HTTP request parse error logs a stacktrace. (MULE-15120)

1.5.5 (Deprecated)

July 12, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Remove vulnerable commons-codec library. (MULE-16799)

  • Basic auth filter accepts header characters beyond the padding. (MULE-16898)

  • No transformers for Iterator to byte[] or String causes error. (MULE-15991)

  • Reduce logging verbosity when correlations IDs repeat but match. When both the X-Correlation-ID and Mule-Correlation-ID headers are present, Mule decides on one and logs a warning message about the decision. However, if in Mule 4 and 3 both headers are duplicated with the same value, Mule logs a debug message instead. (MULE-17115)

1.5.4 (Deprecated)

April 30, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Allow the encoding of URI parameters in the requester using the system property mule.http.client.encodeUriParams. (MULE-16772)

  • User credentials are shown in attributes toString(). (MULE-10525)

  • Mule throws error illegal group reference exception when trying to pass $ in a URI Parameter in an HTTP request. (MULE-16669)

1.5.3 (Deprecated)

April 4, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • HTTP Connector does not implement equals and hash methods in the RequestHeader POJO which was causing memory leaks. (MULE-16652)

1.5.2 (Deprecated)

April 3, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Source completion callback that was not called on failure was causing leaks. (MULE-16634)

  • Add missing MediaType to HTTP operations, equals or hash to CORS components, and upgrade CORS to 1.1.2. (MULE-16632)

1.5.1 (Deprecated)

March 28, 2019

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • NullPointerException when HTTP Load Resource component gets no attributes. (MULE-16499)

  • Reduce verbosity in static resource loader not found response (404). (MULE-16495)

  • Reduced MultiMap copies (MULE-16492)

  • Upgraded Sockets Connector to 1.1.5.

1.5.0 (Deprecated)

January 28, 2019

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • New rawRequestUri and rawRequestPath attributes when a request is received by an HTTP listener (encoded as received unlike requestUri and requestPath which are decoded). (MULE-16246)

  • Improved performance for event and message creation handling in policy scenarios. (MULE-16320)

  • New org.mule.extension.http.internal.request.HttpRequestOperations logger for resolved dynamic HTTP requests in DEBUG mode, which logs the final URI being used. (MULE-16295)

  • New icon for the HTTP connector. (MULE-16378)

Fixed Issues

  • Removed sun.misc package usages that are not available with Java 11 (MULE-15917)

  • Encoding should be preserved by maskedRequestPath so it can be properly used in proxies. (MULE-16359)

1.4.2 (Deprecated)

December 21, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • No new features were added in this version, but performance enhancements were done.

  • Miscellaneous performance improvements for proxy scenario (avoid lambda usage in policy code). (MULE-16101)

Fixed Issues

  • HTTP path related attributes are not decoded (regression caused by MULE-15868). (MULE-16240)

  • Upgrade Sockets version in HTTP (due to vulnerabilities related library upgrades there). (MULE-15079)

1.4.1 (Deprecated)

November 15, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • No new features were added in this version, but some performance enhancements were done.

  • Miscellaneous performance improvements for proxy scenario (remove reactor usage and improve maskedRequestPath calculation). (MULE-15924)

Fixed Issues

  • HTTP connector does not implement equals/hash on POJOs (causing leak for dynamic authentication and proxy set ups). (MULE-16035)

1.4.0 (Deprecated)

November 2, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • Allow HTTP requests to retry on all methods. (MULE-15927)

  • Update reactor to 3.2.0. (MULE-14667)

  • Make "clientCertificate" in HttpRequestAttributes lazy for HTTPS listeners. (MULE-15725)

  • Upgrade sockets connector to 1.1.2. (MULE-15711)

  • Upgrade javax.mail to javax.mail-api 1.6.2. (MULE-15550)

  • Make HTTP host examples consistent with each other. (MULE-15331)

  • Add maskedRequestPath to HttpRequestAttributes. (MULE-15484)

Fixed Issues

  • HTTP null host when port is invalid. (MULE-15665)

1.3.3 (Deprecated)

October 22, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • No new features were added in this version.

Fixed Issues

  • Query string and URI parameters were double decoded by HTTP Listener because of URI usage. (MULE-15868)

1.3.2 (Deprecated)

September 27, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

  • No new features were added in this version.

Fixed Issues

  • HTTP Requester removes the payload when retrying. (MULE-15756)

  • HTTP Requester is sending content-type even if no payload is sent. (MULE-15722)

  • Avoid unnecessary creation of CaseInsensitive maps during an HTTP request. (MULE-15428)

  • HTTP: Reduce request creation overhead. (MULE-15419)

  • Support non-blocking in OAuth HTTP calls. (MULE-11272)

  • Changes in HTTP-API module break compilation of the HTTP connector. (MULE-15165)

  • HTTP null host when the port is invalid. (MULE-15665)

1.3.1 (Deprecated)

July 20, 2018

Minimum Mule Version

Mule 4.1.1

Fixed Issues

  • Revert: MULE-15128 - Proxy Config in HTTP Requester should not accept expressions.

1.3.0 (Deprecated)

July 13, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

This release includes the following enhancements, changes, and fixes:

  • Improves performance by reducing some internal memory usage.

  • Allows response validators to be configured at the configuration level as defaults for all associated operations, which means the Web Service connector can now also reference a default.

  • Upgrades commons-lang3 to 3.7.

  • Upgrades Guava: Google Core Libraries For Java to 25.1.

  • Fixes the provided error messages that previously featured regular streams instead of repeatable ones.

  • Fixes the proxy configuration attribute of the HTTP request operation which mistakenly allowed expressions.

Upgrade Requirements

Mule 4.1.1

Fixed Issues

  • Minor performance improvements. (MULE-15346)

  • Proxy Config in HTTP Requester should not accept expressions. (MULE-15128)

  • Add global ResponseValidator in the requester configuration. (MULE-15174)

  • Upgrade commons-lang3 to 3.7. (MULE-15082)

  • Upgrade Guava to 25.1. (MULE-15079)

  • HTTP error message stream is not handled. (MULE-14864)

1.2.2 (Deprecated)

July 2, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

This release includes the following enhancements, changes, and fixes:

  • Prevents sensitive data such as headers, query and URI parameters values to be exposed when logging.

  • Improves performance by avoiding unnecessary transformations to lower case.

  • Improves logging during certain errors that were too verbose.

Upgrade Requirements

Mule 4.1.1

Fixed Issues

  • HTTP attributes toString features sensitive content. (MULE-15260)

  • Remove unnecessary String.toLowerCase calls. (MULE-15253)

  • HTTP request parse error logs a stacktrace. (MULE-15120)

1.2.1 (Deprecated)

May 7, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

This release includes the following enhancements, changes, and fixes:

  • Improves output metadata for listener and requester

  • Improves TLS/SSL issues logging

  • Improves validations on the listener attributes

  • Fixes a security vulnerability related to unescaped input data when receiving invalid requests

  • Fixes an interoperability issue with Mule 3 by interpreting the MULE_CORRELATION_ID header

  • Fixes a memory leak related to unclosed streams when streaming mode was set to NEVER

  • Fixes a policy issue related to Content-Length analysis

Upgrade Requirements

Mule 4.1.1

Fixed Issues

  • HTTP connectors specify incorrect output metadata type for listener/requester. (MULE-14974)

  • SSL issue log message has wrong debug data. (MULE-14949) HTTP Listener parse errors expose request data without escaping it. (MULE-14944)

  • Mule 3 and 4 HTTP connectors' correlation IDs should interop. (MULE-14878)

  • HTTP listener does not close streams when NEVER is set. (MULE-14829)

  • Content-length is not recalculated when policy is present. (MULE-14821)

  • HttpRequestAttributesBuilder does not validate entries, (MULE-14457)

1.2.0 (Deprecated)

March 15, 2018

Minimum Mule Version

Mule 4.1.1

New Features and Enhancements

This release includes the following enhancements, changes, and fixes:

  • Fixes the status code validators to allow spaces in their value definition

  • Fixes startup error messages so they show up on logs

  • Improves performance when handling headers

  • Allows requester to keep provided headers case

Upgrade Requirements

Mule 4.1.1

Fixed Issues

  • Status code validators cannot handle spaces in the values. (MULE-14541)

  • Mule swallows HTTP exception. (MULE-14535)

  • HTTP: Allow requester to keep provided headers case. (MULE-14530)

1.1.0 (Deprecated)

January 19, 2018

Minimum Mule Version

Mule 4.1.0

New Features and Enhancements

This release includes the following enhancements, changes, and fixes:

  • Support for X-Correlation-ID

  • Added default headers and query parameters to HTTP Requester config

  • Performance improvements

Upgrade Requirements

Mule 4.1

Fixed Issues

  • HTTP Connector exports internal classes. (MULE-14447)

  • Multi value headers not working when setting HttpPolicyRequestAttributes from DW. (MULE-14380)

  • HTTP Connector should use FAIL BackpressueStrategy by default. (MULE-14271)

  • Send X-Correlation-ID header with outbound requests and parse it with inbound requests. (MULE-14085)

  • Expose host address in HttpRequestAttributes. (MULE-10912)