Skip to content

Commit

Permalink
Http client protocol creation not honoring disabled service discovery (
Browse files Browse the repository at this point in the history
…#8284)

Http client protocol creation not honoring disabled service discovery fixed

Signed-off-by: David Kral <david.k.kral@oracle.com>
  • Loading branch information
Verdent authored Jan 24, 2024
1 parent 963b0cd commit b9f3fe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Oracle and/or its affiliates.
* Copyright (c) 2023, 2024 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -52,6 +52,7 @@ public HttpClientSpi protocol(WebClient client, Http1ClientProtocolConfig config
Http1ClientConfig.builder()
.from(client.prototype())
.protocolConfig(config)
.servicesDiscoverServices(false)
.buildPrototype());
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Oracle and/or its affiliates.
* Copyright (c) 2023, 2024 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -51,6 +51,7 @@ public HttpClientSpi protocol(WebClient client, Http2ClientProtocolConfig config
Http2ClientConfig.builder()
.from(client.prototype())
.protocolConfig(config)
.servicesDiscoverServices(false)
.buildPrototype());
}
}

0 comments on commit b9f3fe1

Please sign in to comment.