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
Andy Green
ce37ee9624
gcc- format strings: debug and extra plugins
2017-02-05 22:30:27 +08:00
Martin Milata
be1f0a3a92
Subject: gcc format strings: Make GCC check format strings, fix found problems
2017-02-05 21:32:30 +08:00
Martin Milata
e96b69887f
docs: Correct string
2017-02-05 21:31:16 +08:00
Sven Hoffmann
b5ebd599b2
post processing: fix problem where hex cant straddle block correctly
2017-02-05 21:25:39 +08:00
Andy Green
24e77a04ab
remove dump getaddrinfo result
2017-02-03 20:55:56 +08:00
Andy Green
ad945976f7
client: decruft extensions
...
https://github.com/warmcat/libwebsockets/issues/770
2017-02-03 10:39:37 +08:00
Andy Green
c2208640dd
logging: cleanup and introduce LLL_USER
2017-01-31 10:50:15 +08:00
Andy Green
71bb400805
http_proxy: deal with redundant protocol leader
...
https://github.com/warmcat/libwebsockets/issues/764
2017-01-26 07:27:11 +08:00
Denis Osvald
76985f256d
wsi remove unused 'upgraded' boolean field
...
It was introduced in 7df53c5550
but was never used...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2017-01-23 20:04:06 +08:00
Andy Green
716aaeeb8b
context new option LWS_SERVER_OPTION_JUST_USE_RAW_ORIGIN
...
https://github.com/warmcat/libwebsockets/issues/757
2017-01-23 19:52:27 +08:00
Denis Osvald
cc806bb77e
ssl pass real wsi to verify cert cb
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2017-01-23 19:35:00 +08:00
Denis Osvald
bcce73201f
ssl expose public wsi->ssl getter
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2017-01-23 19:34:46 +08:00
Andy Green
1bc025cfa7
windows: reduce C99isms to something MS compiler can understand
2017-01-18 07:20:09 +08:00
Andy Green
51c96d8c2a
plat-optee and boringssl adaptations
2017-01-17 07:01:02 +08:00
Andy Green
e680fb9193
win32 fixes
...
https://github.com/warmcat/libwebsockets/issues/750
2017-01-17 06:51:11 +08:00
Tobias
3f55e5e964
ignore leading spaces when checking for a suitable subprotocol
...
My Browsers send as Subprotocols e.g. chat, superchat, mySubprotocol (with spaces after the ,). Libwebsockets now checked if ' mySubprotocol' was equal to 'mySubprotocol' which failed. With this fix the leading space is ignored and uses 'mySubprotocol' for comparision.
2017-01-17 06:22:58 +08:00