Commit ec92315
committed
bug #62169 [HttpClient] Fix caching client decorating scoping client (pierredup)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[HttpClient] Fix caching client decorating scoping client
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #62166
| License | MIT
When registering a scoped client and enabling caching, the scoping client should decorate the caching one, while currently it's registered the wrong way around. This causes `Invalid URL` exceptions, since the URL is not resolved first by the scoping client
Commits
-------
bfde96233bf [HttpClient] Fix caching client decorating scoping clientFile tree
3 files changed
+28
-19
lines changed- DependencyInjection
- Tests/DependencyInjection
3 files changed
+28
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2076 | 2076 | | |
2077 | 2077 | | |
2078 | 2078 | | |
2079 | | - | |
| 2079 | + | |
2080 | 2080 | | |
2081 | 2081 | | |
2082 | 2082 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2880 | 2880 | | |
2881 | 2881 | | |
2882 | 2882 | | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
2883 | 2889 | | |
2884 | 2890 | | |
2885 | 2891 | | |
2886 | 2892 | | |
2887 | 2893 | | |
2888 | 2894 | | |
2889 | | - | |
| 2895 | + | |
2890 | 2896 | | |
2891 | 2897 | | |
2892 | 2898 | | |
2893 | 2899 | | |
2894 | 2900 | | |
2895 | | - | |
| 2901 | + | |
2896 | 2902 | | |
2897 | 2903 | | |
2898 | 2904 | | |
2899 | 2905 | | |
2900 | 2906 | | |
2901 | 2907 | | |
2902 | | - | |
| 2908 | + | |
2903 | 2909 | | |
2904 | 2910 | | |
2905 | 2911 | | |
2906 | | - | |
| 2912 | + | |
2907 | 2913 | | |
2908 | 2914 | | |
2909 | 2915 | | |
2910 | | - | |
| 2916 | + | |
2911 | 2917 | | |
2912 | 2918 | | |
2913 | 2919 | | |
2914 | 2920 | | |
2915 | | - | |
| 2921 | + | |
2916 | 2922 | | |
2917 | 2923 | | |
2918 | 2924 | | |
| |||
2946 | 2952 | | |
2947 | 2953 | | |
2948 | 2954 | | |
2949 | | - | |
| 2955 | + | |
2950 | 2956 | | |
2951 | 2957 | | |
2952 | 2958 | | |
| |||
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2295 | 2295 | | |
2296 | 2296 | | |
2297 | 2297 | | |
2298 | | - | |
2299 | | - | |
| 2298 | + | |
| 2299 | + | |
2300 | 2300 | | |
2301 | | - | |
2302 | 2301 | | |
2303 | 2302 | | |
2304 | | - | |
| 2303 | + | |
2305 | 2304 | | |
2306 | 2305 | | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
2307 | 2310 | | |
2308 | 2311 | | |
2309 | 2312 | | |
| |||
2317 | 2320 | | |
2318 | 2321 | | |
2319 | 2322 | | |
2320 | | - | |
2321 | | - | |
| 2323 | + | |
| 2324 | + | |
2322 | 2325 | | |
2323 | 2326 | | |
2324 | 2327 | | |
| |||
2383 | 2386 | | |
2384 | 2387 | | |
2385 | 2388 | | |
2386 | | - | |
2387 | | - | |
| 2389 | + | |
| 2390 | + | |
2388 | 2391 | | |
2389 | | - | |
| 2392 | + | |
2390 | 2393 | | |
2391 | 2394 | | |
2392 | | - | |
| 2395 | + | |
2393 | 2396 | | |
2394 | | - | |
| 2397 | + | |
2395 | 2398 | | |
2396 | 2399 | | |
2397 | 2400 | | |
| |||
0 commit comments