<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39:39 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>[CSHARP-1454] SocketTimeout not honored with Async reads</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1454</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;As a workaround to the infinite hanging on tailable cursors during an Azure VIP swap, &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-775&quot; title=&quot;Tailable cursor blocks forever when connection is lost&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-775&quot;&gt;&lt;del&gt;CSHARP-775&lt;/del&gt;&lt;/a&gt; suggests to change SocketTimeout.   But it appears that this is no longer working with 2.x Async driver as the code merely sets the ReadTimeout of the underlying NetworkStream, which is ignored for Async reads.    (see &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/bk6w7hs8%28v=vs.110%29.aspx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://msdn.microsoft.com/en-us/library/bk6w7hs8%28v=vs.110%29.aspx&lt;/a&gt; which indicates: &quot;This property does not affect asynchronous reads performed by calling the BeginRead method&quot;).   &lt;/p&gt;

&lt;p&gt;It appears the Async Connection code manually sets a timer to apply the a connection timeout, but does not do anything similar for async reads.   Thus the SocketTimeout setting seems to be completely broken at the moment.&lt;/p&gt;</description>
                <environment>Windows</environment>
        <key id="235123">CSHARP-1454</key>
            <summary>SocketTimeout not honored with Async reads</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="katoa">Brian Anderton</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Oct 2015 22:40:42 +0000</created>
                <updated>Sun, 4 Feb 2018 23:19:33 +0000</updated>
                            <resolved>Wed, 18 Nov 2015 20:43:47 +0000</resolved>
                                    <version>2.0.1</version>
                    <version>2.1</version>
                                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1092171" author="craiggwilson" created="Wed, 18 Nov 2015 20:43:47 +0000"  >&lt;p&gt;We introducing a sync stack into the 2.2 driver which will honor this setting. Since this is a documented &quot;feature&quot; of async sockets, we are going to leave this alone.&lt;/p&gt;</comment>
                            <comment id="1064947" author="craiggwilson" created="Mon, 19 Oct 2015 22:42:49 +0000"  >&lt;p&gt;Hi Brian, &lt;/p&gt;

&lt;p&gt;As I stated in a comment in &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-775&quot; title=&quot;Tailable cursor blocks forever when connection is lost&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-775&quot;&gt;&lt;del&gt;CSHARP-775&lt;/del&gt;&lt;/a&gt;, async sockets simply don&apos;t obey these settings. We&apos;ll be introducing a sync stack back into driver version 2.2 which will start honoring these settings again.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="234750">CSHARP-1448</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="82260">CSHARP-775</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsd32f:</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="771">C# Sprint 28</customfieldvalue>

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