diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-01-21 07:15:22 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-01-21 07:15:22 +0000 |
commit | 655354a2fb0081171025ed3dcd934193c11473c3 (patch) | |
tree | b4735de106f2d3c2d47184508b455c6e4297a433 /pjlib/include | |
parent | af600af2db9959eec72c28545df14e43d309099f (diff) |
Fixed #1197: WSAECONNRESET errors on Windows 2000 or 2003 may cause UDP transport to stop working
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3408 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-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 + + /** @} */ /******************************************************************** |