Sergey Lyubka
252e4715d4
Merge pull request #1561 from vkoskiv/add-poll
...
Add optional poll() implementation under MG_ENABLE_POLL define
2022-05-26 07:53:02 +01:00
Valtteri Koskivuori
420b989adb
Add optional poll() implementation under MG_ENABLE_POLL
...
This adds the ability to substitute select() with poll() on supported
unix environments when MG_ENABLE_POLL is defined. A make flag called
USE_POLL is provided as well.
Using poll() removes the limitation of FD_SETSIZE concurrent sockets,
generally 1024 on Linux environments.
2022-05-26 06:00:27 +03:00
Sergey Lyubka
bdb388c79d
Fix pedantic warnings
2022-05-26 03:08:08 +01:00
Sergey Lyubka
87148f95f2
Clean up pedantic warnings
2022-05-26 02:50:15 +01:00
Sergey Lyubka
fe124354cd
Update custom build instructions
2022-05-26 02:10:28 +01:00
Sergey Lyubka
9a28fa71f0
Add -pedantic to gcc/clang CFLAGS
2022-05-26 02:10:07 +01:00
Sergey Lyubka
4139cdaf35
Remove poll() support
2022-05-26 02:07:37 +01:00
Sergey Lyubka
ebe04620e1
Better custom build reference
2022-05-25 13:36:39 +01:00
Sergey Lyubka
7e053cd632
Typo fs docs
2022-05-25 13:29:49 +01:00
Sergey Lyubka
1fd65c77fe
Enhance fs docs
2022-05-25 13:28:25 +01:00
Sergey Lyubka
2bfc838614
Fix build
2022-05-25 11:18:54 +01:00
Sergey Lyubka
69082db381
Regenerated packed fs
2022-05-25 11:15:00 +01:00
Sergey Lyubka
5ce2130f05
Minor formatting fix
2022-05-25 11:14:42 +01:00
Sergey Lyubka
5b448ec7a6
Integrate #1561 with some minor tweaks - add MG_ENABLE_POLL for poll() support
2022-05-25 11:14:12 +01:00
Sergey Lyubka
f72b27d1c1
docs
2022-05-24 20:36:21 +01:00
Sergey Lyubka
9973c5f2b7
docs
2022-05-24 19:20:20 +01:00
Sergey Lyubka
88ee415dd1
docs
2022-05-24 19:19:42 +01:00
Sergey Lyubka
4f168cf346
docs
2022-05-24 19:18:42 +01:00
Sergey Lyubka
ad7b5d2cd8
Change packed image
2022-05-24 19:14:20 +01:00
Sergey Lyubka
1e522de4a7
Change mg_iobuf image
2022-05-24 18:57:22 +01:00
Sergey Lyubka
c2d2d085cd
Add chart example
2022-05-23 15:27:19 +01:00
Sergey Lyubka
b3a4c12d67
Handle #1559 - set no flags in send() call
2022-05-22 23:49:38 +01:00
Sergey Lyubka
d5993ba27e
Fix #1550 - excladdrinuse
2022-05-21 16:18:34 +01:00
Sergey Lyubka
ef563603a9
Merge pull request #1557 from cesanta/pc
...
Remove mg_log_set_callback. Use MG_PUTCHAR macro instead
2022-05-20 10:16:57 +01:00
Sergey Lyubka
7e2ca72310
Remove mg_log_set_callback. Use MG_PUTCHAR macro instead
2022-05-20 09:45:17 +01:00
Sergey Lyubka
7c17c806ad
7.6 -> 7.7
2022-05-19 11:44:32 +01:00
Sergey Lyubka
8e0f529a00
Add MIP - an experimental TCP/IP stack
2022-05-18 21:19:21 +01:00
Sergey Lyubka
47e15a3d47
RTX nits
2022-05-17 19:29:53 +01:00
Sergey Lyubka
cac7007069
Merge pull request #1554 from zudwalex/zephyr_ci
...
Use docker for Zephyr CI
2022-05-16 13:39:25 +01:00
Alex Alashkin
ac55c900e7
Use docker for Zephyr CI
2022-05-16 15:30:25 +03:00
Sergey Lyubka
25806e48dc
Fix ESP32 build
2022-05-16 11:54:26 +01:00
Sergey Lyubka
3871f4b6ab
Fix #1546 - dont send excess for range requests
2022-05-16 11:45:08 +01:00
Sergey Lyubka
27c892806b
Fix #1540 - case sensitive match in mg_is_chunked()
2022-05-16 11:19:45 +01:00
Sergey Lyubka
2b9f0480a1
Fix #1549 - fix typo in log format specifier
2022-05-15 21:02:41 +01:00
Sergey Lyubka
72cc433265
Make SNTP test more resilient
2022-05-15 19:41:37 +01:00
Sergey Lyubka
7721b074e6
Log ms in test_sntp()
2022-05-15 19:31:29 +01:00
Sergey Lyubka
f5fd176b35
Increate SNTP timeout 3s->5s. Change mg_sntp_send() to mg_sntp_request(), remove one unnecessary parameter
2022-05-15 18:41:01 +01:00
Sergey Lyubka
6db1d7925e
Merge pull request #1552 from zudwalex/ti_merged
...
Add TI support
2022-05-15 17:40:46 +01:00
Alex Alashkin
0ed7545947
Add TI support
2022-05-15 19:25:50 +03:00
Sergey Lyubka
95e22e8d4f
Exporting only dashboard func
2022-05-15 14:40:58 +01:00
Sergey Lyubka
cf7d1d8041
Address #1551 - better timers handling
2022-05-15 14:29:34 +01:00
Sergey Lyubka
443d0f0c6c
Rename complete -> device-dashboard, remove multiple-logins and dashboard
2022-05-14 09:08:23 +01:00
Sergey Lyubka
c20e48179f
Un-break the test and untie serving code in dash example
2022-05-13 22:15:33 +01:00
Sergey Lyubka
3fbb7de712
Refactor dashboard example
2022-05-13 20:08:08 +01:00
Sergey Lyubka
0294603dfc
MG_ARCH_RTX nits
2022-05-12 15:07:02 +01:00
Sergey Lyubka
5458252e4a
Add missing src/arch_rtx.h
2022-05-12 08:23:17 +01:00
Sergey Lyubka
31ce219544
Add MG_ARCH_RTX
2022-05-12 08:07:51 +01:00
Sergey Lyubka
86cd567968
Nit - use quotes, not brackets for custom arch
2022-05-11 21:14:44 +01:00
Sergey Lyubka
5c66d32bc0
Refactor mg_open_listener()
2022-05-10 13:43:47 +01:00
Sergey Lyubka
5ac5c93c90
Refactor mg_open_listener()
2022-05-10 13:41:45 +01:00