platform/upstream/libwebsockets.git
9 years agoSubject: [PATCH] Simplify soversion.
Roger Light [Tue, 17 Feb 2015 10:06:58 +0000 (10:06 +0000)]
Subject: [PATCH] Simplify soversion.

9 years agoFrom 03b93ec864c29dfbc41f2adbdf1b639f5403c95f Mon Sep 17 00:00:00 2001
Johan Simonsson [Sun, 4 Jan 2015 11:15:23 +0000 (11:15 +0000)]
From 03b93ec864c29dfbc41f2adbdf1b639f5403c95f Mon Sep 17 00:00:00 2001
Subject: [PATCH] Added c include

Fixes #220 and #223

9 years agoclient avoid double free on error path
Andy Green [Sat, 31 Jan 2015 23:19:46 +0000 (07:19 +0800)]
client avoid double free on error path

via dj1yfk on trac #99

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoSubject: [PATCH] Fix bug parsing unknown headers.
Drew Noakes [Fri, 30 Jan 2015 12:04:43 +0000 (12:04 +0000)]
Subject: [PATCH] Fix bug parsing unknown headers.

Bug was introduced in 49f72aa45.

9 years agowin32 use hashtable for fd management
Bud Davis [Fri, 30 Jan 2015 02:13:01 +0000 (10:13 +0800)]
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>
9 years agossl pendding buffered reads dont dereference first time
Andy Green [Fri, 30 Jan 2015 02:33:00 +0000 (10:33 +0800)]
ssl pendding buffered reads dont dereference first time

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agossl pending buffered reads unbreak NO_SSL
Andy Green [Thu, 29 Jan 2015 01:42:22 +0000 (09:42 +0800)]
ssl pending buffered reads unbreak NO_SSL

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agossl pending buffered reads use linked list
Andy Green [Thu, 29 Jan 2015 00:36:18 +0000 (08:36 +0800)]
ssl pending buffered reads use linked list

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agogethostbyname removal from lws get peer addresses
Andy Green [Wed, 28 Jan 2015 13:03:49 +0000 (21:03 +0800)]
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>
9 years agoCallback with reason LWS_CALLBACK_CLOSED_HTTP when HTTP closed before serve.
Drew Noakes [Tue, 27 Jan 2015 20:15:13 +0000 (04:15 +0800)]
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.

9 years agoAdd compiler checking for visibility flag
Steven Lai [Tue, 27 Jan 2015 11:46:26 +0000 (19:46 +0800)]
Add compiler checking for visibility flag

Signed-off-by: Steven Lai <steven.lai@liricco.com>
9 years agogetifaddrs needs private libwebsockets.h
Steven Y Lai [Mon, 26 Jan 2015 12:04:34 +0000 (20:04 +0800)]
getifaddrs needs private libwebsockets.h

via trac

Signed-off-by: Steven Y Lai <stevenylai@INVALID.com>
9 years agoplat unix 64 bit timestamps on 32-bit os
Imo Farcher [Mon, 26 Jan 2015 07:39:36 +0000 (15:39 +0800)]
plat unix 64 bit timestamps on 32-bit os

Signed-off-by: Imo Farcher <ifar@gmx.net>
9 years agoAdd PATCH, PUT, DELETE methods
Quinlan Pfiffer [Sun, 11 Jan 2015 03:01:52 +0000 (19:01 -0800)]
Add PATCH, PUT, DELETE methods

AG: rewrite method code to use method arrays

9 years agocmake ipv6 default to off
Quinlan Pfiffer [Mon, 26 Jan 2015 03:24:03 +0000 (11:24 +0800)]
cmake ipv6 default to off

Signed-off-by: Quinlan Pfiffer <qpfiffer@gmail.com>
9 years agoSubject: [PATCH] Fix error handling when calling "REQUIRES PRIVATE KEY"
=?UTF-8?q?Christoph=20M=C3=BCllner?= [Sat, 24 Jan 2015 14:55:17 +0000 (15:55 +0100)]
Subject: [PATCH] Fix error handling when calling "REQUIRES PRIVATE KEY"
 callback.

