Andy Green
8ab2b5af8b
coverity 83664 consistently check NULL
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 13:10:26 +08:00
Andy Green
adc720dfb5
coverity 83665 fail on null buffer
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 13:10:26 +08:00
Andy Green
cd838506a9
coverity 83666 fail on null buffer
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 13:10:26 +08:00
Andy Green
c5814fbaa9
coverity 83667 dead code
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:51:47 +08:00
Andy Green
0f59c9e75c
coverity 83668 test echo nesting level bug
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:50:12 +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
4bd1a4d4e0
coverity 83672 dead code
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:47:33 +08:00
Andy Green
f14ea7a906
coverity 83673 deference after NULL check
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:45:39 +08:00
Andy Green
47afcddccf
83674 dereference after NULL check
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:43:51 +08:00
Andy Green
6a33759bb1
83675 test echo param could bust bounds
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:42:14 +08:00
Andy Green
5549998ac3
coverity 83678 unused assignment
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:40:32 +08:00
Andy Green
59800b764e
coverity 83679 default int expansion might bloat byte reassembly
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:37:50 +08:00
Andy Green
74f93d190b
coverity 83680 kill needless semicolons
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:30:36 +08:00
Andy Green
2c8161c9eb
coverity 83681 unused assignment
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:29:04 +08:00
Andy Green
31fc6ff5b5
coverity 83682 suspicous signed bytewise reassembly
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:27:47 +08:00
Andy Green
56686d784c
coverity 83683 shift greater than 31 technically undefined
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:25:36 +08:00
Andy Green
e4d6f1c116
coverity 83670 daemonize can leak lock handle
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:21:40 +08:00
Andy Green
26193fab34
coverity 83684 let parent close if ssl service fails
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 12:14:23 +08:00
Andy Green
924bcfbc99
coverty travis fix env indentation
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 11:52:40 +08:00
Andy Green
f1e52361c5
coverity travis add key
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-30 11:24:01 +08:00
=?UTF-8?q?Joakim=20S=C3=B6derberg?=
6b6f1e188d
Subject: [PATCH] Add support for coverity static analysis scan.
...
http://www.coverity.com
2014-11-30 10:58:52 +08:00
Samuel Martin
a11a28278f
Subject: [PATCH] cmake: set the project language
...
By default, CMake sets C and C++ as languages used by the project.
This makes the configuration failed if no C++ compiler is found.
Since libwesockets in written in pure C, no C++, there is no reason to
disable it when the toolchain has no C++ support.
This patch just make the CMake code reflecting the real status of the
project with regard to the languages used.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2014-11-27 09:14:31 +08:00
=?UTF-8?q?Joakim=20S=C3=B6derberg?=
2a5ec139ef
Subject: [PATCH] Add appveyor CI support for Windows.
2014-11-27 07:45:42 +08:00
Christoph Muellner
b921e521cd
Subject: [PATCH] Adding lws_config.h to list of installed headers.
...
The lws_config.h is generated based on configuration
options for the build process. In order to write
applications which compile code depending of the
presence of a feature (like the test-server does)
this header file needs to be installed.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2014-11-27 06:25:16 +08:00
Andy Green
904b07d08c
remove duplicate const
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-26 14:38:04 +08:00
Andy Green
745a69e7ce
test echo initialize listen port
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-26 14:36:17 +08:00
Andy Green
70b543f7c2
move bind passphrase out of LWS_NO_SERVER
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-26 14:29:03 +08:00
Andy Green
ba4e415006
clean test server a bit
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-26 12:04:29 +08:00
Joakim Soderberg
ced66021f4
Add libev dependecny
2014-11-26 01:23:34 +08:00
Joakim Soderberg
4eb182f873
Remove lcov depdency
2014-11-26 01:23:13 +08:00
Joakim Soderberg
1632c9a894
CLang gives an error on -O4
...
clang: error: -O4 is equivalent to -O3
2014-11-26 01:22:50 +08:00
Joakim Soderberg
3476e0ce10
Added travis support
2014-11-26 01:22:37 +08:00
Roger A. Light
d893d96f8f
Subject: [PATCH] SSL: Disable support for SSLv2 and SSLv3.
2014-11-25 05:55:41 +08:00
Joakim Soderberg
1b97ec2efa
Subject: [PATCH] Enable usage of ancient OpenSSL.
...
Yes people should be upgrading their OpenSSL, but there are still old versions without Heartbleed out there being used...
2014-11-25 05:53:31 +08:00
Joakim Soderberg
bf3e8a998e
Subject: [PATCH] BUGFIX: Failed to get proper output dir for test-server
...
When creating the directory where to put the files needed by the test-server CMake would fail because it tried to create the directory /../share/libwebsockets-test-server, which is not possible. This happens since the TARGET_FILE_DIR for the test-server is not fetched properly.
Also mentioned in this trac ticket:
http://libwebsockets.org/trac/libwebsockets/ticket/84
2014-11-25 05:49:11 +08:00
Andy Green
4076a2c8bc
ssl fix client and server passphrase handling
...
again from "linedot" at
https://github.com/warmcat/libwebsockets/issues/152#issuecomment-63647996
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-20 12:10:40 +08:00
Andy Green
e5ea1f91d3
android64 make bzero def conditional
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-18 18:25:24 +08:00
Andy Green
752963da00
test-echo: enable for ssl cert serving and verification
2014-11-18 09:28:35 +08:00
Andy Green
77c209c412
ssl: improve client error message on server cert probs
2014-11-18 09:28:06 +08:00
Andy Green
50000a1ac5
ssl also allow passphrase management for server
...
Adapted from idea + diff provided by "linedot"
https://github.com/warmcat/libwebsockets/issues/152#issuecomment-63364869
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-18 07:53:20 +08:00
Andy Green
3adeca8eca
return_http_staus fix http2 defeating body addition
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-14 07:21:02 +08:00
Andy Green
c983baf040
readme tag key
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-09 12:05:29 +08:00
Andy Green
44c116172d
lws_union_transition
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-08 11:18:47 +08:00
Andrew Canaday
03f0ceaf97
Be sure to invoke *lws_free_header_table*:
...
* Just prior to freeing a session
* When allocating a new header table
This prevents some memory leaks we've found.
2014-11-08 09:02:22 +08:00
Andrew Canaday
a19d485b80
Don't free wsi->u.hdr.ah except through lws_free_header_table (exception: server.c frees 'ah' after copying the header pointer and transitioning the union state).
2014-11-07 11:25:36 +08:00
Andrew Canaday
377188189a
Adding header table free function to make sure we free cleanly everywhere.
2014-11-07 11:20:59 +08:00
Emerson Clarke
32ec9d0299
plat win add ibterface to sa
2014-11-06 23:06:01 +08:00
Andy Green
fce6bde622
ssl CYASSL doesnt have new api
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-05 15:35:05 +08:00
Andy Green
5db6c0fa01
clean http2 passphrase code
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-05 15:32:58 +08:00
Andy Green
97ee57fa35
http2 window update
...
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-11-02 06:54:09 +08:00