1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
Commit graph

2253 commits

Author SHA1 Message Date
Andy Green
a4f88d543e NULL protocol: make sure vhost same protocol linklist gets correct protocol index 2017-05-31 09:45:28 +08:00
Andy Ning
ce2e74e5e3 Subject: lws_stats: fix compile error on VS2013
Use LWS_INLINE instead of inline in libwebsockets.h to
make it compatible on both Linux and Windows.

Signed-off-by: Andy Ning <andy.ning@windriver.com>
2017-05-31 07:44:08 +08:00
Andy Green
978605b39e esp32: disable LWS_WITH_STATS by default 2017-05-30 09:01:32 +08:00
Sergey Kovalevich
989ff82ca0 Subject: Fixed value of LIBWEBSOCKETS_LIBRARIES_STATIC 2017-05-30 08:59:15 +08:00
Sergey Kovalevich
5d1d756106 Subject: Fixed build in scope of a project (add_subdirectory) 2017-05-30 08:58:37 +08:00
emptyVoid
348887ea53 Subject: Direct extension confirmation to the negotiated protocol's callback
Fixes 

Notice this means if you want to globally ban an extension, you should
no longer include the extension at context creation time.
2017-05-29 08:30:26 +08:00
Petar Paradzik
3ec32b1762 Subject: libuv: Fix closing handle multiple times
Sometimes "Assertion failed: !uv__is_closing(handle)" happens because
handle is being closed multiple times. To fix this, "uv_is_closing"
is added before calling "uv_close".

Signed-off-by: Petar Paradzik <petar.paradzik@sartura.hr>
2017-05-23 23:49:14 +08:00
Andy Green
49769a7c24 esp32: otf and use group-role as hostname if present 2017-05-22 14:01:08 +08:00
Andy Green
decbbc506b esp32: debounced button events 2017-05-21 07:38:49 +08:00
Andy Green
c28f436098 esp32: led network state helper 2017-05-21 07:33:09 +08:00
Andy Green
a369b42910 cgi: close unforked std fds 2017-05-20 08:05:27 +08:00
Andy Green
d12b3df953 LICENSE: clarify exceptions also apply to LGPL self-refernences
via Mike Atamas, Counsel for Epic Games
2017-05-19 09:25:54 +08:00
Andy Green
3844988b6c cgi: apply chunked grace period only when explicitly chunked 2017-05-19 08:33:33 +08:00
Andy Green
a6a68785f7 cgi: handle no body to keep events coming 2017-05-18 23:20:12 +08:00
Andy Green
de12c860db cgi: allow time travelling headers to decide response code
https://github.com/warmcat/libwebsockets/issues/899
2017-05-18 21:19:57 +08:00
Andy Ning
ed92b6dfe7 client: added socks5 proxy support
AG:

 - move creation info members to end of struct
 - add LWS_WITH_SOCKS5 CMake var, defaults to OFF
 - cast away some warnings about signed / unsigned in strncpy

Signed-off-by: Andy Ning <andy.ning@windriver.com>
2017-05-17 06:18:45 +08:00
Andy Green
8f16f92cac plugins: group 2017-05-16 20:21:47 +08:00
Andy Green
3cf570ec52 esp32: group tracking 2017-05-16 19:35:55 +08:00
Andy Green
3198446d3c adoption: close socket manually if fails before add fds 2017-05-15 08:10:08 +08:00
Andy Green
fbc1ff6e7b stats: ah and ssl restriction stats 2017-05-15 07:30:06 +08:00
Andy Green
b778cc54ca esp32: group mdns 2017-05-14 14:55:15 +08:00
Andy Green
b2f8bc5638 esp32: multi ap slots 2017-05-13 10:26:59 +08:00
Andy Green
54236bd437 esp32: multi ap slots plus PEM certs and parallel build fixes 2017-05-11 15:02:01 +08:00
Andy Green
a7def3ce44 LWS_WITH_STATS 2017-05-09 14:19:43 +08:00
Andy Green
aff8d237f8 lws_write: report and reject suspicious lengths 2017-05-09 14:18:40 +08:00
Andy Green
2790d5b28c esp32: add leds sine fade helper 2017-05-09 14:18:40 +08:00
Andy Green
5468812946 esp32: reapply pending count just for esp32 2017-05-07 08:19:55 +08:00
Andy Green
57e020a826 plugin-standalone: refactor cmake part to ease multiple sources 2017-05-06 06:38:59 +08:00
Andy Green
e304d7bba7 esp32: mac build: use gstat if exists 2017-05-05 02:17:28 +08:00
Andy Green
a1210f73af non-ssl: return 0 on pending
https://github.com/warmcat/libwebsockets/issues/887
2017-05-03 21:28:26 +08:00
Andy Green
f13db3e722 snprintf: move contributed ssl patch to lws_snprintf 2017-05-03 20:25:16 +08:00
Andy Green
d1aa92011b esp32: client: SO_SNDBUF not usable 2017-04-29 00:55:06 +08:00
Andy Green
6384eb79e0 esp32: return random length from lws_get_random 2017-04-28 11:54:27 +08:00
Andy Green
98218bd6b7 esp32: return random count 2017-04-28 11:53:28 +08:00
Joel Winarske
991f6ec644 Subject: windows: fops write support 2017-04-20 07:24:09 +08:00
Martin Milata
aeb3397c8f Subject: ssl: stop spinning on close 2017-04-19 20:49:44 +08:00
dspname
ca6242a1d3 windows: constify first arg of plat fops open
https://github.com/warmcat/libwebsockets/issues/871
2017-04-19 20:28:48 +08:00
Andy Green
0b9686224d windows: align choked trunc checking with unix 2017-04-18 15:17:22 +08:00
Andy Green
ff151d0710 esp32: update for soc refactor in esp-idf 9edab21385b6349340d7e3ac27b730e44a127fd3 2017-04-17 07:40:15 +08:00
Gecko
6018c0519a Subject: Save copy of ah pointer even with WS client so that HTTP
error can be captured by calling lws_http_client_http_response.
2017-04-10 12:37:45 +08:00
Andy Green
f58241c4f2 client: allow 201 2017-04-09 07:56:41 +08:00
Andy Green
ba9d639792 ssl: only apply restriction if nonzero for vhost 2017-04-07 20:51:44 +08:00
Silas Parker
b4b3da06a1 bind protocol: fix for NULL names 2017-04-07 18:22:54 +08:00
Andy Green
4adf590e71 esp32-fix-random 2017-04-07 18:20:21 +08:00
Andy Green
8a74348839 esp32: workaround cant find TLS_client_method 2017-04-07 11:29:57 +08:00
Andy Green
47bbb044ad raw: defer creation callback until after fds inserted 2017-04-07 11:25:55 +08:00
Andy Green
2b9fff73f9 boilerplate: add back missing Lesser that cut-and-pasted itself around 2017-04-06 23:01:34 +08:00
Martin Milata
d7d8c081aa Subject: ssl: fix OpenSSL client method detection 2017-04-06 22:51:42 +08:00
Andy Green
19242db55b raw: take care about same vh protocol linked list 2017-04-06 13:49:17 +08:00
Andy Green
54c22623ab adopt: use default protocol in given vhost 2017-04-06 12:47:42 +08:00