Skip to content

Commit

Permalink
Make druid client follow redirects by default (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeszaq authored and michael-mclawhorn committed Mar 31, 2017
1 parent 6a0418c commit fa5a4e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ Current

### Fixed:

- [Default the AsyncDruidWebServiceImpl to follow redirects](https://github.com/yahoo/fili/pull/214)
* It defaulted to not following redirects, and now it doesn't

- [Reenable custom query types in TestDruidWebService]()

- [Fixed Segment Metadata Loader Unconfigured Dimension Bug](https://github.com/yahoo/fili/pull/197)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ private static AsyncHttpClient initializeWebClient(int requestTimeout) {
.setRequestTimeout(requestTimeout)
.setConnectionTtl(requestTimeout)
.setPooledConnectionIdleTimeout(requestTimeout)
.setFollowRedirect(true)
.build();

return new DefaultAsyncHttpClient(config);
Expand Down

0 comments on commit fa5a4e2

Please sign in to comment.