Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
dotnet-maestro[bot] f2a8594489
[main] Update dependencies from dotnet/arcade (#2579)
[main] Update dependencies from dotnet/arcade


 - Suppress SYSLIB0057 in tests (#2585)
2024-08-27 18:01:46 +00:00
Miha Zupan 555ca0f2f4
Improve TlsFrameHelper (#2587)
Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>
2024-08-27 19:44:02 +02:00
Miha Zupan 76e28e25ea
Move TFMs to shared variables (#2500)
* Move TFMs to shared variables

* Backport #2367
2024-05-16 17:17:39 +02:00
Miha Zupan f84b7d71e2
Turn off a bunch of optional features in the benchmark (#2474)
* Use a minimal set of ASP.NET features in the benchmark

* Disable UseDefaultForwarders
2024-04-23 14:43:45 +02:00
Miha Zupan 3708f4a67a
Backport 8087b3e90e (#2462) 2024-04-03 21:45:49 +02:00
Miha Zupan 83c3607a6a
Use consistent handler defaults in docs and samples (#2451) 2024-04-02 12:13:09 +02:00
Miha Zupan 530e018aed
Add 9.0 TFM to tests (#2418) 2024-02-27 18:58:41 +01:00
Chris Ross 0e438fcaae
Minimal APIs for docs and samples (#2327) 2023-11-16 17:20:56 +00:00
Chris Ross 48e3f7eaaa
Timeout integration (#2307) 2023-11-14 11:17:36 -08:00
Miha Zupan 567be28dca
Fix new CA analyzer warnings (#2023) 2023-02-06 16:12:11 -08:00
Miha Zupan 79a7b80668
Fix HttpTransformer-related issues (#2016)
* Fix HttpTransformer-related issues

* Remove redundant check

* Trailing whitespace

* Add ForwarderError.RequestCreation
2023-01-31 04:00:44 -08:00
Miha Zupan bd289edcf8
Set the default ConnectTimeout to a finite value (#1991) 2023-01-11 04:52:56 -08:00
Tomasz Pęczek b9b2bb4dbe
Add extension methods for adding direct forwarding to the ASP.NET Core request pipeline (#1972) (#1979) 2023-01-04 11:40:14 -08:00
Chris Ross ea063ad316
Add .NET 7.0 support (#1769)
* Update the 7.0 SDK & Runtime
* Pass CancellationToken to HttpContent.ReadAsStreamAsync #770
* Remove Cookie workaround for .NET 7 #1722
* Update to .NET 6.0.6
2022-06-28 11:22:37 -07:00
Chris Ross 28a50f13be
Ship InMemoryConfigProvider #1713 (#1732) 2022-05-23 20:26:36 +00:00
Miha Zupan 94bd1273d2
Drop 3.1 and 5.0 TFMs (#1728)
* Drop 3.1 and 6.0 TFMs in projects

* Purge everything < 6.0

* Drop 3.1 and 5.0 from runtime globals.json

* More code changes

* Update docs

* Update comments

* Update getting started

* Remove list of 5.0 runtime improvements
2022-05-23 17:08:47 +00:00
Miha Zupan 407e3a7268
Fix race condition for concurrent Updates in InMemoryConfigProvider (#1725) 2022-05-18 03:53:01 -07:00
Kahbazi 9bbdf5eec8
Use is null instead of == null (#1565)
* Use is null instead of == null

* Use is null in new code

Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
2022-03-28 23:51:06 +00:00
Chris Ross b988e7f35f
Add cluster access API, reassignment (#1538) 2022-02-09 23:55:50 +00:00
Chris Ross 5cb206c51e
Support multiple configuration sources (#1534) 2022-02-04 19:41:38 +00:00
Miha Zupan a5b36816f1
Fixup indentations changes (#1391)
* Fixup indendation changes

* Revert unintended changes

* More indentations
2021-11-18 16:07:31 +00:00
Kahbazi efd2a4c869
Convert to file-scoped namespace (#1382) 2021-11-15 10:15:32 -08:00
Miha Zupan aa14716bf8
Update samples (#1361)
* Add 6.0 target to ReverseProxy.Auth.Sample

* Update launchsettings profile names

* Fix typos in samples

* Fix which values are logged in metrics sample

* Use RequestUtilities.MakeDestinationAddress to create the Uri in direct sample

* Update getting started for 1.0.0

* Fix typo in direct sample

* Revert "Add 6.0 target to ReverseProxy.Auth.Sample"

This reverts commit db975600f8.
2021-11-08 10:08:19 -08:00
Chris Ross 3c059d51ca
Fix PathPattern encoding #1307 (#1321) 2021-10-27 15:35:48 -07:00
Chris Ross d69342d005
Implement failure only transforms #1256 (#1300) 2021-10-19 12:47:49 -07:00
Miha Zupan 0dffd50a40
Change I*MetricsConsumer to a single interface (#1295) 2021-10-19 11:49:08 -07:00
Miha Zupan 5ba77182bc
Skip optional middlewares in benchmarks (#1301) 2021-10-19 10:00:57 -07:00
Chris Ross 2015d992e0
Change to an activity based timeout #1052 (#1289) 2021-10-15 16:02:01 +00:00
Alexander Nikolaev 5583eb7892
Rename K8s and Telemetry packages, projects and namespaces (#1251)
- `Yarp.ReverseProxy.Kubernetes.*` --> `Yarp.Kubernetes.*`
- `Yarp.ReverseProxy.Telemetry.Consumption` --> `Yarp.Telemetry.Consumption`

Fixes #462
2021-09-21 10:38:59 +02:00
Kahbazi bda7acee2a
Add cluster to ConfigureRouteAsync (#1231) 2021-09-07 16:08:00 -07:00
Alexander Nikolaev 9202998431
Default X-Forwarded-* transform action is to set the header value (#1099)
Enables to specify the action for each of X-Forwarded-* transforms and Forwarded one in the configuration. Additionally, sets the default action for these transforms to "set or replace the header".

Fixes #1070
2021-06-23 16:08:23 +02:00
Chris Ross 51129362a4
Misc API review (#1087)
* Rename InitialDestinationsProbed -> InitialProbeCompleted

* Rename First -> FirstAlphabetical

* Refactor IAffinityFailurePolicy.Handle parameters

* Refactor ILoadBalancingPolicy.PickDestination parameters

* IAffinityFailurePolicy (revert order change)

* Reorder IPassiveHealthCheckPolicy parameters

* Rename GetProxyErrorFeature to GetForwarderErrorFeature

* Rename session affinity providers to policies

* Refactor FindAffinitizedDestinations

* Refactor AffinitizeResponse
2021-06-17 15:30:31 -07:00
Miha Zupan 7ef7897224
Update testassets Telemetry consumer & metrics sample readme (#1085) 2021-06-14 10:43:21 -07:00
Chris Ross 16ab855a5b
Proxy -> Forwarder API review (#1064) 2021-06-11 16:39:46 -07:00
Chris Ross ade1b1eb4f
Session Affinity API review feedback (#1063)
* Session Affinity API review feedback

* Update docs/docfx/articles/session-affinity.md

Co-authored-by: Kahbazi <A.Kahbazi@gmail.com>

* Update test values

Co-authored-by: Kahbazi <A.Kahbazi@gmail.com>
2021-06-09 17:36:31 +00:00
Alexander Nikolaev d2c7863f28
Response buffering in IIS is disabled by default (#1040)
Disables write buffering of response in IIS when sending it back to the client. Having buffering enabled breaks Server Side Events scenario. Buffering can be enabled again via the new config parameter `RequestProxyConfig.AllowResponseBuffering`.

Fixes #533
2021-06-04 11:19:06 +02:00
Chris Ross d31b3886d3
Move files, change namespaces (#1035) 2021-06-02 09:51:15 -07:00
Alexander Nikolaev af6d56c5f8
Test Expect: 100-continue when body is not sent (#1038)
Fixes #617
2021-05-31 19:01:18 +02:00
Alexander Nikolaev bc0399b08a
Remove default AffinityKeyName values (#1027)
Removes default `AffinityKeyName` values which are customer affinity header name and affinity cookie name. Now, the user must always explicitly set `SessionAffinityConfig.AffinityKeyName` property.

Fixes #976
2021-05-27 14:14:07 +02:00
Miha Zupan 36f6b15688
Add net6.0 targets (#972)
* Add net6.0 targets

* Update SDK

* Bump to latest arcade SDK

* Excluse 6.0 target on Auth sample

* Bump SDK version to latest

* Keep custom Json converters in current 6.0 builds
2021-05-21 18:24:28 +02:00
Chris Ross ddae8bf043
Rename cluster sub options types to config (#983)
Move non-config options to their own folder/namespace
2021-05-07 09:23:16 -07:00
Chris Ross 0d7aa1326b
API renames: destinations (#973)
* Rename DestinationInfo to DestinationState
* Rename DestinationConfig to DestinationModel
* Rename Destination to DestinationConfig
2021-05-04 08:46:23 -07:00
Chris Ross d65ff31d0b
API renames: Clusters (#963)
* Rename ClusterInfo to ClusterState

* Rename ClusterConfig to ClusterModel

* Rename Cluster to ClusterConfig
Rename Id to ClusterId #909

* Cleanup

* Update src/ReverseProxy/Abstractions/Config/TransformBuilderContext.cs
2021-05-03 18:38:35 +00:00
Chris Ross 0f42bff0e7
Route API renames (#955) 2021-04-30 10:14:02 -07:00
Miha Zupan a2f2e467d6
Only enable events/counters if there are listeners available (#928)
* Only enable events/counters if there are listeners available

* Remove some synchronization logic
2021-04-22 00:27:53 +02:00
Chris Ross b105f96798
API renames: ProxyMatch, AddProxyConfigFilter, ConfigureClient (#929) 2021-04-21 14:53:54 -07:00
Chris Ross 8cb4dad54c
API review, middleware naming (#923) 2021-04-20 09:06:28 -07:00
Kahbazi 2f2fc26d25
Add ITransformBuilder.Create method (#913) 2021-04-15 11:31:17 -07:00
Chris Ross 10867bd99e
Make ProxyHttpClientFactory public and extensible #805 #843 (#869) 2021-04-12 16:32:35 -07:00
Kahbazi 344d9687e1
Change routes from array to object (#900) 2021-04-08 12:08:44 -07:00