Skip to content
Permalink
Browse files
HTTPCLIENT-2123: H2AsyncClientBuilder incorrectly adds last request i…
…nterceptors to the head of the interceptor list
  • Loading branch information
ok2c committed Oct 21, 2020
1 parent a2df6f1 commit e73b33c18bff8daf701b115b56b5d6557131c58d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -653,7 +653,7 @@ public CloseableHttpAsyncClient build() {
if (requestInterceptors != null) {
for (final RequestInterceptorEntry entry: requestInterceptors) {
if (entry.postion == RequestInterceptorEntry.Postion.LAST) {
b.addFirst(entry.interceptor);
b.addLast(entry.interceptor);
}
}
}

0 comments on commit e73b33c

Please sign in to comment.