X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c1fb74d63ecf0cd1501e53352419bfdfd154b7ea..3d040d098384c48be39e47862d55cac1bc0c578c:/src/src/exim.h diff --git a/src/src/exim.h b/src/src/exim.h index 8bbeecb4d..9d1819677 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -522,7 +522,8 @@ extern int ferror(FILE *); /* The header from the PCRE regex package */ -#include +#define PCRE2_CODE_UNIT_WIDTH 8 +#include /* Exim includes are in several files. Note that local_scan.h #includes config.h, mytypes.h, and store.h, so we don't need to mention them explicitly. @@ -530,11 +531,12 @@ config.h, mytypes.h, and store.h, so we don't need to mention them explicitly. #include "local_scan.h" #include "macros.h" -#include "dbstuff.h" +#include "hintsdb.h" +#include "hintsdb_structs.h" #include "structs.h" #include "blob.h" -#include "globals.h" #include "hash.h" +#include "globals.h" #include "functions.h" #include "dbfunctions.h" #include "osfunctions.h" @@ -545,9 +547,6 @@ config.h, mytypes.h, and store.h, so we don't need to mention them explicitly. #ifdef SUPPORT_SPF # include "spf.h" #endif -#ifdef EXPERIMENTAL_SRS_ALT -# include "srs.h" -#endif #ifndef DISABLE_DKIM # include "dkim.h" #endif @@ -659,5 +658,13 @@ default to EDQUOT if it exists, otherwise ENOSPC. */ # define EXIM_TCP_CORK TCP_NOPUSH #endif +/* LibreSSL seems to not push out the SMTP response to QUIT with our usual +handling which is trying to get the client to FIN first so that the server does +not get the TIME_WAIT */ + +#if !defined(DISABLE_TLS) && defined(USE_OPENSSL) && defined(LIBRESSL_VERSION_NUMBER) +# define SERVERSIDE_CLOSE_NOWAIT +#endif + #endif /* End of exim.h */