<p dir="auto">by <strong>roberto.catini</strong>:</p>
<pre class="notranslate">The comment for the P521 function partially reference another function:

At line 373 of the source code:
<a href="http://golang.org/src/pkg/crypto/elliptic/elliptic.go?s=11710:11727#L364" rel="nofollow">http://golang.org/src/pkg/crypto/elliptic/elliptic.go?s=11710:11727#L364</a>

the comment should read:
// P521 returns a Curve which implements P-521 (see FIPS 186-3, section D.2.5)</pre>
<p dir="auto">by <strong><a href="mailto:ilarkin@crystalnix.com">ilarkin@crystalnix.com</a></strong>:</p>
<pre class="notranslate">What does 'go version' print?

  go version go1.2 linux/amd64


What steps reproduce the problem?

  Code: <a href="http://play.golang.org/p/TasQabnlRu" rel="nofollow">http://play.golang.org/p/TasQabnlRu</a>

    1. Create a new *net.TCPConn (using net.Accept)
    2. Call File()
    3. Close new file
    4. Set Read Deadline to 5 seconds
    5. Start reading


What happened?

  The reading is never finishes. As the result i see the following output:

    &gt; New Connection: 127.0.0.1:33079
    &gt; Fd: 7
    &gt; 


What should have happened instead?

    &gt; New Connection: 127.0.0.1:33079
    &gt; Fd: 7
    &gt; Error: read tcp 127.0.0.1:33079: i/o timeout


Please provide any additional information below.

I'm trying to understand why this code sample doesn't work. As i understand, File()
creates a copy of the underlying fd. And the new fd has no effect to the original.

One more thing... If i use only the SetReadDeadline function - timeout doesn't work. But
if i use it in couple with the syscall.SetsockoptTimeval function - it works.</pre>