HTTPCLIENT-2123: H2AsyncClientBuilder incorrectly adds last request interceptors to the head of the interceptor list
This commit is contained in:
parent
a2df6f1e32
commit
e73b33c18b
|
@ -653,7 +653,7 @@ public class H2AsyncClientBuilder {
|
|||
if (requestInterceptors != null) {
|
||||
for (final RequestInterceptorEntry entry: requestInterceptors) {
|
||||
if (entry.postion == RequestInterceptorEntry.Postion.LAST) {
|
||||
b.addFirst(entry.interceptor);
|
||||
b.addLast(entry.interceptor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue