<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:49 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>[GODRIVER-1636] TLS hostname should always be set</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1636</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The &lt;tt&gt;connection.configureTLS&lt;/tt&gt; method only sets hostname if &lt;tt&gt;tls.Config.InsecureSkipVerify&lt;/tt&gt; is false (i.e. tlsInsecure=false). The hostname should always be set because it can be used server-side for SNI. In the case that InsecureSkipVerify=true, Go&apos;s TLS library will skip hostname verification anyway (&lt;a href=&quot;https://github.com/golang/go/blob/master/src/crypto/tls/handshake_client.go#L830&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/golang/go/blob/master/src/crypto/tls/handshake_client.go#L830&lt;/a&gt;), so setting it makes no difference for client-side checks.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1368724">GODRIVER-1636</key>
            <summary>TLS hostname should always be set</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="13201">Fixed</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="divjot.arora@mongodb.com">Divjot Arora</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Jun 2020 22:17:03 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:10 +0000</updated>
                            <resolved>Wed, 10 Jun 2020 21:50:01 +0000</resolved>
                                                    <fixVersion>1.3.5</fixVersion>
                                    <component>Connections</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3204128" author="xgen-internal-githook" created="Wed, 10 Jun 2020 21:49:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1636&quot; title=&quot;TLS hostname should always be set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1636&quot;&gt;&lt;del&gt;GODRIVER-1636&lt;/del&gt;&lt;/a&gt; Ensure SNI is always enabled (#418)&lt;br/&gt;
Branch: release/1.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/a10006ac149c569c8d49766a8c26b2f9240bb00d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/a10006ac149c569c8d49766a8c26b2f9240bb00d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3204099" author="xgen-internal-githook" created="Wed, 10 Jun 2020 21:38:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1636&quot; title=&quot;TLS hostname should always be set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1636&quot;&gt;&lt;del&gt;GODRIVER-1636&lt;/del&gt;&lt;/a&gt; Ensure SNI is always enabled (#418)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/a09c53c83b3d2b66c24dc8333711a2292e10a9f2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/a09c53c83b3d2b66c24dc8333711a2292e10a9f2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3197596" author="divjot.arora" created="Tue, 9 Jun 2020 17:13:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/418&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/418&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3181143" author="may.hoque" created="Tue, 2 Jun 2020 16:30:07 +0000"  >&lt;p&gt;Yes, and this should affect really any user of the driver that needs SNI to provide the hostname. Supposedly this also includes &lt;tt&gt;sqlproxy&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;The change to get this working was to simply remove the if statement starting at L523 &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/cce6057da41a1fe781510ebd3f0da67fb0d70fc0/x/mongo/driver/topology/connection.go#L523-L532&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; and execute the code in all cases.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr515r:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>