DescriptionFix handling of async IO from pipes on Windows
The handling of async IO on Windows wrongly casted everything to a socket connection. For named pipe based connections this caused reading of invalid memory.
Moved some of the functions to a common superclass and only call showdown for socket connections. For named pipe based connections the Dart part of the code will never send shutdown commands as named pipe based connections start out being closed in one direction and closing the other direction causes a close command.
R=ager@google.com
BUG=dart:363
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=1308
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed review comments from ager@ #
Messages
Total messages: 3 (0 generated)
|