Skip to content

Commit

Permalink
Remove absolute URI check from ReactorClientHttpConnector
Browse files Browse the repository at this point in the history
This allows maknig use of the Unix Domain Socket support in Reactor 1.0.

Closes gh-25929
  • Loading branch information
hitchan authored and rstoyanchev committed Oct 27, 2020
1 parent b2d337c commit 6e936a4
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ public ReactorClientHttpConnector(HttpClient httpClient) {
public Mono<ClientHttpResponse> connect(HttpMethod method, URI uri,
Function<? super ClientHttpRequest, Mono<Void>> requestCallback) {

if (!uri.isAbsolute()) {
return Mono.error(new IllegalArgumentException("URI is not absolute: " + uri));
}

AtomicReference<ReactorClientHttpResponse> responseRef = new AtomicReference<>();

return this.httpClient
Expand Down

0 comments on commit 6e936a4

Please sign in to comment.