Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Unified Diff: sdk/lib/io/secure_socket.dart

Issue 1842703003: Fixes handling of short reads/writes for Mac SSL (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« runtime/bin/secure_socket_macos.cc ('K') | « runtime/bin/secure_socket_macos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/secure_socket.dart
diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart
index c271d77794f12673e56372aed54a7ba0279b3739..e9792036f3d11db2ef53e2c71419dda61b26d8e1 100644
--- a/sdk/lib/io/secure_socket.dart
+++ b/sdk/lib/io/secure_socket.dart
@@ -873,9 +873,9 @@ class _RawSecureSocket extends Stream<RawSocketEvent>
if (_status == CLOSED) return;
if (_filterStatus.progress) {
_filterPending = true;
+ if (_filterStatus.writeEncryptedNoLongerEmpty) _writeSocket();
Ivan Posva 2016/03/29 17:14:17 {}s
zra 2016/03/29 17:29:20 Done.
if (_filterStatus.writePlaintextNoLongerFull) _sendWriteEvent();
if (_filterStatus.readEncryptedNoLongerFull) _readSocket();
- if (_filterStatus.writeEncryptedNoLongerEmpty) _writeSocket();
if (_filterStatus.readPlaintextNoLongerEmpty) _scheduleReadEvent();
if (_status == HANDSHAKE) _secureHandshake();
}
« runtime/bin/secure_socket_macos.cc ('K') | « runtime/bin/secure_socket_macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698