Skip to content

docs: CURLOPT_LOGIN_OPTIONS is a login property#21215

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/imap-change-options
Closed

docs: CURLOPT_LOGIN_OPTIONS is a login property#21215
bagder wants to merge 1 commit intomasterfrom
bagder/imap-change-options

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Apr 4, 2026

Test case 1982 verifies this

@github-actions github-actions bot added the tests label Apr 4, 2026
@bagder bagder requested a review from Copilot April 4, 2026 09:32
@bagder bagder marked this pull request as ready for review April 4, 2026 09:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR clarifies in libcurl documentation that CURLOPT_LOGIN_OPTIONS affects how login is performed when a connection is established, but is not intended to affect connection reuse decisions, and adds a test intended to verify that behavior.

Changes:

  • Add tests/data/test1982 to exercise IMAP connection reuse when login options differ between sequential requests.
  • Register the new test in tests/data/Makefile.am.
  • Update docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.md to describe CURLOPT_LOGIN_OPTIONS as a “login property” that should not affect reuse.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
tests/data/test1982 New IMAP test case intended to validate reuse behavior when login options change.
tests/data/Makefile.am Adds test1982 to the known test list.
docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.md Documents that login options do not change the connection security context / reuse key.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bagder bagder force-pushed the bagder/imap-change-options branch from 6990ff0 to ff35e6b Compare April 4, 2026 09:45
@bagder bagder closed this in d2110e7 Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants