58 Commits

Author SHA1 Message Date
spencergibb
31ed804033 Updates version to 2.2.11.BUILD-SNAPSHOT after release 2021-11-03 16:02:09 -04:00
buildmaster
bf251614e2 Bumping versions 2021-11-03 19:45:59 +00:00
spencergibb
e959d8787d Migrated to ribbon for test 2021-11-02 13:57:04 -04:00
spencergibb
9bb21eafc9 polish and formatting 2021-11-02 13:57:04 -04:00
spencergibb
607392a658 If Transfer-Encoding header is "chunked", then normalize.
This means removing the content-length header acccoring to https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3

Fixes gh-2425
2021-11-02 13:57:03 -04:00
buildmaster
2d51a9ea22 Bumping versions to 2.2.10.BUILD-SNAPSHOT after release 2021-07-06 15:13:27 +00:00
buildmaster
2add690740 Going back to snapshots 2021-07-06 15:13:26 +00:00
buildmaster
f8438f7b7f Update SNAPSHOT to 2.2.9.RELEASE 2021-07-06 15:11:40 +00:00
Olga MaciaszekSharma
47595a7e3a Reformat. 2021-07-02 19:05:35 +02:00
hhwidera
8f8bc9e58a fix problem with missing '[' and ']' around IPv6 address. See https://tools.ietf.org/html/rfc7239 2021-07-02 19:03:19 +02:00
Olga MaciaszekSharma
c87602f09e Revert "Fix 2214 hoxton (#2285)"
This reverts commit 907119dfa3.
2021-07-02 19:03:05 +02:00
Olga Maciaszek-Sharma
907119dfa3 Fix 2214 hoxton (#2285) 2021-07-02 19:00:46 +02:00
Ryan Baxter
f4fbebcb1a Merge branch '2.2.x' of github.com:spring-cloud/spring-cloud-gateway into 2.2.x 2021-07-01 17:36:12 -04:00
Ryan Baxter
189c0721c2 Cherry pick ad9e361 2021-07-01 17:36:04 -04:00
Bruno Silva
9383b8e2bf Adds a property to disable gateway redis integration.
Fixes gh-2052
2021-07-01 17:24:10 -04:00
spencergibb
adc1969bc8 formatting 2021-05-24 11:17:08 -04:00
ctlove0523
0fd5cef6c8 Matches http scheme regardless of case
Fixes gh-2218
2021-05-24 11:17:08 -04:00
buildmaster
0bf4dcfaa5 Bumping versions to 2.2.9.BUILD-SNAPSHOT after release 2021-04-21 17:29:30 +00:00
buildmaster
1a277db429 Going back to snapshots 2021-04-21 17:29:30 +00:00
buildmaster
86142f2448 Update SNAPSHOT to 2.2.8.RELEASE 2021-04-21 17:27:59 +00:00
spencergibb
2be9d7f91c Suggest setting spring.main.web-application-type=reactive if mvc on classpath.
See gh-2176K
2021-04-20 13:15:59 -04:00
spencergibb
2fe4063bfc Only fail if mvc is on the classpath and gateway is enabled.
This is useful for libraries that might write functionality for zuul and gateway.

See gh-2176
2021-04-20 00:14:55 -04:00
spencergibb
f7a9bebc34 Adds MvcFoundOnClasspathFailureAnalyzer to provide a better experience if mvc is on the classpath.
Previously only a warning was printed in the logs, but sometime ago, ServerCodecConfigurer was added as a bean dependency which caused apps with mvc on the classpath to fail with an error that was difficult to diagnose. The warning was changed to a failure analyzer.

Fixes gh-2176
2021-04-19 13:38:36 -04:00
spencergibb
7cb009d297 Removes use of stream() in hot path.
This includes `filter()` and `test()`.

Fixes gh-2197
2021-04-05 16:20:28 -04:00
Eugene Sadovsky
9ed6ec0862 Adds support for HttpClient eviction interval.
Fixes gh-2153
Fixes gh-2187
2021-03-19 15:09:26 -04:00
spencergibb
79adb1b3f0 Formatting and updated Constructor for 2.2.x 2021-03-12 16:06:13 -05:00
spencergibb
91e475e65f Adds routeId to toString() and formatting 2021-03-12 16:05:37 -05:00
Felipe Adorno
fedb6fce77 Default filters now get route specific events.
Filters like Retry with a POST body require an event to be sent from the
filter factory to the caching filter higher up the filter chain. Default
filters were created with a static id and therefor didn't receive the
event. This updates default filters to use the route id.

Fixes gh-1918
Fixes gh-2150
2021-03-12 15:58:23 -05:00
spencergibb
70c50744fb Formatting 2021-03-12 15:37:06 -05:00
Dennis Menge
779187e6ae Allows multiple values applied with AddRequestHeaderGatewayFilterFactory
Fixes gh-1902
2021-03-12 15:35:22 -05:00
spencergibb
333786c58a Formatting 2021-03-12 14:03:58 -05:00
spencergibb
ec559a236e Fixes missing brace during merge 2021-03-12 13:59:46 -05:00
johannesrost
b1f1e75c00 Do not reuse WebsocketServerSpec.Builder between requests
Fixes gh-2159
Fixes gh-2160
2021-03-12 13:52:06 -05:00
spencergibb
8ebdfbba27 Adds shortcut support to RequestHeaderSizeGatewayFilterFactory
Fixes gh-1879
2021-02-17 11:53:01 -05:00
Mete Alpaslan Katırcıoğlu
15db93cca9 Enable compression support via configuration
Fixes gh-361
Fixes gh-2146
2021-02-17 09:17:56 -05:00
buildmaster
df5e032bc9 Bumping versions to 2.2.8.BUILD-SNAPSHOT after release 2021-02-11 14:28:54 +00:00
buildmaster
973c458a70 Going back to snapshots 2021-02-11 14:28:54 +00:00
buildmaster
00a1f5b771 Update SNAPSHOT to 2.2.7.RELEASE 2021-02-11 14:27:32 +00:00
YoungWeng
2f2163c49a Add channel check before dispose which may cause reactor-netty PrematureCloseException
Fixes gh-2046
Fixes gh-2093
2021-01-11 14:55:42 -05:00
spencergibb
8dc4a0fb84 Removes host header for websockets.
Fixes gh-1834
2020-11-09 16:02:46 -05:00
buildmaster
151b0a8780 Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2020-11-09 10:54:01 +00:00
buildmaster
fb290c4a86 Going back to snapshots 2020-11-09 10:54:01 +00:00
buildmaster
2f1f1e73e9 Update SNAPSHOT to 2.2.6.RELEASE 2020-11-09 10:52:18 +00:00
spencergibb
9a5ed3522b formatting 2020-11-02 14:49:33 -05:00
ctlove0523
fffcd23214 Allows SecureHeaders filter header values to be set per route.
Fixes gh-2005
Fixes gh-2008
2020-11-02 14:48:17 -05:00
Violeta Georgieva
4c8a1d6051 Fix memory leak in NettyWriteResponseFilter.wrap (#2019)
NettyWriteResponseFilter.wrap never releases the original poolable
buffer in case of DefaultDataBufferFactory.

Related to https://github.com/reactor/reactor-netty/issues/1359
2020-11-02 12:05:54 -05:00
Olga Maciaszek-Sharma
652a44bc4d Get overrideScheme from isSecure(). (#2003) 2020-10-27 12:20:50 +01:00
Marcin Grzejszczak
5ef66ac8f1 Fixed the build 2020-10-26 12:05:47 +01:00
Marcin Grzejszczak
d4a114c012 Updated autoconfiguration setup 2020-10-26 11:16:55 +01:00
spencergibb
f09d8b2c5d Allows gateway metrics prefix to be customized.
Fixes gh-1981
2020-10-09 15:51:20 -04:00