Subject: [PATCH] Introduce lws_free2() helper to free and re-NULL pointers

Signed-off-by: Alejandro Mery <amery@geeks.cl>
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."
NO_SERVER_fix cosmetic warning

Signed-off-by: Andy Green <andy.green@linaro.org>
NO_EXTENSION clean out handled var in handle_POLLOUT_event

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 remove some dead code

Signed-off-by: Andy Green <andy.green@linaro.org>
https://github.com/warmcat/libwebsockets/commit/6ff28248aadc12b971d13b212587e63b49a4653f#commitcomment-8861797

--
add container_of() macro

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

Signed-off-by: Alejandro Mery <amery@geeks.cl>
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>
README: fix coverity link

coverity link was pointing to the wrong project

Signed-off-by: Alejandro Mery <amery@geeks.cl>
client: fix verification of the accepted protocol

to properly take ", *" as delimiter

Signed-off-by: Alejandro Mery <amery@geeks.cl>
test-server: fix to compile using mingw

Signed-off-by: Alejandro Mery <amery@geeks.cl>
mingw cmake and rebuild script [CI/DEV]

Signed-off-by: Alejandro Mery <amery@geeks.cl>
context: move poll/win32 specifics into a sub-struct

Signed-off-by: Alejandro Mery <amery@geeks.cl>
introduce context->event_ops and the info->event selector

Signed-off-by: Alejandro Mery <amery@geeks.cl>
libev: mutilate and prepare for context->event_ops usage

Signed-off-by: Alejandro Mery <amery@geeks.cl>
libev: rename to lib/event-libev.c

Signed-off-by: Alejandro Mery <amery@geeks.cl>
select context->event_ops based on info->event

Signed-off-by: Alejandro Mery <amery@geeks.cl>