A recent patch in ssl.c introduced a callback for setting the
private key of the SSL context. This code contained a bug, which
resulted in lws_context_init_server_ssl() returning always
with a return value of 1, indicating an error.

This patch introduces the missing curly braces to fix the code's
intended behaviour.

9 years agoSubject: [PATCH] Fix deflate-frame extension TX log statement
nsitter [Sat, 24 Jan 2015 16:43:33 +0000 (10:43 -0600)]
Subject: [PATCH] Fix deflate-frame extension TX log statement

9 years agoSubject: [PATCH] New OpenSSL version for appveyor build!
=?UTF-8?q?Joakim=20S=C3=B6derberg?= [Sat, 24 Jan 2015 15:42:57 +0000 (16:42 +0100)]
Subject: [PATCH] New OpenSSL version for appveyor build!

9 years agofix #220. Add missing include statement for <cstdarg>
José Luis Millán [Tue, 16 Dec 2014 11:54:33 +0000 (12:54 +0100)]
fix #220. Add missing include statement for <cstdarg>

9 years agoSubject: [PATCH] Adds "REQUIRES PRIVATE KEY" callback
Octav Zlatior [Mon, 15 Dec 2014 15:29:15 +0000 (16:29 +0100)]
Subject: [PATCH] Adds "REQUIRES PRIVATE KEY" callback

In some situations the private key is not directly available via
filesystem (for example, when stored on a smartcard). If this is
the case, the user can set the private key filepath to NULL and
expect this callback reason to set the key directly via openSSL
library calls.

9 years agoclean unmix declarations and code
Andy Green [Mon, 15 Dec 2014 07:08:13 +0000 (15:08 +0800)]
clean unmix declarations and code

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoSubject: [PATCH] proxy protocol (version 1) parsing implementation
=?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= [Sun, 14 Dec 2014 04:13:43 +0000 (12:13 +0800)]
Subject: [PATCH] proxy protocol (version 1) parsing implementation

The proxy line is dumped in the token buffer as any other HTTP header

Adapted by AG to move token id to be last in the parsed list

9 years agoSubject: [PATCH] add user context pointer to the protocol structure
Neal Horman [Thu, 11 Dec 2014 00:59:04 +0000 (18:59 -0600)]
Subject: [PATCH] add user context pointer to the protocol structure

9 years agoSubject: [PATCH] add _lws_logv to make loging accessible to other wrappers.
Neal Horman [Thu, 11 Dec 2014 00:50:28 +0000 (18:50 -0600)]
Subject: [PATCH] add _lws_logv to make loging accessible to other wrappers.
 use _lws_logv in _lws_log

9 years agoimprove c++ compatibility
Neil Horman [Sat, 13 Dec 2014 06:15:48 +0000 (14:15 +0800)]
improve c++ compatibility

Adapted by Joakim

9 years agoclient: fix verification of the accepted protocol
Alejandro Mery [Wed, 10 Dec 2014 15:32:44 +0000 (16:32 +0100)]
client: fix verification of the accepted protocol

to properly take ", *" as delimiter

Signed-off-by: Alejandro Mery <amery@geeks.cl>
9 years agoREADME: fix coverity link
Alejandro Mery [Sun, 7 Dec 2014 02:36:13 +0000 (03:36 +0100)]
README: fix coverity link

coverity link was pointing to the wrong project

Signed-off-by: Alejandro Mery <amery@geeks.cl>
9 years agolibev: clean cast abuse
Alejandro Mery [Sun, 7 Dec 2014 02:36:12 +0000 (03:36 +0100)]
libev: clean cast abuse

assuming that you can cast to the first field of an struct is very
risky

