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

Issue 1842703003: Fixes handling of short reads/writes for Mac SSL (Closed)

Created:
4 years, 8 months ago by zra
Modified:
4 years, 8 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fixes handling of short reads/writes for Mac SSL The SecureTransport API is a bit finicky about the return code and length from SSL{Read,Write}Callback. I think I've got it right now, but we'll have to keep an eye on it. Also a small tweak to avoid an extra trip through the event loop before putting a write event on the secure socket stream. related #26104 R=iposva@google.com Committed: https://github.com/dart-lang/sdk/commit/5cee7ff634e715f6b2b0c8bfa3980206545d6916

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -82 lines) Patch
M runtime/bin/secure_socket_macos.cc View 1 10 chunks +23 lines, -74 lines 0 comments Download
M sdk/lib/io/secure_socket.dart View 1 3 chunks +24 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (6 generated)
zra
4 years, 8 months ago (2016-03-29 16:54:19 UTC) #6
Ivan Posva
LGTM -ip https://codereview.chromium.org/1842703003/diff/1/runtime/bin/secure_socket_macos.cc File runtime/bin/secure_socket_macos.cc (right): https://codereview.chromium.org/1842703003/diff/1/runtime/bin/secure_socket_macos.cc#newcode1902 runtime/bin/secure_socket_macos.cc:1902: return noErr; return short_read ? errSSLWouldBlock : ...
4 years, 8 months ago (2016-03-29 17:14:17 UTC) #7
zra
https://codereview.chromium.org/1842703003/diff/1/runtime/bin/secure_socket_macos.cc File runtime/bin/secure_socket_macos.cc (right): https://codereview.chromium.org/1842703003/diff/1/runtime/bin/secure_socket_macos.cc#newcode1902 runtime/bin/secure_socket_macos.cc:1902: return noErr; On 2016/03/29 17:14:16, Ivan Posva wrote: > ...
4 years, 8 months ago (2016-03-29 17:29:20 UTC) #8
zra
4 years, 8 months ago (2016-03-29 17:30:14 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5cee7ff634e715f6b2b0c8bfa3980206545d6916 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698