Upgrade websockets to 1.7.8 and enable support for IPV6.
This commit is contained in:
parent
22961548a8
commit
c7e49e2c3c
|
|
@ -146,10 +146,12 @@ struct sockaddr_in;
|
|||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#define LWS_O_RDONLY _O_RDONLY
|
||||
|
||||
#define snprintf _snprintf
|
||||
|
||||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -166,8 +168,15 @@ struct sockaddr_in;
|
|||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
|
||||
/* warn_unused_result attribute only supported by GCC 3.4 or later */
|
||||
#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
#define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define LWS_WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
#define LWS_WARN_DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
#define LWS_VISIBLE
|
||||
|
|
@ -1492,7 +1501,7 @@ lws_ev_sigint_cb(struct ev_loop *loop, struct ev_signal *watcher, int revents);
|
|||
#endif /* LWS_USE_LIBEV */
|
||||
|
||||
#ifdef LWS_USE_LIBUV
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int revents);
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int signum);
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
lws_uv_sigint_cfg(struct lws_context *context, int use_uv_sigint,
|
||||
|
|
@ -1511,7 +1520,7 @@ LWS_VISIBLE LWS_EXTERN uv_loop_t *
|
|||
lws_uv_getloop(struct lws_context *context, int tsi);
|
||||
|
||||
LWS_VISIBLE void
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int revents);
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int signum);
|
||||
#endif /* LWS_USE_LIBUV */
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@
|
|||
/* #undef USE_OLD_CYASSL */
|
||||
|
||||
/* The Libwebsocket version */
|
||||
#define LWS_LIBRARY_VERSION "1.7.4"
|
||||
#define LWS_LIBRARY_VERSION "1.7.8"
|
||||
|
||||
#define LWS_LIBRARY_VERSION_MAJOR 1
|
||||
#define LWS_LIBRARY_VERSION_MINOR 7
|
||||
#define LWS_LIBRARY_VERSION_PATCH 4
|
||||
#define LWS_LIBRARY_VERSION_PATCH 8
|
||||
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
|
||||
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
|
||||
|
||||
/* The current git commit hash that we're building from */
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-47-g7179094"
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-49-g9369eea"
|
||||
|
||||
/* Build with OpenSSL support */
|
||||
/* #undef LWS_OPENSSL_SUPPORT */
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
/* #undef LWS_USE_LIBUV */
|
||||
|
||||
/* Build with support for ipv6 */
|
||||
/* #undef LWS_USE_IPV6 */
|
||||
#define LWS_USE_IPV6
|
||||
|
||||
/* Build with support for HTTP2 */
|
||||
/* #undef LWS_USE_HTTP2 */
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -146,10 +146,12 @@ struct sockaddr_in;
|
|||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#define LWS_O_RDONLY _O_RDONLY
|
||||
|
||||
#define snprintf _snprintf
|
||||
|
||||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -166,8 +168,15 @@ struct sockaddr_in;
|
|||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
|
||||
/* warn_unused_result attribute only supported by GCC 3.4 or later */
|
||||
#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
#define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define LWS_WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
#define LWS_WARN_DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
#define LWS_VISIBLE
|
||||
|
|
@ -1492,7 +1501,7 @@ lws_ev_sigint_cb(struct ev_loop *loop, struct ev_signal *watcher, int revents);
|
|||
#endif /* LWS_USE_LIBEV */
|
||||
|
||||
#ifdef LWS_USE_LIBUV
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int revents);
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int signum);
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
lws_uv_sigint_cfg(struct lws_context *context, int use_uv_sigint,
|
||||
|
|
@ -1511,7 +1520,7 @@ LWS_VISIBLE LWS_EXTERN uv_loop_t *
|
|||
lws_uv_getloop(struct lws_context *context, int tsi);
|
||||
|
||||
LWS_VISIBLE void
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int revents);
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int signum);
|
||||
#endif /* LWS_USE_LIBUV */
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@
|
|||
/* #undef USE_OLD_CYASSL */
|
||||
|
||||
/* The Libwebsocket version */
|
||||
#define LWS_LIBRARY_VERSION "1.7.4"
|
||||
#define LWS_LIBRARY_VERSION "1.7.8"
|
||||
|
||||
#define LWS_LIBRARY_VERSION_MAJOR 1
|
||||
#define LWS_LIBRARY_VERSION_MINOR 7
|
||||
#define LWS_LIBRARY_VERSION_PATCH 4
|
||||
#define LWS_LIBRARY_VERSION_PATCH 8
|
||||
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
|
||||
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
|
||||
|
||||
/* The current git commit hash that we're building from */
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-47-g7179094"
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-49-g9369eea"
|
||||
|
||||
/* Build with OpenSSL support */
|
||||
/* #undef LWS_OPENSSL_SUPPORT */
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
/* #undef LWS_USE_LIBUV */
|
||||
|
||||
/* Build with support for ipv6 */
|
||||
/* #undef LWS_USE_IPV6 */
|
||||
#define LWS_USE_IPV6
|
||||
|
||||
/* Build with support for HTTP2 */
|
||||
/* #undef LWS_USE_HTTP2 */
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -146,10 +146,12 @@ struct sockaddr_in;
|
|||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#define LWS_O_RDONLY _O_RDONLY
|
||||
|
||||
#define snprintf _snprintf
|
||||
|
||||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -166,8 +168,15 @@ struct sockaddr_in;
|
|||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
|
||||
/* warn_unused_result attribute only supported by GCC 3.4 or later */
|
||||
#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
#define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define LWS_WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
#define LWS_WARN_DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
#define LWS_VISIBLE
|
||||
|
|
@ -1492,7 +1501,7 @@ lws_ev_sigint_cb(struct ev_loop *loop, struct ev_signal *watcher, int revents);
|
|||
#endif /* LWS_USE_LIBEV */
|
||||
|
||||
#ifdef LWS_USE_LIBUV
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int revents);
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int signum);
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
lws_uv_sigint_cfg(struct lws_context *context, int use_uv_sigint,
|
||||
|
|
@ -1511,7 +1520,7 @@ LWS_VISIBLE LWS_EXTERN uv_loop_t *
|
|||
lws_uv_getloop(struct lws_context *context, int tsi);
|
||||
|
||||
LWS_VISIBLE void
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int revents);
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int signum);
|
||||
#endif /* LWS_USE_LIBUV */
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@
|
|||
/* #undef USE_OLD_CYASSL */
|
||||
|
||||
/* The Libwebsocket version */
|
||||
#define LWS_LIBRARY_VERSION "1.7.4"
|
||||
#define LWS_LIBRARY_VERSION "1.7.8"
|
||||
|
||||
#define LWS_LIBRARY_VERSION_MAJOR 1
|
||||
#define LWS_LIBRARY_VERSION_MINOR 7
|
||||
#define LWS_LIBRARY_VERSION_PATCH 4
|
||||
#define LWS_LIBRARY_VERSION_PATCH 8
|
||||
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
|
||||
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
|
||||
|
||||
/* The current git commit hash that we're building from */
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-47-g7179094"
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-49-g9369eea"
|
||||
|
||||
/* Build with OpenSSL support */
|
||||
/* #undef LWS_OPENSSL_SUPPORT */
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
/* #undef LWS_USE_LIBUV */
|
||||
|
||||
/* Build with support for ipv6 */
|
||||
/* #undef LWS_USE_IPV6 */
|
||||
#define LWS_USE_IPV6
|
||||
|
||||
/* Build with support for HTTP2 */
|
||||
/* #undef LWS_USE_HTTP2 */
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -146,10 +146,12 @@ struct sockaddr_in;
|
|||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#define LWS_O_RDONLY _O_RDONLY
|
||||
|
||||
#define snprintf _snprintf
|
||||
|
||||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -166,8 +168,15 @@ struct sockaddr_in;
|
|||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
|
||||
/* warn_unused_result attribute only supported by GCC 3.4 or later */
|
||||
#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
#define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define LWS_WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
#define LWS_WARN_DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
#define LWS_VISIBLE
|
||||
|
|
@ -1492,7 +1501,7 @@ lws_ev_sigint_cb(struct ev_loop *loop, struct ev_signal *watcher, int revents);
|
|||
#endif /* LWS_USE_LIBEV */
|
||||
|
||||
#ifdef LWS_USE_LIBUV
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int revents);
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int signum);
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
lws_uv_sigint_cfg(struct lws_context *context, int use_uv_sigint,
|
||||
|
|
@ -1511,7 +1520,7 @@ LWS_VISIBLE LWS_EXTERN uv_loop_t *
|
|||
lws_uv_getloop(struct lws_context *context, int tsi);
|
||||
|
||||
LWS_VISIBLE void
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int revents);
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int signum);
|
||||
#endif /* LWS_USE_LIBUV */
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@
|
|||
/* #undef USE_OLD_CYASSL */
|
||||
|
||||
/* The Libwebsocket version */
|
||||
#define LWS_LIBRARY_VERSION "1.7.4"
|
||||
#define LWS_LIBRARY_VERSION "1.7.8"
|
||||
|
||||
#define LWS_LIBRARY_VERSION_MAJOR 1
|
||||
#define LWS_LIBRARY_VERSION_MINOR 7
|
||||
#define LWS_LIBRARY_VERSION_PATCH 4
|
||||
#define LWS_LIBRARY_VERSION_PATCH 8
|
||||
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
|
||||
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
|
||||
|
||||
/* The current git commit hash that we're building from */
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-47-g7179094"
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-49-g9369eea"
|
||||
|
||||
/* Build with OpenSSL support */
|
||||
/* #undef LWS_OPENSSL_SUPPORT */
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
/* #undef LWS_USE_LIBUV */
|
||||
|
||||
/* Build with support for ipv6 */
|
||||
/* #undef LWS_USE_IPV6 */
|
||||
#define LWS_USE_IPV6
|
||||
|
||||
/* Build with support for HTTP2 */
|
||||
/* #undef LWS_USE_HTTP2 */
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -146,10 +146,12 @@ struct sockaddr_in;
|
|||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#define LWS_O_RDONLY _O_RDONLY
|
||||
|
||||
#define snprintf _snprintf
|
||||
|
||||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -166,8 +168,15 @@ struct sockaddr_in;
|
|||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
|
||||
/* warn_unused_result attribute only supported by GCC 3.4 or later */
|
||||
#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
#define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define LWS_WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
#define LWS_WARN_DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
#define LWS_VISIBLE
|
||||
|
|
@ -1492,7 +1501,7 @@ lws_ev_sigint_cb(struct ev_loop *loop, struct ev_signal *watcher, int revents);
|
|||
#endif /* LWS_USE_LIBEV */
|
||||
|
||||
#ifdef LWS_USE_LIBUV
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int revents);
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int signum);
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
lws_uv_sigint_cfg(struct lws_context *context, int use_uv_sigint,
|
||||
|
|
@ -1511,7 +1520,7 @@ LWS_VISIBLE LWS_EXTERN uv_loop_t *
|
|||
lws_uv_getloop(struct lws_context *context, int tsi);
|
||||
|
||||
LWS_VISIBLE void
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int revents);
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int signum);
|
||||
#endif /* LWS_USE_LIBUV */
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@
|
|||
/* #undef USE_OLD_CYASSL */
|
||||
|
||||
/* The Libwebsocket version */
|
||||
#define LWS_LIBRARY_VERSION "1.7.4"
|
||||
#define LWS_LIBRARY_VERSION "1.7.8"
|
||||
|
||||
#define LWS_LIBRARY_VERSION_MAJOR 1
|
||||
#define LWS_LIBRARY_VERSION_MINOR 7
|
||||
#define LWS_LIBRARY_VERSION_PATCH 4
|
||||
#define LWS_LIBRARY_VERSION_PATCH 8
|
||||
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
|
||||
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
|
||||
|
||||
/* The current git commit hash that we're building from */
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-47-g7179094"
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-49-g9369eea"
|
||||
|
||||
/* Build with OpenSSL support */
|
||||
/* #undef LWS_OPENSSL_SUPPORT */
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
/* #undef LWS_USE_LIBUV */
|
||||
|
||||
/* Build with support for ipv6 */
|
||||
/* #undef LWS_USE_IPV6 */
|
||||
#define LWS_USE_IPV6
|
||||
|
||||
/* Build with support for HTTP2 */
|
||||
/* #undef LWS_USE_HTTP2 */
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -146,10 +146,12 @@ struct sockaddr_in;
|
|||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#define LWS_O_RDONLY _O_RDONLY
|
||||
|
||||
#define snprintf _snprintf
|
||||
|
||||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -166,8 +168,15 @@ struct sockaddr_in;
|
|||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
|
||||
/* warn_unused_result attribute only supported by GCC 3.4 or later */
|
||||
#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
#define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define LWS_WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
#define LWS_VISIBLE __attribute__((visibility("default")))
|
||||
#define LWS_WARN_DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
#define LWS_VISIBLE
|
||||
|
|
@ -1492,7 +1501,7 @@ lws_ev_sigint_cb(struct ev_loop *loop, struct ev_signal *watcher, int revents);
|
|||
#endif /* LWS_USE_LIBEV */
|
||||
|
||||
#ifdef LWS_USE_LIBUV
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int revents);
|
||||
typedef void (lws_uv_signal_cb_t)(uv_loop_t *l, uv_signal_t *w, int signum);
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
lws_uv_sigint_cfg(struct lws_context *context, int use_uv_sigint,
|
||||
|
|
@ -1511,7 +1520,7 @@ LWS_VISIBLE LWS_EXTERN uv_loop_t *
|
|||
lws_uv_getloop(struct lws_context *context, int tsi);
|
||||
|
||||
LWS_VISIBLE void
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int revents);
|
||||
lws_uv_sigint_cb(uv_loop_t *loop, uv_signal_t *watcher, int signum);
|
||||
#endif /* LWS_USE_LIBUV */
|
||||
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@
|
|||
/* #undef USE_OLD_CYASSL */
|
||||
|
||||
/* The Libwebsocket version */
|
||||
#define LWS_LIBRARY_VERSION "1.7.4"
|
||||
#define LWS_LIBRARY_VERSION "1.7.8"
|
||||
|
||||
#define LWS_LIBRARY_VERSION_MAJOR 1
|
||||
#define LWS_LIBRARY_VERSION_MINOR 7
|
||||
#define LWS_LIBRARY_VERSION_PATCH 4
|
||||
#define LWS_LIBRARY_VERSION_PATCH 8
|
||||
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
|
||||
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
|
||||
|
||||
/* The current git commit hash that we're building from */
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-47-g7179094"
|
||||
#define LWS_BUILD_HASH "linwenhai@LindeMacBook-Pro.local-v3.4-49-g9369eea"
|
||||
|
||||
/* Build with OpenSSL support */
|
||||
/* #undef LWS_OPENSSL_SUPPORT */
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
/* #undef LWS_USE_LIBUV */
|
||||
|
||||
/* Build with support for ipv6 */
|
||||
/* #undef LWS_USE_IPV6 */
|
||||
#define LWS_USE_IPV6
|
||||
|
||||
/* Build with support for HTTP2 */
|
||||
/* #undef LWS_USE_HTTP2 */
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,8 +1,8 @@
|
|||
websockets
|
||||
mac: 1.7.4
|
||||
mac: 1.7.8
|
||||
win32:
|
||||
ios: 1.7.4
|
||||
android: 1.7.4
|
||||
ios: 1.7.8
|
||||
android: 1.7.8
|
||||
|
||||
png
|
||||
mac: 1.6.21
|
||||
|
|
|
|||
Loading…
Reference in New Issue