Signed-off-by: Alejandro Mery <amery@geeks.cl>
9 years agoadd container_of() macro
Alejandro Mery [Sun, 7 Dec 2014 02:36:11 +0000 (03:36 +0100)]
add container_of() macro

to be used to remove cast abuse and finding parent structs later

Signed-off-by: Alejandro Mery <amery@geeks.cl>
9 years agoSubject: [PATCH] Attempt at fixing Travis for OSX.
=?UTF-8?q?Joakim=20S=C3=B6derberg?= [Thu, 11 Dec 2014 16:49:31 +0000 (17:49 +0100)]
Subject: [PATCH] Attempt at fixing Travis for OSX.

Move install into external shell script. We cannot use apt-get on OSX, use brew instead... Also valgrind isn't used at the moment so skip intalling it.

9 years agoSubject: [PATCH] Fixes occasional segfault in lws_chage_pollfd
Octav Zlatior [Fri, 12 Dec 2014 16:33:27 +0000 (17:33 +0100)]
Subject: [PATCH] Fixes occasional segfault in lws_chage_pollfd

* so it happens that sometimes lws_change_pollfd is called with
  bad or incomplete data structures, mainly the context pointer
  obtained from wsi->protocol is null or wsi->position_in_fds_table
  is -1; checks have been added to avoid this condition

9 years agohttp2 remove some dead code
Andy Green [Wed, 10 Dec 2014 02:53:46 +0000 (10:53 +0800)]
http2 remove some dead code

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoNO_EXTENSION clean out handled var in handle_POLLOUT_event
Andy Green [Wed, 10 Dec 2014 02:28:46 +0000 (10:28 +0800)]
NO_EXTENSION clean out handled var in handle_POLLOUT_event

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoNO_SERVER_fix cosmetic warning
Andy Green [Wed, 10 Dec 2014 02:24:33 +0000 (10:24 +0800)]
NO_SERVER_fix cosmetic warning

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoSubject: [PATCH] Fix the travis.yml to build everything
Joakim Soderberg [Tue, 9 Dec 2014 13:37:51 +0000 (14:37 +0100)]
Subject: [PATCH] Fix the travis.yml to build everything

When fixing the indentation for the coverity chagnes in 924bcfbc995e5c862216f6ad47a734a2c8f14370
the build matrix got turned off. This re-enables this.

Also change from using gcc/clang. What we want is to build on both Linux
and OSX. Not just run Linux with gcc+clang.

However to enable multi-os support one has to mail the travis support:
http://docs.travis-ci.com/user/multi-os/

"This feature needs to be enabled manually. If you wish to take advantage
of this feature, please send email to support@travis-ci.com, indicating
which repository you would like to have it enabled."

9 years agoSubject: [PATCH] Introduce lws_free2() helper to free and re-NULL pointers
Alejandro Mery [Thu, 4 Dec 2014 23:09:20 +0000 (00:09 +0100)]
Subject: [PATCH] Introduce lws_free2() helper to free and re-NULL pointers

Signed-off-by: Alejandro Mery <amery@geeks.cl>
9 years agoSubject: [PATCH] Use custom allocator
Alejandro Mery [Thu, 4 Dec 2014 22:59:35 +0000 (23:59 +0100)]
Subject: [PATCH] Use custom allocator

Signed-off-by: Alejandro Mery <amery@geeks.cl>
9 years agoSubject: [PATCH] Add custom allocator support using the realloc() interface
Alejandro Mery [Thu, 4 Dec 2014 22:15:27 +0000 (23:15 +0100)]
Subject: [PATCH] Add custom allocator support using the realloc() interface

Signed-off-by: Alejandro Mery <amery@geeks.cl>
9 years agotest ping correct type for fprintf
Andy Green [Tue, 2 Dec 2014 00:42:47 +0000 (08:42 +0800)]
test ping correct type for fprintf

