ldap: drop duplicate ldap_set_option() on Windows#20930
ldap: drop duplicate ldap_set_option() on Windows#20930vszakats wants to merge 1 commit intocurl:masterfrom
ldap_set_option() on Windows#20930Conversation
|
I found no sign that protocol version could be reset by other |
|
augment review |
🤖 Augment PR SummarySummary: Removes a redundant Windows-specific call to set the LDAP protocol version during bind setup. Why: The protocol version is already configured earlier after 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Pull request overview
This PR removes a redundant Windows-only ldap_set_option(LDAP_OPT_PROTOCOL_VERSION, ...) call in the LDAP transfer path, relying on the existing option setup that already happens immediately after ldap_sslinit()/ldap_init().
Changes:
- Drop duplicate
ldap_set_option(... LDAP_OPT_PROTOCOL_VERSION ...)just beforeldap_win_bind()on Windows builds.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
Thanks for verifying, @MarcelRaad! |
Already set after
ldap_sslinit()/ldap_init()and beforeldap_ssl-specific initialization.Follow-up to 39d1976 #19830
Follow-up to b41e65a
Follow-up to b91421b
/cc @gknauf