Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-849

Double close on error path in my_connect_async()

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 3.3, 3.4
    • None
    • Non blocking API
    • None
    • non-Windows

    Description

      On non-Windows platforms, when connect calls in my_connect_async() return an error other than those which indicate an async connection is in progress, the socket is closed.

      However this is also done by pvio_socket_connect() on its error path, which will be followed when ((my_connect_async()}} returns an error.

      The attached patch resolves this.

      Attachments

        Activity

          People

            georg Georg Richter
            ndp Nick Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.