Reported-by: Michael Habeler <mail17@mah.priv.at>
Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agotest echo unbreak no server
Andy Green [Mon, 1 Dec 2014 14:16:17 +0000 (22:16 +0800)]
test echo unbreak no server

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoSubject: [PATCH] serve_http_file: add feature test macro for API change
Michael Haberler [Mon, 1 Dec 2014 13:05:51 +0000 (14:05 +0100)]
Subject: [PATCH] serve_http_file: add feature test macro for API change
 introduced in 917f43

9 years agotest echo versa + uri
Andy Green [Mon, 1 Dec 2014 13:46:35 +0000 (21:46 +0800)]
test echo versa + uri

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agotest echo add port to server host
Andy Green [Mon, 1 Dec 2014 13:02:55 +0000 (21:02 +0800)]
test echo add port to server host

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agorevert 187
Andy Green [Mon, 1 Dec 2014 11:28:28 +0000 (19:28 +0800)]
revert 187

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoREADME.md update markup api key
Andy Green [Mon, 1 Dec 2014 03:21:30 +0000 (11:21 +0800)]
README.md update markup api key

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoSubject: [PATCH] Nicer readmes using markdown.
=?UTF-8?q?Joakim=20S=C3=B6derberg?= [Mon, 1 Dec 2014 00:21:10 +0000 (01:21 +0100)]
Subject: [PATCH] Nicer readmes using markdown.

This is still readable in raw text, but much nicer for github with heading and syntax highlighting and such.

