Ocelot icon indicating copy to clipboard operation
Ocelot copied to clipboard

#1305 RateLimiting headers

Open jlukawska opened this issue 4 years ago • 19 comments

Fixes #1305

  • #1305

Proposed Changes

  • It doesn't work because the headers are set on the newly created HttpContext and not the original one that is returned with a response. The fix is that the rate limiting headers are set for the original HttpContext returned by HttpContextAccessor.

jlukawska avatar Jul 31 '20 12:07 jlukawska

finnaly HttpResponseFeature.OnStarting was invoked, but HttpResponseFeature.OnStarting method body has nothing

jackletter avatar Oct 24 '20 01:10 jackletter

+1 to get this merged. This is stopping me being able to update a project to net6.0 + Ocelot v18

garybond avatar Apr 08 '22 14:04 garybond

收到了 哈哈

jackletter avatar Apr 08 '22 14:04 jackletter

+1 We need this fix as well

Versa78 avatar Apr 21 '22 07:04 Versa78

The feature branch has been rebased onto ThreeMammals:develop!

We can start the code review...

raman-m avatar Aug 02 '23 14:08 raman-m

收到了 哈哈

jackletter avatar Aug 02 '23 14:08 jackletter

@jackletter commented on Oct 24, 2020:

finnaly HttpResponseFeature.OnStarting was invoked, but HttpResponseFeature.OnStarting method body has nothing

Is this a result of code review (testing)? If Not, could you review the code please?


P.S. Don't write non-English messages please!

raman-m avatar Aug 02 '23 14:08 raman-m

@garybond @Versa78 @neetra @nls44 Welcome to the code review! Your opinion is highly required.

raman-m avatar Aug 02 '23 14:08 raman-m

Hi guys, any update on this?

alex-pollan avatar Oct 20 '23 11:10 alex-pollan

@alex-pollan commented on Oct 20

Hi Alex! Need this bug fix to be included to release? It should not be hard to complete code review... I will try to prioritize and include the bugfix to October's release...

raman-m avatar Oct 23 '23 08:10 raman-m