Andy Green
1ea3ef7894
travis: handle reduced max run time by splitting autobahn tests across two instances
2018-05-25 15:33:28 +08:00
Andy Green
9488424b8d
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 10:49:05 +08:00
Andy Green
0f9c75f6b5
dummy: add transaction completed processing for POST
2018-05-24 12:48:05 +08:00
Andy Green
0a1d54a3c4
h2 client: no close callback for network stream
2018-05-24 11:26:09 +08:00
Andy Green
c4f4b5c3c4
sshd: fix timingsafe_bcmp
...
https://github.com/warmcat/libwebsockets/issues/1288
2018-05-23 17:24:42 +08:00
Andy Green
0d787fa312
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:28:50 +08:00
Andy Green
95c0e8bf15
post-demo: defer even header writes to writable callback
2018-05-22 11:14:10 +08:00
Andy Green
621cdd7c4f
adopt: fix raw protocol binding
2018-05-21 14:43:40 +08:00
Andy Green
a177285b9c
cgi: fix QUERY_STRING
2018-05-18 08:40:18 +08:00
Andy Green
8527764095
windows: must test socket against LWS_SOCK_INVALID
2018-05-18 08:40:15 +08:00
Andy Green
3d96df62d0
udp: cast sendto payload to be compatible with windows perversions
...
https://github.com/warmcat/libwebsockets/issues/1277
2018-05-16 08:13:59 +08:00
Andy Green
8140c716b6
cmake: git describe --tags
2018-05-15 12:44:31 +08:00
Silas Parker
3c3c49f3b2
cmake: align include used for LWS_HAVE_TCP_USER_TIMEOUT
2018-05-15 08:04:48 +08:00
Andy Green
290e4f1e44
mbedtls: allow build with LWS_ROLE_WS=0
2018-05-11 16:41:34 +08:00
Andy Green
502130d999
refactor: split out adoption and client apis to core
...
- split raw role into separate skt and file
- remove all special knowledge from the adoption
apis and migrate to core
- remove all special knowledge from client_connect
stuff, and have it discovered by iterating the
role callbacks to let those choose how to bind;
migrate to core
- retire the old deprecated client apis pre-
client_connect_info
2018-05-11 10:29:08 +08:00
Andy Green
064c548f9b
lws_read_h1: handle LRS_RETURNED_CLOSE
2018-05-11 10:25:28 +08:00
Andy Green
f6f7c7e228
TCP_USER_TIMEOUT: make sure we include the correct header if linux
2018-05-10 19:31:05 +08:00
Andy Green
a4b44320c0
role ws: allow zero length PONG
2018-05-09 18:06:45 +08:00
Andy Green
6c1fbbf4cb
minimal-ws-client-ping
2018-05-09 17:00:37 +08:00
Andy Green
7bced4fac7
LWS_INLINE: replace all inline
2018-05-09 09:28:06 +08:00
Andy Green
d78f3a25dd
minimal-http-server-form-get: fix redirect api usage
2018-05-07 16:27:58 +08:00
Andy Green
de6f0a471c
post-v3.0.0-release bump to 3.0.99 for development
2018-05-07 13:41:09 +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
Andy Green
8d213f8295
refactor: isolate event_loop struct content same way as roles
2018-04-29 08:34:19 +08:00
Andy Green
91a47f4fab
refactor: also constify CAPS usage of context info
2018-04-28 08:01:01 +08:00
Andy Green
6e1caa5c56
buflist: debug
2018-04-28 07:55:31 +08:00
kaleb-himes
65b68bdc70
wolfSSL updates
2018-04-28 07:55:27 +08:00
Andy Green
ac6c48d98f
refactor: most preparation for -DLWS_ROLE_H1=0
2018-04-27 19:16:50 +08:00