9 years agocoverity 83669 remove random from fraggle
Andy Green [Sun, 30 Nov 2014 05:55:40 +0000 (13:55 +0800)]
coverity 83669 remove random from fraggle

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83663 remove random from test client
Andy Green [Sun, 30 Nov 2014 05:53:19 +0000 (13:53 +0800)]
coverity 83663 remove random from test client

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83687 daemonize was not a close problem
Andy Green [Sun, 30 Nov 2014 05:47:36 +0000 (13:47 +0800)]
coverity 83687 daemonize was not a close problem

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83682 base64 decode more dead code
Andy Green [Sun, 30 Nov 2014 05:39:09 +0000 (13:39 +0800)]
coverity 83682 base64 decode more dead code

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83683 test ping more uint64_t needed
Andy Green [Sun, 30 Nov 2014 05:37:23 +0000 (13:37 +0800)]
coverity 83683 test ping more uint64_t needed

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83684 more ways to close and use freed wsi
Andy Green [Sun, 30 Nov 2014 05:35:24 +0000 (13:35 +0800)]
coverity 83684 more ways to close and use freed wsi

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83685 daemonize put the close in the right place
Andy Green [Sun, 30 Nov 2014 05:32:27 +0000 (13:32 +0800)]
coverity 83685 daemonize put the close in the right place

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83686 server close sockfd if failing out
Andy Green [Sun, 30 Nov 2014 05:30:57 +0000 (13:30 +0800)]
coverity 83686 server close sockfd if failing out

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agowin32 does not know uint64_t without stdint.h
Andy Green [Sun, 30 Nov 2014 05:17:35 +0000 (13:17 +0800)]
win32 does not know uint64_t without stdint.h

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83656 server check setsockopt return
Andy Green [Sun, 30 Nov 2014 05:07:11 +0000 (13:07 +0800)]
coverity 83656 server check setsockopt return

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83657 plat unix check setsockopt return
Andy Green [Sun, 30 Nov 2014 05:06:09 +0000 (13:06 +0800)]
coverity 83657 plat unix check setsockopt return

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83658 test server check fstat return
Andy Green [Sun, 30 Nov 2014 05:04:46 +0000 (13:04 +0800)]
coverity 83658 test server check fstat return

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83659 plat unix check fstat return
Andy Green [Sun, 30 Nov 2014 05:03:45 +0000 (13:03 +0800)]
coverity 83659 plat unix check fstat return

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83660 plat unix check fcntl return
Andy Green [Sun, 30 Nov 2014 05:02:32 +0000 (13:02 +0800)]
coverity 83660 plat unix check fcntl return

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83661 output check lseek return
Andy Green [Sun, 30 Nov 2014 05:00:47 +0000 (13:00 +0800)]
coverity 83661 output check lseek return

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83662 test server check lseek return
Andy Green [Sun, 30 Nov 2014 04:57:57 +0000 (12:57 +0800)]
coverity 83662 test server check lseek return

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83664 consistently check NULL
Andy Green [Sun, 30 Nov 2014 04:56:21 +0000 (12:56 +0800)]
coverity 83664 consistently check NULL

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83665 fail on null buffer
Andy Green [Sun, 30 Nov 2014 04:54:48 +0000 (12:54 +0800)]
coverity 83665 fail on null buffer

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83666 fail on null buffer
Andy Green [Sun, 30 Nov 2014 04:53:27 +0000 (12:53 +0800)]
coverity 83666 fail on null buffer

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83667 dead code
Andy Green [Sun, 30 Nov 2014 04:51:47 +0000 (12:51 +0800)]
coverity 83667 dead code

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83668 test echo nesting level bug
Andy Green [Sun, 30 Nov 2014 04:50:12 +0000 (12:50 +0800)]
coverity 83668 test echo nesting level bug

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83671 dead code
Andy Green [Sun, 30 Nov 2014 04:48:22 +0000 (12:48 +0800)]
coverity 83671 dead code

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83672 dead code
Andy Green [Sun, 30 Nov 2014 04:47:33 +0000 (12:47 +0800)]
coverity 83672 dead code

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83673 deference after NULL check
Andy Green [Sun, 30 Nov 2014 04:45:39 +0000 (12:45 +0800)]
coverity 83673 deference after NULL check

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years ago83674 dereference after NULL check
Andy Green [Sun, 30 Nov 2014 04:43:51 +0000 (12:43 +0800)]
83674 dereference after NULL check

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years ago83675 test echo param could bust bounds
Andy Green [Sun, 30 Nov 2014 04:42:14 +0000 (12:42 +0800)]
83675 test echo param could bust bounds

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83678 unused assignment
Andy Green [Sun, 30 Nov 2014 04:40:32 +0000 (12:40 +0800)]
coverity 83678 unused assignment

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83679 default int expansion might bloat byte reassembly
Andy Green [Sun, 30 Nov 2014 04:36:09 +0000 (12:36 +0800)]
coverity 83679 default int expansion might bloat byte reassembly

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83680 kill needless semicolons
Andy Green [Sun, 30 Nov 2014 04:30:36 +0000 (12:30 +0800)]
coverity 83680 kill needless semicolons

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83681 unused assignment
Andy Green [Sun, 30 Nov 2014 04:29:04 +0000 (12:29 +0800)]
coverity 83681 unused assignment

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83682 suspicous signed bytewise reassembly
Andy Green [Sun, 30 Nov 2014 04:27:47 +0000 (12:27 +0800)]
coverity 83682 suspicous signed bytewise reassembly

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83683 shift greater than 31 technically undefined
Andy Green [Sun, 30 Nov 2014 04:25:36 +0000 (12:25 +0800)]
coverity 83683 shift greater than 31 technically undefined

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83670 daemonize can leak lock handle
Andy Green [Sun, 30 Nov 2014 04:21:40 +0000 (12:21 +0800)]
coverity 83670 daemonize can leak lock handle

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity 83684 let parent close if ssl service fails
Andy Green [Sun, 30 Nov 2014 04:14:23 +0000 (12:14 +0800)]
coverity 83684 let parent close if ssl service fails

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverty travis fix env indentation
Andy Green [Sun, 30 Nov 2014 03:52:40 +0000 (11:52 +0800)]
coverty travis fix env indentation

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agocoverity travis add key
Andy Green [Sun, 30 Nov 2014 03:24:01 +0000 (11:24 +0800)]
coverity travis add key

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoSubject: [PATCH] Add support for coverity static analysis scan.
=?UTF-8?q?Joakim=20S=C3=B6derberg?= [Thu, 27 Nov 2014 22:49:42 +0000 (23:49 +0100)]
Subject: [PATCH] Add support for coverity static analysis scan.

