Merge branch 'maint-0.2.1' into release-0.2.1
This commit is contained in:
commit
16946d7e36
|
@ -0,0 +1,3 @@
|
|||
o Minor features
|
||||
- Build correctly on mingw with more recent version of OpenSSL 0.9.8.
|
||||
Patch from mingw-san.
|
|
@ -17,6 +17,17 @@
|
|||
#include "orconfig.h"
|
||||
|
||||
#include <assert.h>
|
||||
#ifdef MS_WINDOWS /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
|
||||
#define WIN32_WINNT 0x400
|
||||
#define _WIN32_WINNT 0x400
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1300)
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/ssl3.h>
|
||||
#include <openssl/err.h>
|
||||
|
|
|
@ -166,7 +166,7 @@ errno_to_stream_end_reason(int e)
|
|||
S_CASE(ENOTCONN):
|
||||
S_CASE(ENETUNREACH):
|
||||
return END_STREAM_REASON_INTERNAL;
|
||||
E_CASE(EHOSTUNREACH):
|
||||
S_CASE(EHOSTUNREACH):
|
||||
/* XXXX022
|
||||
* The correct behavior is END_STREAM_REASON_NOROUTE, but older
|
||||
* clients don't recognize it. So we're going to continue sending
|
||||
|
|
Loading…
Reference in New Issue