Dave Cheney c1c0bfbd3a go.crypto/ssh: prevent channel writes after Close
Fixes golang/go#3810.

This change introduces an atomic boolean to guard the close
of the clientChan. Previously the client code was quite
lax with the ordering of the close messages and could allow
window adjustment or EOF messages to leak after Close had
been signaled.

Consolidating the changes to the serverChan will be handled
in a following CL.

R=agl, kardianos, gustav.paul
CC=golang-dev
https://golang.org/cl/6405064
2012-08-24 09:46:44 +10:00
2012-07-16 09:37:31 -04:00
2012-01-25 15:31:12 -05:00
2012-07-27 12:54:55 -04:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-07-26 19:56:54 -04:00
2012-02-01 14:20:27 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-07-12 11:14:12 -04:00
2012-03-17 15:19:30 +11:00
2012-01-25 15:31:12 -05:00

This repository holds supplementary Go cryptography libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.
S
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
Readme BSD-3-Clause
8.1 MiB
Languages
Go 88.6%
Assembly 11.1%
C 0.3%