http://www.coverity.com

9 years agoSubject: [PATCH] cmake: set the project language
Samuel Martin [Fri, 2 May 2014 12:24:58 +0000 (14:24 +0200)]
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>
9 years agoSubject: [PATCH] Add appveyor CI support for Windows.
=?UTF-8?q?Joakim=20S=C3=B6derberg?= [Wed, 26 Nov 2014 22:55:25 +0000 (23:55 +0100)]
Subject: [PATCH] Add appveyor CI support for Windows.

9 years agoSubject: [PATCH] Adding lws_config.h to list of installed headers.
Christoph Muellner [Wed, 26 Nov 2014 17:16:25 +0000 (18:16 +0100)]
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>
9 years agoremove duplicate const
Andy Green [Wed, 26 Nov 2014 06:38:04 +0000 (14:38 +0800)]
remove duplicate const

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agotest echo initialize listen port
Andy Green [Wed, 26 Nov 2014 06:36:17 +0000 (14:36 +0800)]
test echo initialize listen port

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agomove bind passphrase out of LWS_NO_SERVER
Andy Green [Wed, 26 Nov 2014 06:29:03 +0000 (14:29 +0800)]
move bind passphrase out of LWS_NO_SERVER

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoclean test server a bit
Andy Green [Wed, 26 Nov 2014 04:04:29 +0000 (12:04 +0800)]
clean test server a bit

Signed-off-by: Andy Green <andy.green@linaro.org>
9 years agoAdd libev dependecny
Joakim Soderberg [Tue, 25 Nov 2014 17:23:34 +0000 (01:23 +0800)]
Add libev dependecny

9 years agoRemove lcov depdency
Joakim Soderberg [Tue, 25 Nov 2014 17:23:13 +0000 (01:23 +0800)]
Remove lcov depdency

9 years agoCLang gives an error on -O4
Joakim Soderberg [Tue, 25 Nov 2014 17:22:50 +0000 (01:22 +0800)]
CLang gives an error on -O4

clang: error: -O4 is equivalent to -O3

9 years agoAdded travis support
Joakim Soderberg [Tue, 25 Nov 2014 15:33:47 +0000 (16:33 +0100)]
Added travis support

9 years agoSubject: [PATCH] SSL: Disable support for SSLv2 and SSLv3.
Roger A. Light [Tue, 3 Jun 2014 00:35:00 +0000 (01:35 +0100)]
Subject: [PATCH] SSL: Disable support for SSLv2 and SSLv3.

9 years agoSubject: [PATCH] Enable usage of ancient OpenSSL.
Joakim Soderberg [Mon, 24 Nov 2014 15:03:19 +0000 (16:03 +0100)]
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...

9 years agoSubject: [PATCH] BUGFIX: Failed to get proper output dir for test-server
Joakim Soderberg [Tue, 14 Oct 2014 13:24:31 +0000 (15:24 +0200)]
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

9 years agossl fix client and server passphrase handling
Andy Green [Thu, 20 Nov 2014 04:10:40 +0000 (12:10 +0800)]
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>
10 years agoandroid64 make bzero def conditional
Andy Green [Tue, 18 Nov 2014 10:25:24 +0000 (18:25 +0800)]
android64 make bzero def conditional

Signed-off-by: Andy Green <andy.green@linaro.org>
10 years agotest-echo: enable for ssl cert serving and verification
Andy Green [Tue, 18 Nov 2014 01:28:35 +0000 (09:28 +0800)]
test-echo: enable for ssl cert serving and verification