<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:26 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-1409] Test that topology scanner is still async with TLS</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1409</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Use the mock_server_t for end-to-end testing of the driver&apos;s topology scanner, especially that it is still async &amp;#8211; ensuring we avoided introducing blocking code into the scanner was a focus of the native TLS code reviews (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-749&quot; title=&quot;NativeTLS: Don&amp;#39;t depend on OpenSSL on Windows and Mac OS X&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-749&quot;&gt;&lt;del&gt;CDRIVER-749&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Now that we use SSL_shutdown on OpenSSL connections (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1147&quot; title=&quot;Use SSL_shutdown on OpenSSL connections?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1147&quot;&gt;&lt;del&gt;CDRIVER-1147&lt;/del&gt;&lt;/a&gt;), the mock server must detect client-side remote shutdown, otherwise mongoc_client_destroy will hang for socketTimeoutMS when connected to mock_server_t with OpenSSL.&lt;/p&gt;</description>
                <environment></environment>
        <key id="303207">CDRIVER-1409</key>
            <summary>Test that topology scanner is still async with TLS</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Jul 2016 10:39:33 +0000</created>
                <updated>Thu, 25 Jan 2018 18:05:29 +0000</updated>
                            <resolved>Thu, 25 Jan 2018 18:05:29 +0000</resolved>
                                    <version>1.4.0</version>
                                    <fixVersion>1.10.0</fixVersion>
                                    <component>tests</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1785045" author="jesse" created="Thu, 25 Jan 2018 18:05:29 +0000"  >&lt;p&gt;The mock server can accept SSL connections with OpenSSL, so we test that the scanner is async with OpenSSL builds.&lt;/p&gt;

&lt;p&gt;I&apos;ve manually verified that the scanner is async with Windows SChannel, but I won&apos;t implement the server side of SSL with SChannel in the mock server.&lt;/p&gt;

&lt;p&gt;Apple Secure Transport is still blocking; that&apos;s ok so long as programmers only use Mac OS X for development, not deployment.&lt;/p&gt;</comment>
                            <comment id="1766837" author="xgen-internal-githook" created="Sat, 6 Jan 2018 00:28:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1409&quot; title=&quot;Test that topology scanner is still async with TLS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1409&quot;&gt;&lt;del&gt;CDRIVER-1409&lt;/del&gt;&lt;/a&gt; test openssl handshake is async, 2&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/aa0f6974d72e3981cb5df0881ff71991e9e5c3b5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/aa0f6974d72e3981cb5df0881ff71991e9e5c3b5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1766799" author="xgen-internal-githook" created="Fri, 5 Jan 2018 23:20:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1409&quot; title=&quot;Test that topology scanner is still async with TLS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1409&quot;&gt;&lt;del&gt;CDRIVER-1409&lt;/del&gt;&lt;/a&gt; test that openssl handshake is async&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/51fd187bc76fce3ed8715baa773e92726340ef13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/51fd187bc76fce3ed8715baa773e92726340ef13&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1352060" author="jesse" created="Tue, 9 Aug 2016 21:31:00 +0000"  >&lt;p&gt;I have a test in my local checkout that proves what we want to prove. It works with OpenSSL, and works with Secure Transport (Apple) for up to 8 mock servers, but hangs with 9. Haven&apos;t tried Secure Channel (Windows) at all.&lt;/p&gt;</comment>
                            <comment id="1350983" author="xgen-internal-githook" created="Tue, 9 Aug 2016 02:48:41 +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: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1409&quot; title=&quot;Test that topology scanner is still async with TLS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1409&quot;&gt;&lt;del&gt;CDRIVER-1409&lt;/del&gt;&lt;/a&gt; test that TLS scanner is async&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 8642ac1a6dd26cc265fbd25c35d7134a21deb0ae.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ded4667adf36b003b998d2795412fc7c034af255&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ded4667adf36b003b998d2795412fc7c034af255&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1342506" author="xgen-internal-githook" created="Sun, 31 Jul 2016 19:59:27 +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-1409&quot; title=&quot;Test that topology scanner is still async with TLS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1409&quot;&gt;&lt;del&gt;CDRIVER-1409&lt;/del&gt;&lt;/a&gt; openssl_check_closed was always true&lt;/p&gt;

&lt;p&gt;BIO_get_shutdown doesn&apos;t do what I thought: it doesn&apos;t check whether the&lt;br/&gt;
socket has been closed, it returns the state of a config flag, which&lt;br/&gt;
was always true. Caused /Client/exhaust_cursor/single tests to fail&lt;br/&gt;
with &quot;error: connection closed&quot;.&lt;/p&gt;

&lt;p&gt;It was only this test that failed because the driver only calls&lt;br/&gt;
check_closed in single-client mode on a socket idle for 1 second, and&lt;br/&gt;
only since #3c81f4f6 does this test pause a full second.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a9739598717eb82a214b7d3fbf922b666f7b345e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a9739598717eb82a214b7d3fbf922b666f7b345e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1337841" author="xgen-internal-githook" created="Wed, 27 Jul 2016 16:56:03 +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-1409&quot; title=&quot;Test that topology scanner is still async with TLS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1409&quot;&gt;&lt;del&gt;CDRIVER-1409&lt;/del&gt;&lt;/a&gt; better style in test&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/1400057ebc1dec21419314a3f4af8bb03ce6298b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/1400057ebc1dec21419314a3f4af8bb03ce6298b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1333000" author="xgen-internal-githook" created="Fri, 22 Jul 2016 19:03:59 +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-1409&quot; title=&quot;Test that topology scanner is still async with TLS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1409&quot;&gt;&lt;del&gt;CDRIVER-1409&lt;/del&gt;&lt;/a&gt; test that TLS scanner is async&lt;/p&gt;

&lt;p&gt;Also detect remote TLS shutdown: Only matters for the server sockets we&lt;br/&gt;
use in TLS tests; in production it is the driver that shuts down TLS&lt;br/&gt;
connections.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/8642ac1a6dd26cc265fbd25c35d7134a21deb0ae&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/8642ac1a6dd26cc265fbd25c35d7134a21deb0ae&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="339017">CDRIVER-1956</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="304444">CDRIVER-1423</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="307250">CDRIVER-1458</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="270919">CDRIVER-1147</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-749</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrau6n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1164">C Driver 2016 sprint 6</customfieldvalue>
    <customfieldvalue id="1203">C Driver 2016 sprint 7</customfieldvalue>
    <customfieldvalue id="1255">C Driver 2016 sprint 8</customfieldvalue>
    <customfieldvalue id="1301">C Driver 2016 sprint 9</customfieldvalue>
    <customfieldvalue id="1641">C Driver 2017 3 - March 7</customfieldvalue>
    <customfieldvalue id="1666">C Driver 2017 3 - March 8</customfieldvalue>

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