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

2625 commits

Author SHA1 Message Date
Andy Green
d1ca974b9f http: defer transaction completed if partial pending
This is only helpful for http/1... the real solution is cut up
sending large things.
2018-06-16 13:24:26 +08:00
Fabio Alessandrelli
80e1c85258 Add fix for forward declaration in BSD 2018-06-08 05:48:35 +08:00
Andy Green
08f47c84d2 sshd: make sure no aliases on last_alloc 2018-06-07 09:44:35 +08:00
Andy Green
3a499dd53d client: pipelining needs ah reset at client transaction completed 2018-06-04 07:15:39 +08:00
Andy Green
b63ffd9184 minimal ring: keep coverity happy for NULL pointer possibility 2018-06-03 17:11:21 +08:00
Ecionis
6b9306d165 windows: fix microseconds time calculation
https://github.com/warmcat/libwebsockets/issues/1297
2018-06-02 05:59:30 +08:00
Alfred Sawaya
3f7ffeddac fix memleak when role h1 failed to upgrade to websocket 2018-06-02 05:57:40 +08:00
d2b47b458b rpm: add missing build-time dependencies 2018-05-26 09:17:42 +08:00
9ba68a64c0 rpm: do parallel compilation during rpm builds 2018-05-26 09:17:36 +08:00
4b539e3b0f rpm: add missing test-apps to spec file 2018-05-26 09:17:29 +08:00
13f70dde2b rpm: fix bogus date in changelog 2018-05-26 09:17:23 +08:00
3e25edf1ee cmake: CPACK_SOURCE_IGNORE_FILES is a list of regular expressions 2018-05-26 09:17:15 +08:00
qmatt
0425d962e5 lwsl_debug: NOP if no _DEBUG 2018-05-26 09:07:08 +08:00
Andy Green
49c7e8238b cancel pipes: treat nonzero return code from platform only as indication not to use dummy_pipe_fds
https://github.com/warmcat/libwebsockets/issues/1291
2018-05-25 21:45:36 +08:00
Andy Green
2c2969cdac travis: handle reduced max run time by splitting autobahn tests across two instances 2018-05-25 21:45:27 +08:00
Andy Green
ad078faaaf client: fix SOCKS5 compilation
https://github.com/warmcat/libwebsockets/issues/1292
2018-05-25 21:44:59 +08:00
Andy Green
227c1a0df2 h2 client: no close callback for network stream 2018-05-24 11:27:56 +08:00
Andy Green
a2e0dc92ce sshd: fix timingsafe_bcmp
https://github.com/warmcat/libwebsockets/issues/1288
2018-05-23 17:22:45 +08:00
Andy Green
34d07125e7 ws: pingpong: server wants to send pings too
During the role refactoring pingpong accidentally
became something only a client wsi could initiate.

