Skip to content

Commit

Permalink
Fix a referral connector issue
Browse files Browse the repository at this point in the history
Fixed an issue in which a request-specific referral connector could
be lost when duplicating a modify, modify DN, or search request.
  • Loading branch information
dirmgr committed Aug 4, 2023
1 parent 69d79ba commit 28b0186
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/com/unboundid/ldap/sdk/ModifyDNRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,6 @@ public ModifyDNRequest duplicate(@NotNull final Control[] controls)
r.setResponseTimeoutMillis(getResponseTimeoutMillis(null));
r.setIntermediateResponseListener(getIntermediateResponseListener());
r.setReferralDepth(getReferralDepth());
r.setReferralConnector(null);

return r;
}
Expand Down
1 change: 0 additions & 1 deletion src/com/unboundid/ldap/sdk/ModifyRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,6 @@ public ModifyRequest duplicate(@Nullable final Control[] controls)
r.setResponseTimeoutMillis(getResponseTimeoutMillis(null));
r.setIntermediateResponseListener(getIntermediateResponseListener());
r.setReferralDepth(getReferralDepth());
r.setReferralConnector(null);

return r;
}
Expand Down
1 change: 0 additions & 1 deletion src/com/unboundid/ldap/sdk/SearchRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,6 @@ public SearchRequest duplicate(@Nullable final Control[] controls)
r.setResponseTimeoutMillis(getResponseTimeoutMillis(null));
r.setIntermediateResponseListener(getIntermediateResponseListener());
r.setReferralDepth(getReferralDepth());
r.setReferralConnector(null);

return r;
}
Expand Down

0 comments on commit 28b0186

Please sign in to comment.