mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 21:10:49 +08:00 
			
		
		
		
	Remove Ocelot specific Middleware to make Ocelot more compatible with kestrel middleware and get ready for YARP
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -189,7 +189,7 @@ namespace Ocelot.AcceptanceTests
 | 
			
		||||
                _services = services;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            public async Task<Response<ServiceHostAndPort>> Lease(DownstreamContext downstreamContext)
 | 
			
		||||
            public async Task<Response<ServiceHostAndPort>> Lease(HttpContext httpContext)
 | 
			
		||||
            {
 | 
			
		||||
                var services = await _services();
 | 
			
		||||
                lock (_lock)
 | 
			
		||||
@@ -205,7 +205,7 @@ namespace Ocelot.AcceptanceTests
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            public void Release(ServiceHostAndPort hostAndPort)
 | 
			
		||||
        public void Release(ServiceHostAndPort hostAndPort)
 | 
			
		||||
            {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,7 @@ namespace Ocelot.AcceptanceTests
 | 
			
		||||
    using Ocelot.Infrastructure;
 | 
			
		||||
    using Ocelot.Logging;
 | 
			
		||||
    using Ocelot.Middleware;
 | 
			
		||||
    using Ocelot.Middleware.Multiplexer;
 | 
			
		||||
    using Ocelot.Multiplexer;
 | 
			
		||||
    using Ocelot.Provider.Consul;
 | 
			
		||||
    using Ocelot.Provider.Eureka;
 | 
			
		||||
    using Ocelot.Provider.Polly;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user