SSLPlugin: add SNI to server request

This commit is contained in:
z3APA3A committed 2015-05-16 18:14:35 +03:00
1 parent d4f4e4a807
commit 1ab94fa002
6 files changed
+21 -13

No files matched your search

+7 -1
View File
@@ -58,13 +58,13 @@
#ifndef FD_SETSIZE
#define FD_SETSIZE 4096
#endif
#include <errno.h>
#include <signal.h>
#include <sys/uio.h>
#include <sys/time.h>
#include <unistd.h>
#include <pthread.h>
#include <syslog.h>
#include <errno.h>
#endif
#ifdef __CYGWIN__
@@ -77,7 +77,13 @@
#undef errno
#endif
#define errno WSAGetLastError()
#ifdef EAGAIN
#undef EAGAIN
#endif
#define EAGAIN WSAEWOULDBLOCK
#ifdef EINTR
#undef EINTR
#endif
#define EINTR WSAEWOULDBLOCK
#define SLEEPTIME 1
#define usleep Sleep