message: Improve error handling for AsyncSSLSocket::OnConnectEvent
  Don't DCHECK that network send is successful, it may fail, e.g., EPIPE
  if remote end has disconnected.
  Cr-Commit-Position: refs/heads/master@{#34821}
diff: @@ -182,7 +182,10 @@ void AsyncSSLSocket::OnConnectEvent(Socket* socket) {
  RTC_DCHECK(socket == GetSocket());
  // TODO: we could buffer output too...
  const int res = DirectSend(kSslClientHello, sizeof(kSslClientHello));
  - RTC_DCHECK_EQ(sizeof(kSslClientHello), res);
  + if (res != sizeof(kSslClientHello)) {
  + Close();
  + SignalCloseEvent(this, 0);
  + }
  }
  void AsyncSSLSocket::ProcessInput(char* data, size_t* len) {
  