Commit graph

2143 commits

Author SHA1 Message Date
Andy Green
6d0c96e06a docs: remove in-tree version
It's a nice idea having them in-tree, but it leaves too much jumk
in the patches.

The up-to-date api for master will continue to be here

https://libwebsockets.org/lws-api-doc-master/html/index.html
2017-02-28 18:44:11 +08:00
Silas Parker
ab89246467 cosmetic fix trailing newline on log 2017-02-28 18:29:57 +08:00
Andy Green
4ca114fbcf cmake: create build/include 2017-02-28 07:51:56 +08:00
Andy Green
73dda1f765 client: take care of rx close during pending partial same as server does
https://github.com/warmcat/libwebsockets/issues/816
2017-02-28 04:03:26 +08:00
Andy Green
1789d0a483 fops: refactor around lws_fops_fd_t 2017-02-26 08:15:42 +08:00
Namowen
96b91cc7ec ssl: avoid EVP errors 2017-02-26 08:15:42 +08:00
Silas Parker
2e1dcc542e Prevent SSL downgrade during redirect 2017-02-23 08:23:21 +08:00
Silas Parker
3db9eca06a Add client support for relative reference redirects 2017-02-23 08:21:25 +08:00
Andy Green
d26d7b0e04 docs: catch up with decruft 2017-02-22 10:26:42 +08:00
Andy Green
a5488f9c27 mbedtls: remove abortive attempt to avoid confusing people
Basically we support openssl api compatibles only.

If we ever try something different we need a shim making it openssl api or a proper abstraction layer added first.
2017-02-22 09:54:47 +08:00
Andy Green
0aed7a06d5 mbed3: sayonara
The port was technically worthwhile and laid the groundwork for ESP support.

But now it is just useless cruft like mbed3 itself...
2017-02-22 09:50:11 +08:00
Joel Winarske
91593d8886 client: allow setting client ssl certs from lwsws and connection info separate from server ssl certs 2017-02-22 07:28:13 +08:00
Joel Winarske
390ba34400 ssl config for http client 2017-02-22 07:17:32 +08:00
Martin Milata
88d6c1a63b gcc format strings: couple more
Found on MIPS
2017-02-22 07:02:02 +08:00
Andy Green
3e0006c206 client: move redirects and c_port out of union
https://github.com/warmcat/libwebsockets/issues/810
2017-02-22 06:55:12 +08:00
Andy Green
3d6a1e11c2 client connect: oom4 clean up timeout list
https://github.com/warmcat/libwebsockets/issues/810
2017-02-21 23:38:40 +08:00
Andy Green
0db9b9f346 client redirect: choose correct error path after resetting client connection
https://github.com/warmcat/libwebsockets/issues/810
2017-02-21 22:59:00 +08:00
Silas Parker
dc4934d2bc ssl close improvement 2017-02-21 19:27:47 +08:00
Andy Green
297c0313fa raw: adoption and processing 2017-02-21 07:47:35 +08:00
Silas Parker
a5f2d8b688 url-parser: handle ipv6 [] addresses 2017-02-21 07:27:07 +08:00
Namowen
7832b236a4 vhost: also free per-vhost protocols list even when no PLUGINS 2017-02-20 06:20:56 +08:00
Andy Green
052a685435 ssl close: do explicit ssl shutdown instead of socket shutdown if ssl mode 2017-02-20 05:44:56 +08:00
Namowen
b8034bb1e5 cosmetic CR missing on some errs 2017-02-19 05:35:55 +08:00
Andy Green
c7c4ae0aa4 ESP32 platform
This is enough for all the test app features to work on ESP32 without
SSL.
2017-02-18 17:27:22 +08:00
Yuchen Xie
936bf08a0f Fix typo 2017-02-18 17:27:22 +08:00
Namowen
40d37e2105 client: fix X509_V_ERR_CERT_HAS_EXPIRED 2017-02-18 17:27:22 +08:00
Joel Winarske
4241af99cb client: direct _APPEND_HANDSHAKE_HEADER at wsi protocol 2017-02-18 17:27:22 +08:00
Yongwen Zhuang
4fd91fa60d Correct Cross compiling commandline 2017-02-18 17:27:22 +08:00
Andy Green
186ba832b3 client: allow http[s] to select targeted protocol name in vhost 2017-02-18 17:27:22 +08:00
Joel Winarske
238766be6b windows: changes to build with VS2015 2017-02-18 17:27:22 +08:00
Silas Parker
f2c6e48eb8 fix close packet index coding
https://github.com/warmcat/libwebsockets/issues/792
2017-02-18 17:27:22 +08:00
Silas Parker
f9f5a57607 gcc-format-strings: ipv6 2017-02-18 17:27:22 +08:00
Per Bothner
baa0f74bf2 gzip fixes 2017-02-18 17:27:22 +08:00
Andy Green
1d393aba9e client: close without spinning
https://github.com/warmcat/libwebsockets/issues/789
2017-02-18 17:27:22 +08:00
Andy Green
2e11efa84b file_ops: add compression flags and convert open flags to pointer
ihttps://libwebsockets.org/pipermail/libwebsockets/2017-February/003127.html
2017-02-12 18:15:15 +08:00
Andy Green
21faff3deb file_ops: use wrappers for names 2017-02-12 18:11:11 +08:00
Andy Green
0b3e9e62cb client redirect: make sure there is a leading / on path 2017-02-10 11:00:38 +08:00
Andy Green
807313b157 appveyor: make zip artifact 2017-02-10 07:37:35 +08:00
Andy Green
31c5130802 client: fix redirects and allow ssl / non-ssl redirects 2017-02-09 15:25:01 +08:00
Andy Green
5e25dc07c8 chunked http client: support in test-client and document
This improves the test client to

 - dump http content if INFO log level enabled
 - handle chunked content correctly
 - document lws_http_client_read()
2017-02-09 09:17:23 +08:00
Andy Green
c8b20910ec lwsl_visible 2017-02-09 09:11:17 +08:00
Johnny
388f6c97fb test client: some compilers dont accept void * as const char *
This fixes a conversion error from a void pointer to a string.
2017-02-08 07:02:00 +08:00
Andy Green
73f5e58682 gcc-format-strings: LWS_PLAT_OPTEE 2017-02-07 00:51:25 +08:00
Andy Green
9395eb62ce LWS_PLAT_OPTEE: Convert to use TEE_Malloc
OPTEE TAs should allocate via TEE_Malloc
2017-02-07 00:51:25 +08:00
Andy Green
066f4156d6 coverity 175437: forgot to add name to array for new USER log level 2017-02-07 00:51:25 +08:00
Andy Green
cde0371a83 coverity 175438: server status plugin: off-by-one if you generate 32KB of content 2017-02-07 00:51:25 +08:00
Andy Green
af9ddec2f7 coverity 175435: seems bogus 2017-02-07 00:51:25 +08:00
Andy Green
a17992b638 coverity 175436: dead cruft 2017-02-07 00:51:25 +08:00
Andy Green
fdb25fcd6e gcc format strings: http2 2017-02-07 00:51:25 +08:00
andSpace
7df395695b LWS_FALLBACK_GETHOSTBYNAME
Adapted by AG to not use-after-free and have LWS_FALLBACK_GETHOSTBYNAME
2017-02-05 22:30:27 +08:00