Andy Green
8a74348839
esp32: workaround cant find TLS_client_method
2017-04-07 11:29:57 +08:00
Andy Green
47bbb044ad
raw: defer creation callback until after fds inserted
2017-04-07 11:25:55 +08:00
Andy Green
2b9fff73f9
boilerplate: add back missing Lesser that cut-and-pasted itself around
2017-04-06 23:01:34 +08:00
Martin Milata
d7d8c081aa
Subject: ssl: fix OpenSSL client method detection
2017-04-06 22:51:42 +08:00
Andy Green
19242db55b
raw: take care about same vh protocol linked list
2017-04-06 13:49:17 +08:00
Andy Green
54c22623ab
adopt: use default protocol in given vhost
2017-04-06 12:47:42 +08:00
Andy Green
00081a2b1f
ssl: OpenSSL v1.1 deprecated TLSv1_2_client_method
2017-04-06 08:32:03 +08:00
Andy Green
6cae994750
adopt: LWS_SERVER_OPTION_ONLY_RAW to indicate a vhost only serves raw
2017-04-06 07:57:45 +08:00
Andy Green
a7326fc8b5
esp32: force bash
2017-04-06 04:44:25 +08:00
Andy Green
36e04f33f5
esp32: ROMFS use checksum as mtime so ETAG caching works
2017-04-05 10:44:28 +08:00
Andy Green
89212d6668
pollout: handle request for pollout during pollout service
2017-04-05 08:30:55 +08:00
Renyaow
4ae029c3a1
windows: _snprintf_s
...
https://github.com/warmcat/libwebsockets/issues/859
2017-04-05 01:55:38 +08:00
Andy Green
d1dda25c6d
esp32: allow no factory upload info
2017-04-04 08:46:51 +08:00
Andy Green
34822f190d
esp32: enforce ssl nonblocking
2017-04-03 14:09:37 +08:00
Andy Green
30195eb79d
esp32: dont require factory button if no ssl certs yet
2017-04-03 11:56:33 +08:00
Andy Green
7faa71637f
logs: reduce ah err to info
2017-04-02 13:01:07 +08:00
Andy Green
00ae90978b
esp32: separate factory setup
2017-03-31 20:05:10 +08:00
paularmitt
422f56c9dc
windows: need LWS_INLINE
2017-03-31 19:57:24 +08:00
Andy Green
db64bfcefa
lws_remove_child_from_any_parent: clear parent pointer and fix failure message
2017-03-30 08:31:58 +08:00
Olivier Basson
73e12e7b93
ev: stop event listeners during context destroy
...
I think I've found a bug in libev backend, in function lws_libev_io(). I'm using latest version from master branch.
When deleting a context with active connections via lws_context_destroy(), context->being_destroyed is set to 1 early in the function, before the loop calling lws_close_free_wsi() on each active connection.
lws_close_free_wsi() calls remove_wsi_socket_from_fds(), which calls lws_libev_io(), and here is my problem :
lws_libev_io() returns without doing anything if context->being_destroyed is set, so libev callbacks for deleted connections file descriptors stay registered after context is destroyed, which may lead to segfault/undefined behaviour if these file descriptors get reused later (which would trigger the callbacks).
I think the "if (!pt->io_loop_ev || context->being_destroyed) return;" statement should be replaced with " if (!pt->io_loop_ev) return;"
This fixes the problem for me and I have not seen any side effect yet. Moreover, libuv backend does not have such a test.
2017-03-29 08:22:19 +08:00
Andy Green
7a0dead82a
service: always restrict rx to serve_buf_size
2017-03-29 08:22:19 +08:00
Andy Green
d58353f98a
pmd: handle case we are already on drain list
...
Provide internal helper for adding to list that takes care of the
case we are already on the list.
https://github.com/warmcat/libwebsockets/issues/847
2017-03-26 10:19:34 +08:00
Andy Green
7aadd14398
pmd: align client rx sm with server one
2017-03-25 08:48:23 +08:00
Andy Green
92f0200204
client: zero length read indicates peer shutdown
2017-03-25 08:47:30 +08:00
luk65
a4d23648f7
solaris: handle big-endian
...
https://github.com/warmcat/libwebsockets/issues/846
2017-03-24 06:51:06 +08:00
Andy Green
311e3a585d
spa: reject junk after finalization
2017-03-23 19:30:29 +08:00
Andy Green
629e356bb2
test-server-v2.0: disable setting default protocol
2017-03-22 21:24:04 +08:00
Andy Green
73ff23e288
debug: reduce spew for debug log level
2017-03-22 21:24:04 +08:00
Andy Green
49036d571f
cgi: avoid spin on php
2017-03-22 21:24:04 +08:00
Aditya Tirumala
ec50ebac12
Subject: Libevent: Initial Support
...
* Added libevent support functionality into lib/libevent.c
* Added test-server-libevent for testing
2017-03-22 05:36:25 +08:00
Andy Green
f84338ac1c
test-server-v2.0: add string.h include
...
via Joel Winarske on ml
2017-03-22 05:29:22 +08:00
Andy Green
c35661c45c
CMake: add option to avoid GISPIPE IGN for Android 7+
2017-03-21 11:34:49 +08:00
Andy Green
9287f7d1b3
ext: pmd: improve dealing with partial input usage with drain
...
https://github.com/warmcat/libwebsockets/issues/841
2017-03-20 19:07:19 +08:00
f0c800ada6
rpm: added missing file to %files section of spec file
2017-03-18 11:20:12 +08:00
Andy Green
2e874dea50
windows: cannot use fstat
2017-03-17 11:43:45 +08:00
Andy Green
ed27be42c9
docs: lws_callback_all_protocol: fix cut-n-paste error and explain it is probably not what you want
2017-03-15 07:28:51 +08:00
Andy Green
e769af41db
windows: don't use LWS_EXTERN outside of function declarations
2017-03-15 07:25:36 +08:00
Andy Green
102d40e6b6
esp32: openssl
2017-03-11 11:51:06 +08:00
Andy Green
e0572d3bef
esp32: move helper code into lws
2017-03-10 14:31:43 +08:00
Silas Parker
4198c20920
ssl: close sometimes continuously asserting POLLIN until timeout
...
https://github.com/warmcat/libwebsockets/issues/831
2017-03-10 07:46:05 +08:00
Silas Parker
c1b5c8cabd
fops_zip: require libz
2017-03-09 19:21:40 +08:00
Silas Parker
3c02868408
gcc-format-strings: 32-bit build
2017-03-09 18:52:10 +08:00
honjane
34842d7492
http2: fix log compile errors
2017-03-09 13:29:50 +08:00
Andy Green
6be573f2c9
v2.2.0
2017-03-08 14:15:01 +08:00
Andy Green
2f3b4c8f96
coverity 177526: pointer difference already scaled
2017-03-08 14:10:31 +08:00
Andy Green
3a09c3b7d6
esp32: align fops member name defines
2017-03-08 11:11:41 +08:00
Andy Green
c53a76f0ef
reduce log spew on POST processing
2017-03-08 10:52:49 +08:00
Andy Green
4219a3281d
server-name: add_server_header add LWSAHH_FLAG_NO_SERVER_NAME
...
Also clean up usage of status code defines in lws
2017-03-08 07:51:47 +08:00
Andy Green
b9dd61bb6f
server-name: default to no server name unless set in context
2017-03-08 07:35:27 +08:00
Andy Green
205ccedf6e
raw: enable server and client raw sockets
2017-03-07 16:06:05 +08:00