Pokrovskiy
20636ec970
Fix broken libev support in client mode
...
Maybe it will be better to move all lws_libev_io() inside
lws_change_pollfd() to avoid similar problems in future.
The same for lws_libev_accept() and insert_wsi_socket_into_fds().
2015-04-22 07:50:44 +08:00
Andy Green
3a9f79e693
use initgroups in plat unix
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-04 16:16:41 +08:00
banthonywalker
418a49b9e8
Subject: [PATCH] call lws_plat_inet_ntop instead of inet_ntop
2015-02-28 21:53:47 +08:00
Andy Green
30edd910b6
ssl pending buffered reads unbreak NO_SSL
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-01-29 09:42:22 +08:00
Andy Green
5281560000
ssl pending buffered reads use linked list
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-01-29 08:36:18 +08:00
Imo Farcher
97a748a2d0
plat unix 64 bit timestamps on 32-bit os
...
Signed-off-by: Imo Farcher <ifar@gmx.net>
2015-01-26 15:39:36 +08:00
Andy Green
abb48113e7
coverity 83657 plat unix check setsockopt return
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 13:10:26 +08:00
Andy Green
24109f40ae
coverity 83659 plat unix check fstat return
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 13:10:26 +08:00
Andy Green
956a08a9c0
coverity 83660 plat unix check fcntl return
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 13:10:26 +08:00
Andy Green
66a5faa633
coverity 83671 dead code
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:48:22 +08:00
Andy Green
609ec85869
ssl optimize poll when buffered ssl read data
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-10-09 08:29:22 +08:00
Andy Green
fe3e3e61ec
ssl fix pending reads stuck in ssl layer
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-10-08 12:15:29 +08:00
Aurelian Pop
d07ea3bf40
Fix TCP keepalive use in UNIX systems
2014-07-29 15:36:06 +03:00
geq
d6827f7741
fix build on OpenBSD
2014-07-06 09:36:43 +08:00
vpeter4
7cc7ae476a
Fix for binding socket to a specific interface ( fixes #116 )
...
also allow binding to IP address with @iface info.iface = "eth0"; info.iface
= "192.168.1.5";
2014-04-28 07:32:14 +08:00
vpeter4
4dd8ada592
Disable compile warning: no newline at end of file
2014-04-27 13:28:22 +02:00
Andy Green
a717df2739
refactor libev eliminate all code ifdefs
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-11 13:14:37 +08:00
Andy Green
c57037a555
refactor ssl related code into ssl.c
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-03 10:17:00 +08:00
Andy Green
a654fc0d50
clean move lws_plat externs
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-03 07:16:40 +08:00
Andy Green
1cd3ba6fdc
ipv6 use lws_plat_ to avoid win naming collision
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-02 23:03:23 +08:00
Andy Green
e40aa9b920
plat change to build selection by cmake
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-02 21:04:03 +08:00
Andy Green
158e804cb7
refactor out WIN32 tests from code
...
This gets rid of all the platform-dependent #ifdef stuff and
migrates it into the new lws-plat-xxx.c files.
These are then included in a one-time test in libwebsockets.c
according basically to Windows or not.
The idea is from now on, all Windows-specific code should go in
lws-plat-win.c, where any kind of Windows perversion like DWORD
is fine.
Any new functions going in there should be named lws_plat_...
and be defined in all the lws-plat-xxx.c file (currently just
win32 and unix platforms are supported).
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-04-02 14:25:10 +08:00
Andy Green
bfaea95f60
clean libwebsockets.c
...
Signed-off-by: None <None>
2014-03-31 11:01:32 +08:00