https://github.com/warmcat/libwebsockets/issues/1283
2018-05-22 16:31:18 +08:00
Andy Green
82fc4756be cgi: fix QUERY_STRING 2018-05-18 14:45:43 +08:00
Silas Parker
fde8c823ac cmake: align include used for LWS_HAVE_TCP_USER_TIMEOUT 2018-05-15 08:28:21 +08:00
Andy Green
56eef571a0 mbedtls: allow build with LWS_ROLE_WS=0 2018-05-11 16:43:10 +08:00
Andy Green
bc409bbc2e lws_read_h1: handle LRS_RETURNED_CLOSE 2018-05-11 10:26:52 +08:00
Andy Green
a77e2a7fbf role ws: allow zero length PONG 2018-05-09 18:55:26 +08:00
Andy Green
24c216fac5 minimal-ws-client-ping 2018-05-09 17:02:03 +08:00
Andy Green
d6e3346763 LWS_INLINE: replace all inline 2018-05-09 09:24:17 +08:00
Andy Green
0ef3eae50b minimal-http-server-form-get: fix redirect api usage 2018-05-07 16:33:14 +08:00
Andy Green
eaa935a80a v3.0.0 2018-05-07 13:38:53 +08:00
Andy Green
1d3cafe179 autobahn: 12.3.1 and 12.3.2 also affected by autobahn bug 2018-05-07 13:37:25 +08:00
Andy Green
2f5f1125f7 esp32: align hrtimer and avoid compiler warning 2018-05-07 13:34:14 +08:00
Andy Green
1f6cbbe7a5 update LICENSE against refactors 2018-05-07 11:27:50 +08:00
Andy Green
412ff64be9 lws_ring: implement lagging client culling 2018-05-06 07:36:31 +08:00
Andy Green
c4dc102a0b windows: cleanup wrong and duplicated socket validity helpers
https://github.com/warmcat/libwebsockets/issues/1259
2018-05-06 07:22:25 +08:00
jas39
d48be760c0 Update protocol_esp32_lws_scan.c
Consistent use of make constant throughout files
#define CONFIG_LWS_IS_FACTORY_APPLICATION==1
2018-05-05 10:29:00 +08:00
jas39
57f7f54555 Update protocol_esp32_lws_ota.c
Corrected partition range check
Use of library constant
2018-05-05 10:17:59 +08:00
Andy Green
e77dafba6f win32: align hrtimer support with unix plat
Workaround last build warnings on win32.
2018-05-05 07:18:00 +08:00
Andy Green
e7673b4c1d coverity: check argv 2018-05-05 06:58:52 +08:00
Andy Green
eeb76e822a minimal-http-server-mimetypes 2018-05-05 06:03:16 +08:00
Andy Green
1c08a96b47 prepare for new release 2018-05-05 06:03:15 +08:00
Andy Green
c99a99e9b4 LRS_DOING_TRANSACTION 2018-05-04 12:05:56 +08:00
Andy Green
de064fd65a refactor: core code in lib/core and private-libwebsockets.h to core/private.h
This commit is coverity-clean as tested

cmake .. -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_WITHOUT_EXTENSIONS=1 -DLWS_WITH_ACME=1 -DLWS_WITH_LWSWS=1 -DLWS_WITH_LIBUV=1 -DLWS_WITH_HTTP2=1 -DLWS_WITHOUT_CLIENT=0 -DLWS_WITHOUT_SERVER=0 -DLWS_UNIX_SOCK=1 -DLWS_WITH_TLS=0 -DLWS_WITH_MBEDTLS=0 -DLWS_WITH_CGI=1 -DCMAKE_BUILD_TYPE=DEBUG -DLWS_WITH_GENERIC_SESSIONS=1 -DLWS_WITH_RANGES=1 -DLWS_ROLE_WS=1 -DLWS_MAX_SMP=16 -DLWS_ROLE_H1=1 -DLWS_WITH_WOLFSSL=0 -DLWS_WITH_LIBEV=0 -DLWS_WITH_LIBEVENT=1
2018-05-03 10:49:36 +08:00
Andy Green
a01ad0dd20 hrtimer: add support for libevent and libev 2018-05-02 19:27:33 +08:00
Andy Green
9cce1874b0 context_destroy: figure out if anything still in event loop 2018-05-02 19:27:29 +08:00
Andy Green
bce8cca042 refactor: also migrate tls to the ops struct and private.h pattern
Several new ops are planned for tls... so better to bite the bullet and
clean it out to the same level as roles + event-libs first.

Also adds a new travis target "mbedtls" and all the tests except
autobahn against mbedtls build.
2018-05-02 12:10:36 +08:00
Andy Green
da0be64f68 minimal-raw-netcat
Adapt attack.sh to use it instead of OS netcat and fox various bugs that
exposed.
2018-05-02 08:46:16 +08:00
Andy Green
f1c56bc233 alpn: allow NULL alpn in role struct when scanning for match
https://github.com/warmcat/libwebsockets/issues/1262
2018-05-01 18:15:52 +08:00
Andy Green
f497562a62 refactor: change event lib minimal examples to serve as the test apps 2018-04-30 19:17:32 +08:00
Andy Green
0b52d92d12 refactor: remove more test apps and replace with minimal-examples 2018-04-30 09:16:04 +08:00
Andy Green
d37b383edc refactor: apply ops structs to event loop handlers 2018-04-29 10:44:36 +08:00
Andy Green
d05b408cde refactor: clean out test-apps 2018-04-29 08:35:24 +08:00