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