<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:09:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-547] inappropriate use of sasl_client_init and sasl_client_done</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-547</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;sasl_client_init() and sasl_client_done() are supposed to be global load/unload functions.  We call them for each sasl connection we initialize, which seems wrong.&lt;/p&gt;

&lt;p&gt;Also, sasl_client_init() and done() aren&apos;t thread safe... We should probably be running those in the driver init() / cleanup().  Also, take a look at whether we need sasl_set_mutex().&lt;/p&gt;</description>
                <environment></environment>
        <key id="186496">CDRIVER-547</key>
            <summary>inappropriate use of sasl_client_init and sasl_client_done</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="mira.carey@mongodb.com">Mira Carey</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Feb 2015 21:48:17 +0000</created>
                <updated>Mon, 17 Aug 2015 19:03:27 +0000</updated>
                            <resolved>Mon, 8 Jun 2015 17:43:11 +0000</resolved>
                                    <version>1.1.0</version>
                                    <fixVersion>1.2-beta0</fixVersion>
                                    <component>auth</component>
                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="997323" author="xgen-internal-githook" created="Wed, 5 Aug 2015 17:22:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-547&quot; title=&quot;inappropriate use of sasl_client_init and sasl_client_done&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-547&quot;&gt;&lt;del&gt;CDRIVER-547&lt;/del&gt;&lt;/a&gt; fix sasl concurrency&lt;/p&gt;

&lt;p&gt;(cherry picked from commit cd5c234b5b9a53ccef702936c3ba75f662dffab6)&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	build/cmake/FindSASL2.cmake&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c3c14f431864c82f670581c0e380cef9047cfb96&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c3c14f431864c82f670581c0e380cef9047cfb96&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="997322" author="xgen-internal-githook" created="Wed, 5 Aug 2015 17:22:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-547&quot; title=&quot;inappropriate use of sasl_client_init and sasl_client_done&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-547&quot;&gt;&lt;del&gt;CDRIVER-547&lt;/del&gt;&lt;/a&gt; show that concurrent sasl fails&lt;br/&gt;
(cherry picked from commit 817fe03)&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/b50a9df7eb49427a903b40a67d7a56c60248384a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/b50a9df7eb49427a903b40a67d7a56c60248384a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="938552" author="xgen-internal-githook" created="Fri, 12 Jun 2015 02:34:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-547&quot; title=&quot;inappropriate use of sasl_client_init and sasl_client_done&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-547&quot;&gt;&lt;del&gt;CDRIVER-547&lt;/del&gt;&lt;/a&gt; fix sasl concurrency&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/cd5c234b5b9a53ccef702936c3ba75f662dffab6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/cd5c234b5b9a53ccef702936c3ba75f662dffab6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="938551" author="xgen-internal-githook" created="Fri, 12 Jun 2015 02:34:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-547&quot; title=&quot;inappropriate use of sasl_client_init and sasl_client_done&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-547&quot;&gt;&lt;del&gt;CDRIVER-547&lt;/del&gt;&lt;/a&gt; show that concurrent sasl fails&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/817fe031c2101dcd6e643521ffa01d2a0ebe401e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/817fe031c2101dcd6e643521ffa01d2a0ebe401e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="932928" author="xgen-internal-githook" created="Fri, 5 Jun 2015 18:07:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-547&quot; title=&quot;inappropriate use of sasl_client_init and sasl_client_done&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-547&quot;&gt;&lt;del&gt;CDRIVER-547&lt;/del&gt;&lt;/a&gt; fix sasl concurrency&lt;/p&gt;

&lt;p&gt;(cherry picked from commit cd5c234b5b9a53ccef702936c3ba75f662dffab6)&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	build/cmake/FindSASL2.cmake&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c3c14f431864c82f670581c0e380cef9047cfb96&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c3c14f431864c82f670581c0e380cef9047cfb96&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="932927" author="xgen-internal-githook" created="Fri, 5 Jun 2015 18:07:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-547&quot; title=&quot;inappropriate use of sasl_client_init and sasl_client_done&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-547&quot;&gt;&lt;del&gt;CDRIVER-547&lt;/del&gt;&lt;/a&gt; show that concurrent sasl fails&lt;br/&gt;
(cherry picked from commit 817fe03)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/b50a9df7eb49427a903b40a67d7a56c60248384a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/b50a9df7eb49427a903b40a67d7a56c60248384a&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="184536">CDRIVER-530</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="214337">CDRIVER-731</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrf7q7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>164236</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="557">C Driver 2015Q2 sprint 2</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>