зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1283943: Add some logging to help diagnose. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D37127 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c65418aead
Коммит
38430c2de2
|
@ -865,7 +865,10 @@ int NrSocket::connect(nr_transport_addr* addr) {
|
|||
connect_invoked_ = true;
|
||||
connect_status = PR_Connect(fd_, &naddr, PR_INTERVAL_NO_WAIT);
|
||||
if (connect_status != PR_SUCCESS) {
|
||||
if (PR_GetError() != PR_IN_PROGRESS_ERROR) ABORT(R_IO_ERROR);
|
||||
if (PR_GetError() != PR_IN_PROGRESS_ERROR) {
|
||||
r_log(LOG_GENERIC, LOG_CRIT, "PR_Connect failed: %d", PR_GetError());
|
||||
ABORT(R_IO_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
// If our local address is wildcard, then fill in the
|
||||
|
|
Загрузка…
Ссылка в новой задаче