| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // VMOptions= | 5 // VMOptions= |
| 6 // VMOptions=--short_socket_read | 6 // VMOptions=--short_socket_read |
| 7 // VMOptions=--short_socket_write | 7 // VMOptions=--short_socket_write |
| 8 // VMOptions=--short_socket_read --short_socket_write | 8 // VMOptions=--short_socket_read --short_socket_write |
| 9 // OtherResources=certificates/server_chain.pem | 9 // OtherResources=certificates/server_chain.pem |
| 10 // OtherResources=certificates/server_key.pem | 10 // OtherResources=certificates/server_key.pem |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // This test creates a server and a client connects. The client then | 151 // This test creates a server and a client connects. The client then |
| 152 // writes and the server echos. When the server has finished its echo | 152 // writes and the server echos. When the server has finished its echo |
| 153 // it half-closes. When the client gets the close event is closes | 153 // it half-closes. When the client gets the close event is closes |
| 154 // fully. | 154 // fully. |
| 155 // | 155 // |
| 156 // The test can be run in different configurations based on | 156 // The test can be run in different configurations based on |
| 157 // the boolean arguments: | 157 // the boolean arguments: |
| 158 // | 158 // |
| 159 // listenSecure | 159 // listenSecure |
| 160 // When this argument is true a secure server is used. When this is false | 160 // When this argument is true a secure server is used. When this is false |
| 161 // a non-secure server is used and the connections are secured after beeing | 161 // a non-secure server is used and the connections are secured after being |
| 162 // connected. | 162 // connected. |
| 163 // | 163 // |
| 164 // connectSecure | 164 // connectSecure |
| 165 // When this argument is true a secure client connection is used. When this | 165 // When this argument is true a secure client connection is used. When this |
| 166 // is false a non-secure client connection is used and the connection is | 166 // is false a non-secure client connection is used and the connection is |
| 167 // secured after being connected. | 167 // secured after being connected. |
| 168 // | 168 // |
| 169 // handshakeBeforeSecure | 169 // handshakeBeforeSecure |
| 170 // When this argument is true some initial clear text handshake is done | 170 // When this argument is true some initial clear text handshake is done |
| 171 // between client and server before the connection is secured. This argument | 171 // between client and server before the connection is secured. This argument |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 listenSecure: false, | 660 listenSecure: false, |
| 661 connectSecure: false, | 661 connectSecure: false, |
| 662 handshakeBeforeSecure: true, | 662 handshakeBeforeSecure: true, |
| 663 postponeSecure: true, | 663 postponeSecure: true, |
| 664 dropReads: true); | 664 dropReads: true); |
| 665 testPausedSecuringSubscription(false, false); | 665 testPausedSecuringSubscription(false, false); |
| 666 testPausedSecuringSubscription(true, false); | 666 testPausedSecuringSubscription(true, false); |
| 667 testPausedSecuringSubscription(false, true); | 667 testPausedSecuringSubscription(false, true); |
| 668 testPausedSecuringSubscription(true, true); | 668 testPausedSecuringSubscription(true, true); |
| 669 } | 669 } |
| OLD | NEW |