diff options
Diffstat (limited to 'pjlib/include/pj/config.h')
-rw-r--r-- | pjlib/include/pj/config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index 6d5e17bc..bf05cbae 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -801,6 +801,17 @@ #endif +/** + * Disable WSAECONNRESET error for UDP sockets on Win32 platforms. See + * https://trac.pjsip.org/repos/ticket/1197. + * + * Default: 1 + */ +#ifndef PJ_SOCK_DISABLE_WSAECONNRESET +# define PJ_SOCK_DISABLE_WSAECONNRESET 1 +#endif + + /** @} */ /******************************************************************** |