7805f03972
Before the underlying sockets where just silently closed causing no more IO events on active connections no matter what state they where in. Also added an optional "force" argument to HttpClient.shutdown. If that is false (the default) The HttpClient will not close active connections until they are done. This causes all pkg/http and pub tests to pass. R=ager@google.com, nweiz@google.com BUG=dart:6594 Review URL: https://codereview.chromium.org//11411121 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15275 260f80e4-7a28-3924-810f-c04153c831b5