Andy Green
e2a926de2f
linkedlist helpers
2017-07-09 10:11:59 +08:00
Andy Green
9b4fa24909
client: reject init_client_ssl more than once
2017-07-08 16:03:38 +08:00
Andy Green
7262e14dc1
lws_intptr_t
2017-07-07 08:32:04 +08:00
Andy Green
6a89c7e931
lws_return_http_status: if not in HTTP/2, restrict to a single write
2017-06-29 11:26:22 +08:00
Andy Green
ff9a24de1c
parsing: if we ended on a set of headers and read a new buffer mark as more_rx_waiting to avoid dropping the ah
2017-06-29 10:13:29 +08:00
Boutoukoat
e4d8acc85a
client: use right state machine
...
https://github.com/warmcat/libwebsockets/issues/951
2017-06-28 22:25:57 +08:00
Andy Green
a637d8f41f
file serve: defer transaction completed to HTTP_FILE_COMPLETION
2017-06-28 14:27:09 +08:00
Andy Green
8f4f692945
ah: require parsing complete before detach
...
Introduce helpers to force to detachable state and to test the ah is
in a detachable state.
Require not only the ah rx buffer is all used, but that the
wsi has completed a full set of headers.
2017-06-28 12:13:13 +08:00
Andy Green
bd23a401f6
transaction_completed: ignore if parsing not complete
2017-06-28 10:04:57 +08:00
Andy Green
04830cceef
ah reset: enforce reset of parsing_complete
2017-06-28 10:04:57 +08:00
Andy Green
eb7233ae97
WITH_STATS: remove accidental dependency on ssl
2017-06-28 10:04:57 +08:00
Andy Green
34ef9743d2
serving: protect file sending from downgrading to waiting pipelined headers
...
https://github.com/warmcat/libwebsockets/issues/946
2017-06-28 10:04:57 +08:00
Andy Green
ede9ad2b13
client: add libuv support to lws_client_reset
...
More direct solution to problem described in
https://github.com/warmcat/libwebsockets/pull/940
2017-06-26 08:36:49 +08:00
Andy Green
abc2a5cd2e
windows: SO_EXCLUSIVEADDRUSE
...
https://github.com/warmcat/libwebsockets/issues/942
2017-06-26 08:36:49 +08:00
Andy Green
d6394b6dba
client ssl: remove now meaningless check for non-server vhost
2017-06-21 08:24:44 +08:00
Andy Green
c70f6692f8
client: getaddrinfo refactor
...
https://github.com/warmcat/libwebsockets/issues/926
2017-06-20 15:56:48 +08:00
Andy Green
3ff720ff66
support openssl info callback
...
https://github.com/warmcat/libwebsockets/issues/936
2017-06-20 11:46:49 +08:00
Sergey Kovalevich
be4efcfe58
Subject: LWS_UNUSED
2017-06-19 10:57:39 +08:00
Andy Green
31e26a4fab
esp32: make button debounce also available in factory
2017-06-15 07:59:22 +08:00
Andy Green
581b86efd0
HTTP_PROXY: make usable
2017-06-14 09:53:09 +08:00
Andy Green
449eec9b54
client: add iface in connection info, dont use vhost iface
2017-06-14 09:45:30 +08:00
Andy Green
af718ff5c2
LWS_WITH_NO_LOGS: take care about unused array for log generation
2017-06-09 21:46:26 +08:00
WebsocketUser
0be9e98aae
win32: enable 64-bit file lengths
...
https://github.com/warmcat/libwebsockets/issues/916
AG added more appveyor warning cleaning and stitched in cmake tests
2017-06-09 20:20:42 +08:00
Andy Green
02638f6758
large files: convert content-length to use lws_filepos_t
2017-06-07 08:20:18 +08:00
Andy Green
37053b3a9c
content-length api: unsigned long to lws_filepos_t
2017-06-07 08:13:11 +08:00
Leonardo Maccari Rufino
393b38aed9
Subject: Support to bind accepted socket to device on Linux
...
AG: move new member to end of info,
allow info member even on nonsupporting platform,
document requires root,
apply only to listen skt before we drop root,
add -k to test server to allow testing
2017-06-07 08:13:11 +08:00
Andy Green
156363f3de
capabilities support
2017-06-07 06:49:20 +08:00
Leonardo Maccari Rufino
af7f943e05
Subject: windows: support to bind to a specific IPv6 address
2017-06-06 07:44:50 +08:00
Leonardo Maccari Rufino
2ce39fe26c
Subject: Support to IPv6 on Windows
2017-06-01 06:55:50 +08:00
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
emptyVoid
348887ea53
Subject: Direct extension confirmation to the negotiated protocol's callback
...
Fixes #897
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
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
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