git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48519ce
)
Logging: avoid claiming a host was used for an addr, when conn refused under TFO
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 25 May 2019 14:18:19 +0000
(15:18 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 25 May 2019 23:05:27 +0000
(
00:05
+0100)
src/src/transports/smtp.c
patch
|
blob
|
history
diff --git
a/src/src/transports/smtp.c
b/src/src/transports/smtp.c
index 128ac9a35019f4fe4a41fb8e7a0208f515884d2b..6ce4c9ded56fbda4efaa6830e36d50626a90d4a1 100644
(file)
--- a/
src/src/transports/smtp.c
+++ b/
src/src/transports/smtp.c
@@
-2901,7
+2901,8
@@
FAILED:
|| errno == ERRNO_UTF8_FWD
#endif
? FAIL : DEFER,
- pass_message, sx->conn_args.host
+ pass_message,
+ errno == ECONNREFUSED ? NULL : sx->conn_args.host
#ifdef EXPERIMENTAL_DSN_INFO
, sx->smtp_greeting, sx->helo_response
#endif