wonder-mice
f1b125442b
Subject: [PATCH] Multiple changes in the build process
...
* Default CMAKE_BUILD_TYPE to Release
* Use CMAKE_BUILD_TYPE to define _DEBUG (NDEBUG is more standard though,
but cmake defines it)
* Drop LWS_WITHOUT_DEBUG (use CMAKE_BUILD_TYPE for that)
* Drop LWS_NO_EXTERNAL_POLL (was not used)
* Drop CMAKE_BUILD (CMake is the only build system now)
* Add LWS_WITH_STATIC and LWS_WITH_SHARED to choose what version(s) to
build
* Add LWS_XXX_LIBRARIES and LWS_XXX_INCLUDE_DIRS for each library
dependency (zlib, openssl, libev, cyassl)
* Support setting of XXX_LIBRARIES, XXX_LIBRARIES and XXX_INCLUDE_DIRS
by parent project (when included with add_subdirectory())
* Rename LWS_USE_EXTERNAL_ZLIB to LWS_USE_BUNDLED_ZLIB and default it to
NO (since it's Windows only)
* Default LWS_WITHOUT_DAEMONIZE to NO (since network lib shouldn't know
how to do it anyway)
* Rename config.h.cmake to lws_config.h.in
* Rename shared library to websockets_shared so linker will not be
confused
* Fix inline keyword detection in clang
* Explicitly set MACOSX_RPATH to YES on MacOS
2015-04-24 07:27:18 +08:00
wonder-mice
644fea11c5
Subject: [PATCH] Fix unused n variable warning in http2.c
2015-04-24 07:25:51 +08:00
wonder-mice
0c5aa2f484
Subject: [PATCH] Add missing lib/header.c file
...
File was lost during merge to upstream.
2015-04-24 07:22:52 +08:00
wonder-mice
67e246fce9
Subject: [PATCH] Be quite when executing openssl commands
2015-04-23 06:13:05 +08:00
wonder-mice
41802c7a98
From 04da2ccd1e8c5b582c4e2a77ee53f929ae8f22a0 Mon Sep 17 00:00:00 2001
...
Subject: [PATCH] Always include lws_config.h since now we have only CMake
build
2015-04-23 06:10:51 +08:00
wonder-mice
bd2a6c6477
Subject: [PATCH] Fix broken libev support in client mode
2015-04-23 06:06:10 +08:00
wonder-mice
dd32c24df6
refactor allow http parse also for client
2015-04-23 05:37:46 +08:00
Joakim Soderberg
78dcaf45c4
Subject: [PATCH] Don't fail on non-existing files
2015-04-22 16:26:32 +08:00
Joakim Soderberg
2efac178b8
Subject: [PATCH] Don't build installer on noserver build.
...
Building the installer like this is a bad idea... Better to move it into
the CMakeLists.txt and be aware of what is being build and so on using
CPack.
2015-04-22 16:19:18 +08:00
=?UTF-8?q?Joakim=20S=C3=B6derberg?=
edcef320e5
Subject: [PATCH] Fix windows build
...
New version of OpenSSL
2015-04-22 16:16:11 +08:00
Joe Kilner
ba8a2f095c
Ensure proper cleanup is performed if last websocket is
...
closed.
2015-04-22 15:57:17 +08:00
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
40d5abc2aa
close reply must use writable control reply path
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-04-17 20:29:58 +08:00
Andy Green
bb90f9b7e6
client error on timeout before connection
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-04-16 19:55:42 +08:00
Andy Green
d3efcd9461
windows check for NULL getprotobyname
...
From maxkaro on trac #110
https://libwebsockets.org/trac/libwebsockets/ticket/110
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-04-16 04:24:38 +08:00
Andy Green
408f537975
timeout counts as pernmanently unusable close
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-04-12 08:17:26 +08:00
Danomi Czaski
7fb366a9ef
client getaddrinfo valgrind fix
...
Signed-off-by: Danomi Czaski <djczaski@gmail.com>
2015-04-11 07:00:51 +08:00
brobits
b03820dc0b
changed expected shared lib version from 4.0.0 to 5 in spec file
2015-04-08 08:40:16 +08:00
Andy Green
8fb338f71c
parser restrict unknown header paranoia to server methods
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-04-07 08:19:30 +08:00
Andy Green
15ac07f1a0
test echo put proper origin
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-04-07 07:52:23 +08:00
Andy Green
9f02c5dc24
close cover flush stored send with timeout
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-04-01 05:34:18 +08:00
Andy Green
2a5774edca
unsigned char by default compiler compatibility
...
http://ml.libwebsockets.org/pipermail/libwebsockets/2015-March/001705.html
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-30 18:56:52 +08:00
Andy Green
87fb73cc65
specfile openssl devel only needed on buildrequires
...
https://github.com/warmcat/libwebsockets/issues/259
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-30 18:33:06 +08:00
Andy Green
16fb0132ce
prepare for v1.4
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-28 11:35:40 +08:00
Andy Green
bddb3dcce9
context destroy just kill wsis ugh add missing bit
...
Unsaved file...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-28 10:35:53 +08:00
Jose Luis Millan
45a04b6240
set server listening wsi use_ssl status
...
If the server option to allow non-ssl is enabled,
it will force this cleared when it sees that has happened
2015-03-28 10:20:50 +08:00
Andy Green
8ec7802935
context destroy just kill wsis
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-25 01:53:58 +08:00
Andy Green
106d4a8a50
ping client ping handling use same infrastructure as server
...
First part of this:
https://github.com/warmcat/libwebsockets/issues/256
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-24 21:22:52 +08:00
Andy Green
2fd6e6fb55
ping allow zero length PING
...
Part of
https://github.com/warmcat/libwebsockets/issues/256
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-24 21:07:01 +08:00
Roger A. Light
1677ca52ca
Subject: [PATCH] Windows installer related fixes.
...
Remove incorrectly committed cpack changes.
Fix call to makensis.
Update README filenames.
2015-03-11 08:48:39 +08:00
Andy Green
ec86b4e6c4
documentation add info http_proxy members
...
From https://libwebsockets.org/trac/libwebsockets/ticket/104
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-11 08:35:15 +08:00
banthonywalker
dd020b4b04
Subject: [PATCH 1/2] fix win32 context memory leak
2015-03-10 21:53:17 +08:00
Andy Green
467b5bb4a0
windows installer missing quote
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-10 21:39:45 +08:00
Roger A. Light
12126d701e
Add Windows installer file and configure appveyor to create it
...
Also update OpenSSL on Windows to latest version.
2015-03-10 21:18:22 +08:00
Andy Green
7d62eb066e
test server only mention pollfd if EXTERNAL_POLL
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-05 17:06:16 +08:00
Andy Green
c67dace4be
clean remove x perm on two sources
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-03-04 19:21:40 +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
93d947c924
LWS_WITHOUT_DEBUG fix unused var
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-02-20 07:37:20 +08:00
Roger Light
b8639543bc
Subject: [PATCH] Simplify soversion.
2015-02-17 21:13:10 +08:00
Johan Simonsson
bb87ac82d1
From 03b93ec864c29dfbc41f2adbdf1b639f5403c95f Mon Sep 17 00:00:00 2001
...
Subject: [PATCH] Added c include
Fixes #220 and #223
2015-02-04 19:35:47 +08:00
Andy Green
1dce6c06ea
client avoid double free on error path
...
via dj1yfk on trac #99
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-02-01 07:19:46 +08:00
Drew Noakes
2121e8a7fc
Subject: [PATCH] Fix bug parsing unknown headers.
...
Bug was introduced in 49f72aa45
.
2015-01-30 20:09:20 +08:00
Bud Davis
229bfec948
win32 use hashtable for fd management
...
At least some win32 uses an opaque pointer for fd that is not
an ordinal like it is in unix.
Resurrect the old hashtable management for that platform to use
instead, and introduce a helper to get the wsi from the fd "somehow".
Signed-off-by: Bud Davis <bdavis9659@gmail.com>
2015-01-30 10:48:57 +08:00
Andy Green
413b3a6c55
ssl pendding buffered reads dont dereference first time
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-01-30 10:33:00 +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
Andy Green
7e37d10e47
gethostbyname removal from lws get peer addresses
...
This replaces gethostbyname in libwebsockets_get_peer_addresses and
in the client handshake path.
There's one left in lws-plat-win but that can be done another time.
Let's see how much damage that did to the cross-platform and option
builds...
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-01-28 21:03:49 +08:00
Drew Noakes
6a779771f4
Callback with reason LWS_CALLBACK_CLOSED_HTTP when HTTP closed before serve.
...
If the remote HTTP client closes the connection before serving commences, the
only notification client code receives is LWS_CALLBACK_WSI_DESTROY. This commit
gives LWS_CALLBACK_CLOSED_HTTP as well, as would happen if HTTP serving had
already commenced.
2015-01-28 04:15:13 +08:00
Steven Lai
ba3c75c065
Add compiler checking for visibility flag
...
Signed-off-by: Steven Lai <steven.lai@liricco.com>
2015-01-27 19:46:26 +08:00