Sergio R. Caprile
32559f15ea
fix Github editor line ending creativity
2023-10-12 10:56:38 -03:00
Sergio R. Caprile
b10eef1e32
Update version in mongoose.h
2023-10-12 10:44:58 -03:00
Sergio R. Caprile
7c4911598c
Update version.h
2023-10-12 10:27:55 -03:00
Sergio R. Caprile
efacb20bdc
Merge pull request #2423 from cesanta/same
...
rename same54
2023-10-11 17:36:09 -03:00
Sergio R. Caprile
2e6188205f
rename same54
2023-10-11 16:58:21 -03:00
Sergio R. Caprile
83fec2cf45
cleanup
2023-10-11 16:39:24 -03:00
Sergio R. Caprile
9be36eb9cb
Merge pull request #2422 from cesanta/tcp
...
Fix tcp example for 2-way TLS
2023-10-11 16:34:12 -03:00
Sergio R. Caprile
a51802ecaf
Fix tcp example for 2-way TLS
2023-10-11 16:25:24 -03:00
Sergio R. Caprile
b1c220e610
Remove mg_mkpipe() leftovers
2023-10-10 18:16:02 -03:00
Sergey Lyubka
36f6b805e3
Merge pull request #2421 from cesanta/h723
...
Add h723 example
2023-10-10 19:19:51 +01:00
Sergey Lyubka
64efad9e46
Merge pull request #2419 from cesanta/rt1020
...
Add FreeRTOS example for RT1020
2023-10-10 07:57:05 +01:00
Sergio R. Caprile
8a8d5ce151
Add FreeRTOS example for RT1020
2023-10-09 17:03:58 -03:00
Sergey Lyubka
907417f9ec
Merge pull request #2418 from cesanta/rt1020
...
Add TRNG
2023-10-09 17:24:39 +01:00
Sergio R. Caprile
0965177e72
Add TRNG
2023-10-09 13:03:52 -03:00
cpq
7d07ca8427
Add drivers
2023-10-09 09:36:43 +01:00
Sergey Lyubka
d18b2b390a
Merge pull request #2415 from cesanta/json
...
Add mg_json_next() for iterating objects/arrays
2023-10-09 07:55:44 +01:00
Sergey Lyubka
fefe8b1c15
Merge pull request #2416 from cesanta/log
...
Add MG_ENABLE_CUSTOM_LOG
2023-10-09 07:55:31 +01:00
cpq
ea2ff010a9
Add MG_ENABLE_CUSTOM_LOG
2023-10-08 17:09:14 +01:00
cpq
e357cb3185
Bump up max DNS responses 10->15
2023-10-08 15:30:18 +01:00
cpq
293ee2162c
Add mg_json_next() for iterating objects/arrays
2023-10-07 22:40:51 +01:00
cpq
c29ee769bc
Fix comment
2023-10-07 17:58:20 +01:00
Sergey Lyubka
82399f1561
Merge pull request #2414 from cesanta/rt1020
...
Rework RT1020 driver
2023-10-07 11:21:29 +01:00
Sergio R. Caprile
9255ceaf8a
Rework RT1020 driver
...
Add web server in example
Add to tests
2023-10-06 16:56:00 -03:00
cpq
bb9c7c0eb3
Handle ECOS case in accept_conn()
2023-10-06 15:58:26 +01:00
Sergey Lyubka
8ec327f9c7
Merge pull request #2407 from cesanta/rt1020
...
Add RT1020-EVK baremetal example
2023-10-05 14:19:00 +01:00
Sergio R. Caprile
c9b982eaff
add update script to Makefile
2023-10-04 16:31:50 -03:00
Sergio R. Caprile
248e7b6e29
Add RT1020-EVK baremetal example
2023-10-04 15:18:57 -03:00
Sergey Lyubka
cb1ae312a1
Merge pull request #2404 from cesanta/g031
...
Add nucleo-g031 baremetal example
2023-10-04 15:39:19 +01:00
cpq
aec25cf547
Add h723 example
2023-10-04 11:11:56 +01:00
cpq
4db3fc2515
dd nucleo-g031 baremetal example
2023-10-03 13:55:47 +01:00
Sergey Lyubka
79d6017c56
Merge pull request #2402 from cesanta/bcast
...
send broadcasts in MIP
2023-10-03 13:53:58 +01:00
Sergio R. Caprile
d4c122b17a
send broadcasts in MIP
2023-10-02 13:37:27 -03:00
cpq
57fd93eeda
Fix ring color
2023-10-01 23:20:42 +01:00
cpq
19cac05747
Enhance components
2023-10-01 23:08:10 +01:00
Sergey Lyubka
5ebede5096
Merge pull request #2395 from cesanta/scopeid
...
Fix #2192 - honor addr%scopeid ipv6 notation
2023-09-29 15:52:40 +01:00
cpq
46ecb07fc8
Fix #2192 - honor addr%scopeid ipv6 notation
2023-09-29 15:49:47 +01:00
cpq
a628a05efb
Restore pub. domain notice
2023-09-29 13:09:29 +01:00
cpq
fc626bb57f
Update pakced fs
2023-09-28 16:27:58 +01:00
cpq
1291839182
Update packed fs
2023-09-28 15:09:34 +01:00
Sergey Lyubka
736e7a2cf9
Merge pull request #2394 from cesanta/chunks
...
Get rid of MG_EV_HTTP_CHUNK
2023-09-26 20:45:40 +01:00
cpq
7884a2f3c7
Get rid of MG_EV_HTTP_CHUNK
2023-09-26 20:45:24 +01:00
Sergey Lyubka
dde699ffda
Merge pull request #2393 from cesanta/ota-api-refactoring
...
OTA API refactoring: renamed files and defines
2023-09-26 14:15:49 +01:00
robert
fa54a22aed
OTA API refactoring: renamed files and defines
2023-09-26 08:33:39 -04:00
cpq
822b0c011a
Add sys_flash.c for common mg_flash_{load,save}
2023-09-25 07:55:35 +01:00
cpq
a0f8a197c9
Split sys.h API over MG_SYS_*
2023-09-25 07:33:38 +01:00
Sergey Lyubka
7e75e51332
Merge pull request #2392 from cesanta/flash2
...
Commonise flash-based OTA. Add h7 support.
2023-09-25 05:21:52 +01:00
cpq
b37efbe891
Commonise flash-based OTA. Add h7 support.
2023-09-24 21:55:49 +01:00
cpq
6e648c90b0
Added OTA to the feature list
2023-09-24 21:18:02 +01:00
cpq
377d6acc74
Fix leak in unit test
2023-09-22 08:12:09 +01:00
Sergey Lyubka
f552d15fe4
Merge pull request #2390 from cesanta/tickets
...
Restore tickets support
2023-09-21 19:08:08 +01:00
cpq
d1204e8a66
Better chunk length calculation
2023-09-21 19:04:32 +01:00
cpq
9ec48e41f7
Restore tickets support
2023-09-21 18:43:33 +01:00
Sergey Lyubka
9055a83b4f
Merge pull request #2388 from cesanta/dns
...
dns.c slight refactor, no functional changes
2023-09-21 13:38:23 +01:00
cpq
dd047b2613
dns.c slight refactor, no functional changes
2023-09-21 13:38:06 +01:00
Sergey Lyubka
b7a32069b1
Merge pull request #2389 from cesanta/ipv6
...
Address discussions/2305 - bind to v6 only / v6 and v4
2023-09-21 13:37:29 +01:00
cpq
00d475bc7e
Address https://github.com/cesanta/mongoose/discussions/2305 - bind to v6 only / v6 and v4
2023-09-21 12:35:47 +01:00
Sergio R. Caprile
33ab44430c
Merge pull request #2386 from cesanta/timer
...
Revert to the old TLS API, but keep certs as mg_str for DER
2023-09-19 12:17:56 -03:00
Sergio R. Caprile
b355da32b9
Add GA OpenSSL tests back
2023-09-19 12:08:02 -03:00
cpq
3f0366a514
Revert to the old TLS API, but keep certs as mg_str for DER
2023-09-19 11:15:23 +01:00
cpq
7ecbbc517d
Using mg_bzero to cleanup memory in mg_close_conn()
2023-09-17 22:25:36 +01:00
cpq
a04c94444e
Add rt1020 baremetal sketch
2023-09-17 10:41:04 +01:00
Sergio R. Caprile
42b9ac1145
update
2023-09-12 18:30:23 -03:00
Sergio R. Caprile
7be4925c70
Merge pull request #2384 from cesanta/p_open
...
Do not use CLOEXEC on Windows
2023-09-12 18:28:39 -03:00
Sergio R. Caprile
7b19568683
Do not use CLOEXEC on Windows
2023-09-12 17:11:55 -03:00
Sergio R. Caprile
8f56779855
Merge pull request #2383 from cesanta/poll
...
Optimize test coverage
2023-09-12 16:41:17 -03:00
Sergio R. Caprile
fdfad8462c
Optimize test coverage
2023-09-12 16:28:10 -03:00
Sergio R. Caprile
3773ef45e7
Optimize test coverage
2023-09-12 16:22:54 -03:00
Sergio R. Caprile
c0ca3cacb4
Fixing test.yml
2023-09-12 15:05:29 -03:00
Sergio R. Caprile
bed0630698
Fixing test.yml
2023-09-12 09:13:38 -03:00
Sergey Lyubka
53baa18836
Merge pull request #2380 from cesanta/ip-fragmentation-2
...
IP fragmentation send path: added TCP/UDP packet splitting to fit within MTU
2023-09-12 12:51:04 +01:00
Sergey Lyubka
32a2144426
Merge pull request #2382 from cesanta/poll
...
increase test coverage
2023-09-12 12:50:50 +01:00
robert
264026acde
added TCP/UDP packet splitting to fit within MTU
2023-09-12 07:05:13 -04:00
Sergio R. Caprile
43503ef73a
increase test coverage
2023-09-11 17:46:25 -03:00
Sergio R. Caprile
7f52717e9d
increase test coverage
2023-09-11 17:41:36 -03:00
Sergio R. Caprile
bd59185ef1
Merge pull request #2381 from cesanta/tls
...
add host only validation
2023-09-11 16:38:18 -03:00
Sergio R. Caprile
310ffcd4eb
add host only validation
2023-09-11 16:34:24 -03:00
cpq
d23664a457
Move network code to net.*
2023-09-08 09:39:57 +01:00
Sergio R. Caprile
a1e316ddcf
make TCP example work with new TLS API
2023-09-06 18:50:33 -03:00
Sergio R. Caprile
e328758fc7
Merge pull request #2379 from cesanta/tls
...
unifomize TLS examples, stage 1
2023-09-06 16:55:46 -03:00
Sergio R. Caprile
dbf49255a3
fix
2023-09-06 16:19:21 -03:00
Sergio R. Caprile
1391bdcf8b
remove certs.h
2023-09-06 15:49:02 -03:00
Sergio R. Caprile
d8106a8ffe
use packed ca.pem
2023-09-06 15:21:16 -03:00
Sergio R. Caprile
ae55789c4b
erase ca.pem
2023-09-06 15:21:16 -03:00
Sergio R. Caprile
ec02ccf5b2
Merge pull request #2377 from cesanta/h5
...
uniformize examples
2023-09-05 13:43:39 -03:00
Sergio R. Caprile
f970cd78d7
uniformize examples
2023-09-05 13:36:46 -03:00
Sergio R. Caprile
8140ea16a7
Merge pull request #2371 from cesanta/cloexec
...
Fix #2369 - set CLOEXEC on epoll and regular file fds
2023-09-05 10:15:58 -03:00
Sergey Lyubka
2883709756
Merge pull request #2370 from cesanta/ota
...
Add OTA to the device dashboard. Implement for H5
2023-09-05 13:28:22 +01:00
cpq
ca4c2c6c41
Set CLOEXEC on epoll and regular file fds
2023-09-05 06:56:41 +01:00
Sergey Lyubka
fbc56f4adf
Merge pull request #2367 from cesanta/ip-fragmentation
...
closing connection if a fragmented packet is received
2023-09-05 06:34:29 +01:00
cpq
2f014237b2
Add OTA to the device dashboard. Implement for H5
2023-09-04 22:07:32 +01:00
robert
f33e3a7752
closing connection if a fragmented packet is received
2023-08-30 10:30:51 -04:00
cpq
d5b5cec797
Make fuzzer faster on large input/output
2023-08-26 00:52:24 +01:00
Sergey Lyubka
f8e1f17651
Merge pull request #2366 from cesanta/h5
...
Add FreeRTOS example on H5
2023-08-25 21:21:41 +01:00
Sergio R. Caprile
be58bfe22b
Add FreeRTOS example on H5
2023-08-25 17:15:26 -03:00
Sergey Lyubka
995a63dc39
Merge pull request #2364 from cesanta/braces
...
Style: always braces around if + else
2023-08-25 15:00:52 +01:00
cpq
e8d57ac4e1
Style: always braces around if + else
2023-08-25 14:46:38 +01:00
Sergio R. Caprile
eab3a83548
Merge pull request #2362 from cesanta/h5
...
Update H5 HAL, enable RNG, work at 250MHz, add to tests
2023-08-24 13:35:37 -03:00
Sergio R. Caprile
3fb9e5fd56
Update H5 HAL, enable RNG, work at 250MHz, add to tests
2023-08-24 13:32:37 -03:00
Sergio R. Caprile
41448278cf
Merge pull request #2360 from cesanta/h7
...
Fix sysinit in H7
2023-08-23 14:37:21 -03:00
cpq
48516b43c5
Use device 11
2023-08-23 00:38:57 +01:00
Sergio R. Caprile
80b7be0568
Fix sysinit in H7
2023-08-22 19:58:19 -03:00
Sergey Lyubka
4183552aee
Merge pull request #2358 from cesanta/b64
...
Change base64 API
2023-08-22 14:43:33 +01:00
cpq
527e89754e
Change base64 API
2023-08-22 12:11:13 +01:00
robertc2000
30e0f42c97
Merge pull request #2357 from cesanta/tcpip-conn-init
...
improved tcp connection initiation
2023-08-22 09:30:24 +03:00
Sergio R. Caprile
39b40daf5d
cleanup
2023-08-21 19:34:04 -03:00
Sergio R. Caprile
94636f4d30
Merge pull request #2355 from cesanta/mqtt54
...
Add MQTT example and test for SAME54
2023-08-21 19:27:17 -03:00
Sergio R. Caprile
fd53548c5e
Add MQTT example and test for SAME54
2023-08-21 19:24:33 -03:00
Sergio R. Caprile
354ea30797
Add MQTT example and test for SAME54
2023-08-21 19:11:50 -03:00
Sergio R. Caprile
11303e0dc1
Merge pull request #2354 from cesanta/tst
...
Add MQTT test for MIP
2023-08-21 17:26:24 -03:00
Sergio R. Caprile
b4c645f703
Add MQTT test for MIP
2023-08-21 17:22:42 -03:00
cpq
3256218fd2
Do uri len check after it is finalised
2023-08-21 17:16:48 +01:00
robert
a4f14b0ddf
improved tcp connection initiation
2023-08-21 10:22:53 -04:00
Sergio R. Caprile
e7459d91f9
Merge pull request #2353 from cesanta/certs
...
Store certs in certs/. Add mg_unpacked()
2023-08-21 09:52:10 -03:00
cpq
b32d1c15f0
Store certs in certs/. Add mg_unpacked()
2023-08-20 23:43:04 +01:00
Sergio R. Caprile
1e0d57a832
Merge pull request #2352 from cesanta/mip
...
Unify naming: all network stacks are in src/net_...
2023-08-18 16:40:57 -03:00
cpq
f3617a1cf3
Add integer overflow protection
2023-08-18 20:33:57 +01:00
cpq
89a9a50b96
Unify naming: all network stacks are in src/net_...
2023-08-18 19:59:15 +01:00
cpq
69d2ba7316
Add example for nucleo-h563zi
2023-08-18 16:06:17 +01:00
robertc2000
3ea5f8dbde
Merge pull request #2344 from cesanta/tcp-closure
...
improved tcp closure
2023-08-18 14:06:41 +03:00
Sergio R. Caprile
d56152875d
Merge pull request #2350 from cesanta/deprecate
...
deprecate mg_mkpipe()
2023-08-17 18:32:39 -03:00
Sergio R. Caprile
7459d30a28
deprecate mg_mkpipe()
2023-08-17 18:05:03 -03:00
Sergio R. Caprile
16bf9101aa
Merge pull request #2349 from cesanta/isclosing
...
is_closing -> is_draining
2023-08-17 16:52:51 -03:00
Sergio R. Caprile
2b20af36a7
is_closing -> is_draining
2023-08-17 16:45:10 -03:00
robert
f5e87cceec
improved tcp closure
2023-08-17 10:34:31 -04:00
Sergey Lyubka
36fcb7ed21
Merge pull request #2347 from cesanta/cl
...
Fix #2322 - stricter Content-Length check, allow 1*DIGIT only
2023-08-17 14:58:01 +01:00
cpq
9fe7807b02
Fix #2322 - stricter Content-Length check, allow 1*DIGIT only
2023-08-17 12:55:08 +01:00
Sergey Lyubka
88e3017ee5
Merge pull request #2348 from cesanta/dns
...
Fix #2263 - allow multiple errors in DNS handler
2023-08-17 10:12:16 +01:00
cpq
17f3738192
Fix #2263 - allow multiple errors in DNS handler
2023-08-17 10:11:21 +01:00
Sergey Lyubka
6cfdc39005
Merge pull request #2346 from cesanta/regex
...
Fix #2345 - json parsing of arrays of objects
2023-08-16 22:10:13 +01:00
cpq
58886a9693
Fix #2345 - json parsing of arrays of objects
2023-08-16 22:09:45 +01:00
Sergey Lyubka
66e022c454
Merge pull request #2343 from cesanta/fuz
...
Add http serve to fuzzer
2023-08-16 20:46:27 +01:00
cpq
ea3968601e
Add http serve to fuzzer
2023-08-16 20:18:52 +01:00
Sergio R. Caprile
54be13d1d8
Merge pull request #2342 from cesanta/pio
...
Fix PIO assembly error
2023-08-14 16:17:37 -03:00
Sergio R. Caprile
22ea825d46
Fix PIO assembly error
2023-08-14 16:15:27 -03:00
Sergio R. Caprile
8c03aa2801
nit
2023-08-10 19:37:47 -03:00
Sergio R. Caprile
5bb952260a
Merge pull request #2340 from cesanta/same54
...
SAME54 Ethernet driver
2023-08-10 19:26:50 -03:00
Sergio R. Caprile
face6c44c6
SAME54 Ethernet driver
...
Add tls_builtin.c
2023-08-10 18:59:23 -03:00
Sergio R. Caprile
66c2bfe822
Merge pull request #2339 from cesanta/revert-2336-foo
...
Revert "Foo"
2023-08-10 18:16:38 -03:00
Sergio R. Caprile
3721bcc790
Revert "Foo"
2023-08-10 17:48:55 -03:00
Sergio R. Caprile
cacab6fe4c
Merge pull request #2338 from cesanta/keil
...
Keil
2023-08-09 17:17:57 -03:00
scaprile
6ad8674cd4
Add F4 Keil examples
2023-08-09 14:23:10 -03:00
novlean
847990ce49
Update README.md
...
Added URL to https://mongoose.ws/integration/
2023-08-09 17:50:57 +01:00
scaprile
1bfdc1f138
Add hw testing
2023-08-08 17:16:15 -03:00
Sergio R. Caprile
58367fe23e
Merge pull request #2337 from cesanta/h7f
...
add H7 FreeRTOS example
2023-08-08 15:32:29 -03:00
Sergio R. Caprile
a8712e2307
add H7 FreeRTOS example
2023-08-08 14:38:41 -03:00
robertc2000
8acfae1111
Merge pull request #2336 from cesanta/foo
...
Foo
2023-08-08 09:26:48 +03:00
cpq
70fc71c6f7
Changes
2023-08-07 06:18:49 -04:00
Sergio R. Caprile
dd5118cab0
Merge pull request #2332 from cesanta/cube
...
update Cube test Makefile to support testing packaged examples
2023-08-04 17:11:22 -03:00
Sergio R. Caprile
2d75a6ccd4
update
2023-08-04 15:37:57 -03:00
Sergio R. Caprile
e004ab1693
Merge pull request #2331 from cesanta/makefile
...
update Makefile
2023-08-04 14:45:56 -03:00
Sergio R. Caprile
acddfc3bf4
update Makefile
2023-08-04 14:32:28 -03:00
cpq
519d4b0286
Changes
2023-08-04 13:53:01 +01:00
cpq
8005a5e687
Changes
2023-08-04 13:53:01 +01:00
cpq
f5943fe591
Add tls_builtin.c
2023-08-04 13:53:01 +01:00
cpq
cea7fcdb37
AVR build fixes
2023-08-04 13:52:59 +01:00
robert
b5213c13dd
SAME54 Ethernet driver
2023-08-04 13:48:55 +01:00
Sergio R. Caprile
3a06b4833c
Merge pull request #2330 from cesanta/timeout
...
Timeout
2023-08-03 14:52:54 -03:00
Sergio R. Caprile
5cdf6c1d05
Add SYN timeout
2023-08-03 14:23:14 -03:00
Sergio R. Caprile
5754e5dd59
fix ARP timeout
2023-08-03 13:42:56 -03:00
Sergio R. Caprile
e5ab1c454b
Merge pull request #2329 from cesanta/arp
...
Implement ARP resolution for local LANs
2023-08-03 11:02:43 -03:00
cpq
697576b63c
Implement ARP resolution for local LANs
2023-08-03 13:48:23 +01:00
Sergio R. Caprile
2db41aef09
Merge pull request #2328 from cesanta/ft
...
standardize example names
2023-08-02 16:20:05 -03:00
Sergio R. Caprile
7f4ad3cade
standardize example names
2023-08-02 16:07:54 -03:00
Sergio R. Caprile
74c4c32082
Merge pull request #2327 from cesanta/rndis
...
standardize example names
2023-08-02 14:24:07 -03:00
Sergio R. Caprile
30d545443c
standardize example names
2023-08-02 14:03:11 -03:00
Sergio R. Caprile
dedba52315
Merge pull request #2325 from cesanta/fpu
...
FP unit in H743 is dp
2023-08-01 17:06:54 -03:00
Sergio R. Caprile
481f7b5cff
FP unit in H743 is dp
2023-08-01 17:02:05 -03:00
Sergio R. Caprile
6ce4f4930c
Merge pull request #2324 from cesanta/fb
...
standardize example names
2023-08-01 15:46:58 -03:00
Sergio R. Caprile
e33a10db75
standardize example names
2023-08-01 15:24:28 -03:00
Sergio R. Caprile
ef17055145
Merge pull request #2323 from cesanta/cube
...
standardize example names
2023-07-31 18:27:34 -03:00
Sergio R. Caprile
6a2fa10a4e
standardize example names
2023-07-31 17:47:56 -03:00
Sergio R. Caprile
6b81a5846d
Merge pull request #2320 from cesanta/2308collaterals
...
fix autogenerated
2023-07-28 17:47:49 -03:00
Sergio R. Caprile
b54d086fde
fix autogenerated
2023-07-28 17:06:58 -03:00
Sergio R. Caprile
5ee9d22263
momentarily disable MacOS OpenSSL tests
2023-07-26 15:53:59 -03:00
Sergio R. Caprile
7dcb097a5d
momentarily disable OpenSSL tests
2023-07-26 15:49:03 -03:00
Sergio R. Caprile
29a30239ab
momentarily disable OpenSSL tests
2023-07-26 15:33:30 -03:00
Sergio R. Caprile
ed54b60ea3
update to new API
2023-07-25 18:41:41 -03:00
Sergio R. Caprile
199af33b30
update to new TLS API
2023-07-25 14:26:14 -03:00
Sergio R. Caprile
adfa1d0e20
fix mongoose.h
2023-07-25 13:22:41 -03:00
Sergio R. Caprile
ef25c42e86
fix unit tests for older compilers
2023-07-25 11:55:01 -03:00
Sergio R. Caprile
91a638156c
Merge branch 'master' of https://github.com/cesanta/mongoose
2023-07-25 11:37:01 -03:00
Sergio R. Caprile
26ce666938
Merge branch 'master' of https://github.com/cesanta/mongoose
2023-07-25 11:35:29 -03:00
cpq
7548af895b
H7 mbedtls build fixed
2023-07-25 15:34:22 +01:00
Sergio R. Caprile
9548437a9e
update unit tests for new API
2023-07-25 11:27:01 -03:00
cpq
5e50b7104c
Unit test fixed
2023-07-25 15:26:47 +01:00
cpq
d824cf7dbd
Add mbedtls to H7 baremetal
2023-07-25 15:03:01 +01:00
cpq
0613cc62f4
TLS API refactor
2023-07-25 13:07:28 +01:00
Sergey Lyubka
d9cbcb5fa8
Merge pull request #2312 from cesanta/arduino
...
no Docker, in-place build for tests
2023-07-22 01:09:35 +01:00
Sergio R. Caprile
a4f5355161
no Docker, in-place build for tests
2023-07-21 16:45:14 -03:00
Sergey Lyubka
a24b6c1909
Merge pull request #2309 from cesanta/arduino
...
move Arduino tests to its dir
2023-07-21 14:33:00 +01:00
Sergio R. Caprile
fd7dc72410
Merge pull request #2310 from cesanta/am
...
Add arduino/w5500-mqtt example
2023-07-21 10:27:20 -03:00
cpq
e4f4dfab3b
Add arduino/w5500-mqtt example
2023-07-21 13:54:41 +01:00
Sergio R. Caprile
66010be5a6
move Arduino tests to its dir
2023-07-20 20:22:06 -03:00
Sergio R. Caprile
852c42a8f3
static clue
2023-07-20 16:34:13 -03:00
Sergio R. Caprile
132725de7b
Merge pull request #2308 from cesanta/nano
...
AVR build fixes
2023-07-20 14:12:49 -03:00
cpq
0a761c09e3
AVR build fixes
2023-07-20 16:07:53 +01:00
Sergey Lyubka
09ce6ae1c5
Merge pull request #2307 from cesanta/codeql
...
add CodeQL analysis
2023-07-20 14:37:18 +01:00
Sergio R. Caprile
85e60ed858
force run
2023-07-19 16:21:14 -03:00
Sergio R. Caprile
86fd18324b
codeql
2023-07-19 16:14:44 -03:00
Sergio R. Caprile
fdf82e5d6c
codeql
2023-07-19 15:10:28 -03:00
Sergio R. Caprile
eb0b1580d1
nits
2023-07-19 14:53:29 -03:00
Sergio R. Caprile
2d33c545b8
codeql
2023-07-19 14:53:29 -03:00
Sergio R. Caprile
cdaf523aa8
codeql
2023-07-19 14:53:29 -03:00
Sergio R. Caprile
3195f2cec2
codeql
2023-07-19 14:53:29 -03:00
cpq
ea89a4afab
Revert "Integration page"
...
This reverts commit 3415b62d2d .
2023-07-19 18:50:27 +01:00
cpq
3415b62d2d
Integration page
2023-07-19 16:25:14 +01:00
Sergey Lyubka
ee80822564
Merge pull request #2306 from cesanta/nits
...
Nits
2023-07-19 06:00:32 +01:00
cpq
3c9e218d07
Nits
2023-07-19 05:08:28 +01:00
Sergio R. Caprile
387a602885
Merge pull request #2304 from cesanta/addressing
...
Addressing
2023-07-18 17:30:35 -03:00
Sergio R. Caprile
ef0ff43975
static clue
2023-07-18 17:23:50 -03:00
Sergio R. Caprile
ae37407369
static clue
2023-07-18 17:10:05 -03:00
cpq
e1c91b5763
Merge branch 'master' of github.com:cesanta/mongoose
2023-07-18 17:47:02 +01:00
cpq
c49b472f92
Ignore DHCP for static IP config
2023-07-18 17:46:52 +01:00
Sergey Lyubka
0a6b1b9418
Merge pull request #2297 from cesanta/2251-implement-tcp-retransmit-in-mip
...
implemented tcp retransmission
2023-07-16 04:53:06 +01:00
Sergio R. Caprile
ac40673a9e
test for retransmitted segment
2023-07-12 11:22:35 -04:00
cpq
818f99b286
Update examples to adopt to the new iface state
2023-07-12 14:09:30 +01:00
robert
320da5e84c
implemented tcp retransmission
2023-07-11 06:20:47 -04:00
Sergey Lyubka
6957c379d5
Merge pull request #2294 from cesanta/hdr
...
Fix #2292 - fail on stray \r character in headers
2023-07-09 23:08:22 +01:00
cpq
88e880f107
Fix #2292 - fail on stray \r character in headers
2023-07-09 18:18:18 +01:00
cpq
bf8c4dfc83
Merge branch 'master' of github.com:cesanta/mongoose
2023-07-07 08:44:33 +01:00
cpq
5dff282132
Fix #2293 - stricter header validity check
2023-07-07 08:44:25 +01:00
Sergio R. Caprile
1148ac0ae4
Merge pull request #2289 from cesanta/acl
...
update `mg_check_ip_acl`
2023-07-05 18:06:28 -03:00
Sergio R. Caprile
59c46fc594
update
2023-07-05 17:49:18 -03:00
cpq
03a94e3a6a
Use \r\n for log messages, for terminal apps
2023-07-05 10:26:27 +01:00
Sergio R. Caprile
5c8e05a4fc
bump revno up
2023-07-04 12:18:09 -03:00
Sergio R. Caprile
d791ce393b
remove old examples
2023-07-03 18:34:18 -03:00
Sergio R. Caprile
a452231086
Merge pull request #2285 from cesanta/stm32
...
Stm32
2023-07-03 18:29:30 -03:00
Sergio R. Caprile
a392a19c9c
name changes
2023-07-03 18:27:32 -03:00
Sergio R. Caprile
a864c04702
uniformize
2023-07-03 16:40:33 -03:00
Sergio R. Caprile
8d2f7296a1
remove old examples
2023-07-03 14:19:28 -03:00
robert
040936eb47
fixed mqtt vc98 warning
2023-07-03 10:49:18 -04:00
Sergey Lyubka
101beec3ae
Merge pull request #2284 from cesanta/enhance-mg_remove_double_dots
...
enhanced path sanitizing
2023-07-03 14:43:32 +01:00
robert
2f1a836bf0
enhanced path sanitizing
2023-07-03 06:14:50 -04:00
cpq
62f5e0a1a9
Add SNTP to the list
2023-07-01 20:28:28 +01:00
cpq
cca771e70e
Stricter check for test_dns_error()
2023-07-01 20:23:59 +01:00
cpq
0c7e6b548f
Standardise margin
2023-06-30 11:53:34 +01:00
robertc2000
8b87e8aa92
Merge pull request #2282 from cesanta/paginator
...
Make paginator bit more compact
2023-06-30 12:17:35 +03:00
Sergey Lyubka
415bbf2932
Merge pull request #2278 from cesanta/httpheaders
...
fix header truncation
2023-06-29 22:59:51 +01:00
Sergey Lyubka
48df4f18cd
Merge pull request #2283 from cesanta/fuzz
...
Extend fuzzer, access parsed fields
2023-06-29 22:58:21 +01:00
Sergio R. Caprile
dc0f9aca4a
access only when parsing is valid
2023-06-29 18:37:10 -03:00
cpq
1b9b8e3f6c
Extend fuzzer, access parsed fields
2023-06-29 16:34:15 +01:00
cpq
5d10e9dbee
Make paginator bit more compact
2023-06-29 13:33:36 +01:00
Sergio R. Caprile
0adc858c85
add unit test
2023-06-28 11:01:59 -03:00
Sergio R. Caprile
eda1e8a402
fix header truncation
2023-06-27 14:56:04 -03:00
Sergio R. Caprile
4b0e34cdf4
Merge pull request #2277 from cesanta/httpcodes
...
Reinstall extra HTTP codes
2023-06-27 14:53:10 -03:00
Sergio R. Caprile
c688687ff8
Reinstall extra HTTP codes
...
the extra strings are not polluting the binary much
2023-06-27 13:44:44 -03:00
Sergio R. Caprile
d56e5bea62
Merge pull request #2274 from cesanta/mqtt-var-length-issue
...
fixed mqtt variable length header issue
2023-06-27 09:48:20 -03:00
robert
aed7b6b37a
fixed mqtt variable length header issue
2023-06-27 01:00:45 -04:00
Sergio R. Caprile
8114443e97
Merge pull request #2276 from cesanta/keil
...
Keil
2023-06-26 18:33:43 -03:00
scaprile
8ba0a33f84
add hw test support
2023-06-26 18:29:52 -03:00
Sergio R. Caprile
661ed61779
add hw test support for Keil
2023-06-26 18:20:38 -03:00
robert
427f95337f
event table device-dashboard: fixed wrong api call
2023-06-26 10:31:55 -04:00
Sergey Lyubka
fa8490fb4e
Merge pull request #2272 from WKJay/master
...
add RT-Thread support
2023-06-26 14:37:49 +01:00
WKJay
5be1c6381b
add RT-Thread support
2023-06-26 16:18:40 +08:00
Sergey Lyubka
6794a89f79
Merge pull request #2270 from cesanta/dhcp
...
improve DHCP in MIP
2023-06-24 13:09:40 +01:00
robert
8f19ee7b97
event table POST request 404 error
2023-06-23 11:35:42 -04:00
robert
c63135ec7f
device-dashboard: fixed event table POST request
2023-06-23 08:03:44 -04:00
robert
5c87f2f22c
improved device dashboard events table
2023-06-23 07:21:24 -04:00
Sergio R. Caprile
6e6e34c423
improve DHCP in MIP
2023-06-22 18:55:48 -03:00
Sergio R. Caprile
bb983fb4b2
update tutorial link
2023-06-22 11:00:37 -03:00
Sergio R. Caprile
285bbf50e9
Merge pull request #2268 from cesanta/cube
...
add more FreeRTOS+lwIP on Cube examples
2023-06-22 10:59:06 -03:00
Sergio R. Caprile
c2ad2e1151
add more FreeRTOS+lwIP on Cube examples
2023-06-21 19:00:10 -03:00
Sergio R. Caprile
46e796ffaa
Merge pull request #2267 from cesanta/cube
...
add more FreeRTOS on Cube examples
2023-06-21 11:34:20 -03:00
Sergio R. Caprile
3bf25d86f2
add tests for new Cube examples
2023-06-21 11:32:10 -03:00
Sergio R. Caprile
2dca4805b0
add more FreeRTOS on Cube examples
2023-06-21 11:21:24 -03:00
Sergio R. Caprile
54aa4678d1
Merge pull request #2265 from cesanta/cube
...
Cube
2023-06-20 14:48:36 -03:00
Sergio R. Caprile
3ab0e6cade
add new Cube examples
2023-06-20 14:35:59 -03:00
Sergio R. Caprile
41e3b23253
rename tutorial
2023-06-20 12:04:38 -03:00
Sergio R. Caprile
b00d780a50
Merge pull request #2261 from cesanta/dhcp
...
fix DHCP xid being ignored
2023-06-19 19:07:22 -03:00
Sergio R. Caprile
71b3e26232
fix DHCP xid being ignored
2023-06-19 18:50:51 -03:00
Sergio R. Caprile
40f28c02b9
Merge pull request #2262 from cesanta/cubetests
...
Cubetests
2023-06-19 17:13:05 -03:00
Sergio R. Caprile
362b22a673
Add hw test to cube examples
2023-06-19 16:58:37 -03:00
Sergio R. Caprile
d6be9a2bba
wip
2023-06-19 14:36:49 -03:00
Sergey Lyubka
6bfd113a87
Merge pull request #2260 from cesanta/2259-refactor-event-log-page-for-examplesdevice-dashboard
...
refactored device-dashboard code
2023-06-19 18:24:15 +01:00
robert
b7f86ba743
refactored device-dashboard code
2023-06-19 06:28:00 -04:00
cpq
2bab274056
Fix build error
2023-06-16 15:57:18 +01:00
robertc2000
dd6bffdd0d
Merge pull request #2256 from cesanta/2253-implement-event-log-page-for-examplesdevice-dashboard
...
implemented event log page for the device dashboard
2023-06-16 11:44:49 +03:00
robert
bcc044eb92
implemented event log page for the device dashboard
2023-06-16 04:32:45 -04:00
robert
a7f1982d03
improved device table style from the wifi-router-dashboard
2023-06-14 09:18:07 -04:00
Sergey Lyubka
d013e0fc78
Merge pull request #2254 from cesanta/2249-implement-connected-devices-page-for-wifi-router-dashboard
...
implemented connected devices page
2023-06-14 11:17:06 +01:00
robert
6f69ad93c1
implemented connected devices page
2023-06-13 03:33:11 -04:00
Sergey Lyubka
7ea2093a91
Merge pull request #2250 from cesanta/2241-optimise-struct-mg_addr
...
optimized mg_addr structure
2023-06-09 14:54:27 +01:00
robert
dd32deb2ad
optimized mg_addr structure
2023-06-09 09:19:37 -04:00
Sergey Lyubka
ad71fb321c
Merge pull request #2247 from cesanta/2243-refacrtor-wifi-router-dashboard-example
...
refactored dashboards
2023-06-08 16:03:11 +01:00
Sergey Lyubka
cc6c28a7ff
Merge pull request #2248 from cesanta/F746TLS
...
Improve performance on F746 with MbedTLS
2023-06-08 16:02:24 +01:00
Sergio R. Caprile
c763087462
improve performance
2023-06-08 11:29:51 -03:00
robert
63ff4ddea0
refactored dashboards
2023-06-08 10:25:59 -04:00
Sergey Lyubka
4178fc125d
Merge pull request #2245 from cesanta/2235-fix
...
byte-encoded properties issue fixed
2023-06-08 13:32:23 +01:00
Sergio R. Caprile
dcfa7ad657
Merge pull request #2246 from cesanta/tst
...
Improve MQTT tests resiliency
2023-06-07 19:01:23 -03:00
Sergio R. Caprile
c061e60664
Improve MQTT tests resiliency
2023-06-07 18:34:55 -03:00
Ubuntu
a0dd3ecd68
byte-encoded properties issue fixed
2023-06-07 10:13:21 -04:00
Sergio R. Caprile
0168a312f2
Merge pull request #2240 from cesanta/dhcp
...
Renew dhcp lease
2023-06-07 09:39:01 -03:00
cpq
92fe5a5b58
Renew dhcp lease
2023-06-07 13:33:28 +01:00
Sergey Lyubka
7f3d450b32
Merge pull request #2242 from cesanta/FEATURE_Add_tls_context_to_mg_mgr
...
Adding tls_ctx into mg_mgr for storing TLS context shared by all TLS session
2023-06-07 08:44:53 +01:00
Allan Park
8166339920
Adding tls_ctx into mg_mgr for storing TLS context shared by all TLS sessions
2023-06-07 10:21:46 +03:00
Sergio R. Caprile
57424d4a26
Merge pull request #2239 from cesanta/rlcomments
...
comment
2023-06-06 18:51:31 -03:00
Sergio R. Caprile
6511b6dd5d
comment
2023-06-06 18:48:45 -03:00
Sergio R. Caprile
0625b97246
Merge pull request #2238 from cesanta/f7
...
Improve driver
2023-06-06 18:46:50 -03:00
Sergio R. Caprile
9f8ce82825
Improve driver
2023-06-06 18:32:11 -03:00
Sergey Lyubka
c3c925dc84
Merge pull request #2230 from cesanta/rl
...
RL: fix accept() not looping on BSD_EWOULDBLOCK
2023-06-06 19:42:17 +01:00
Sergio R. Caprile
36f3703499
Merge pull request #2236 from cesanta/devsys
...
move dependencies
2023-06-06 14:47:27 -03:00
Sergio R. Caprile
6ae59c3711
move dependencies
2023-06-06 14:35:44 -03:00
Sergio R. Caprile
c8f5f85635
Merge pull request #2234 from cesanta/tests
...
speed up MQTT tests
2023-06-06 10:58:54 -03:00
Sergio R. Caprile
4e5e186784
speed up MQTT tests
2023-06-06 10:44:18 -03:00
cpq
828f7a513c
Merge branch 'master' of github.com:cesanta/mongoose
2023-06-06 08:38:18 +01:00
cpq
6085998d57
Proper handling {} in JSON array + unit test
2023-06-06 08:38:08 +01:00
Sergio R. Caprile
71e44d5b65
Merge pull request #2233 from cesanta/disambiguate
...
disambiguate comments
2023-06-05 18:57:25 -03:00
Sergio R. Caprile
e762bbdbf8
disambiguate comments
2023-06-05 18:39:13 -03:00
cpq
fe0d2272f6
Export mg_json_unescape()
2023-06-03 09:28:59 +01:00
Sergio R. Caprile
e017b88adf
Merge pull request #2228 from cesanta/tls
...
Add TLS=1 option
2023-06-02 14:33:34 -03:00
Sergey Lyubka
5f76d9cf33
Merge pull request #2231 from cesanta/Kfixs
...
standardize header inclusion
2023-06-02 17:35:56 +01:00
Sergio R. Caprile
85a5bdf4dc
standardize header inclusion
2023-06-02 13:27:27 -03:00
Sergio R. Caprile
4abc34ffd1
fix accept() not looping on BSD_EWOULDBLOCK
2023-06-02 11:56:27 -03:00
Sergey Lyubka
250b1d511b
Merge pull request #2229 from cesanta/mqttst
...
MQTT QoS + v5
2023-06-02 10:49:49 +01:00
cpq
59e3b0285a
Add TLS=mbedtls option
2023-06-02 09:57:36 +01:00
cpq
f961f993c8
FD_SETSIZE fix
2023-06-02 06:57:39 +01:00
cpq
adf124c00c
Dont check fd against FD_SETSIZE if POLL or EPOLL are used
2023-06-01 22:55:15 +01:00
Sergio R. Caprile
f8579131e8
MQTT QoS + v5
2023-05-31 21:35:03 -03:00
Sergio R. Caprile
1dde754724
Merge pull request #2223 from cesanta/devdash
...
Fix Secure
2023-05-31 09:32:57 -03:00
Sergio R. Caprile
771696fda8
Fix Secure
2023-05-31 09:30:24 -03:00
Sergey Lyubka
dd5f469c83
Merge pull request #2224 from cesanta/qos2
...
fix qos=2 handling
2023-05-31 12:07:10 +01:00
Sergio R. Caprile
6d3fda12cd
Merge pull request #2225 from cesanta/Kfixs
...
Add HTTP_URL
2023-05-30 17:13:05 -03:00
Sergio R. Caprile
dc32480563
Add HTTP_URL
2023-05-30 16:02:00 -03:00
Sergio R. Caprile
06ac9e18cb
fix qos=2 handling
2023-05-30 14:49:32 -03:00
Sergio R. Caprile
0648943220
Merge pull request #2221 from cesanta/Kfixs
...
Kfixs
2023-05-29 21:30:41 -03:00
Sergio R. Caprile
7a4a82e872
Add HTTP_URL
2023-05-29 20:59:56 -03:00
Sergio R. Caprile
6c0c05cf7f
Add missing headers
2023-05-29 14:34:51 -03:00
Sergio R. Caprile
efd2db129f
Merge pull request #2219 from cesanta/Kfixs
...
standardize header inclusion
2023-05-29 11:57:00 -03:00
Sergio R. Caprile
f4f276f370
standardize header inclusion
2023-05-29 11:44:59 -03:00
cpq
bff1462e9e
Add config var size check
2023-05-28 17:06:47 +01:00
Sergio R. Caprile
4d06f33089
fixes
2023-05-26 20:58:54 -03:00
Sergio R. Caprile
a433d9ef03
Merge pull request #2217 from cesanta/db
...
Refactor device-dashboard
2023-05-26 20:53:17 -03:00
Sergio R. Caprile
58606e1702
Refactor device-dashboard
2023-05-26 20:45:08 -03:00
Sergey Lyubka
1ccc9aa72e
Merge pull request #2205 from cesanta/arbitrary_content-length
...
improve negative Content-length handling
2023-05-26 17:16:08 +01:00
cpq
49a9bb5a8b
Refactor device-dashboard
2023-05-26 16:20:25 +01:00
Sergey Lyubka
380d6ac5c2
Merge pull request #2215 from cesanta/tlsdash
...
improve TLS behaviour in dashboard
2023-05-26 08:24:53 +01:00
Sergio R. Caprile
7d9f76df05
improve TLS behaviour in dashboard
2023-05-25 15:23:45 -03:00
Sergey Lyubka
96707acb4e
Merge pull request #2214 from cesanta/makelinux
...
make more distro-friendly
2023-05-24 21:02:46 +01:00
cpq
4e504823c0
Merge branch 'master' of github.com:cesanta/mongoose
2023-05-24 21:02:23 +01:00
cpq
82faa2e9c9
Make UI independent of URI
2023-05-24 21:02:15 +01:00
Sergio R. Caprile
1df9cd8071
make more distro-friendly
2023-05-24 15:37:24 -03:00
Sergio R. Caprile
a8d5e4dd28
Merge pull request #2213 from cesanta/nitpicks
...
nitpicks
2023-05-24 15:20:08 -03:00
Sergio R. Caprile
e59ea39a33
nitpicks
2023-05-24 15:17:24 -03:00
Sergio R. Caprile
62d1dc1eea
Merge pull request #2212 from cesanta/lwipstack
...
set a more lwIP-friendly minimum stack in FreeRTOS
2023-05-24 14:46:28 -03:00
Sergio R. Caprile
379af7dec2
set a more lwIP-friendly minimum stack in FreeRTOS
2023-05-24 11:30:01 -03:00
cpq
68a45adac7
Update logo
2023-05-24 13:52:52 +01:00
cpq
9ea8e29cb0
Merge branch 'master' of github.com:cesanta/mongoose
2023-05-24 13:22:18 +01:00
cpq
90092c0762
Make WebUI API calls relative, to work under any URI
2023-05-24 13:22:11 +01:00
Sergio R. Caprile
b379816178
Merge pull request #2210 from cesanta/devdash
...
run pack on Win
2023-05-23 11:06:47 -03:00
Sergio R. Caprile
e4353255ca
run pack on Win
2023-05-23 11:02:24 -03:00
cpq
923f2c7635
Add DHCP settings
2023-05-23 08:43:57 +01:00
cpq
a8309ef705
Remove -DSIGPIPE=0 for Windows
2023-05-23 03:50:53 +01:00
cpq
bad05485d0
Define SIGPIPE for Win32, fix sleep() for Win32
2023-05-23 03:49:24 +01:00
cpq
38d7799ffa
Rename wifi-router -> wifi-router-dashboard
2023-05-23 02:40:45 +01:00
Sergio R. Caprile
6e6696ccd4
Merge pull request #2207 from cesanta/wifi
...
Add wifi-router example
2023-05-22 19:59:06 -03:00
cpq
feb546920e
Add wifi-router example
2023-05-22 19:48:34 -03:00
Sergio R. Caprile
81b05b9de4
Merge pull request #2208 from cesanta/fixwbind
...
fix bind issue in W
2023-05-22 19:46:42 -03:00
Sergio R. Caprile
ab10b042be
fix bind issue in W
2023-05-22 19:13:48 -03:00
Sergio R. Caprile
26699914cc
improve negative Content-length handling
2023-05-22 17:40:08 -03:00
Sergio R. Caprile
45e4b3c423
bump revno up
2023-05-18 12:26:19 -03:00
Sergio R. Caprile
6a5a139e33
Merge pull request #2201 from cesanta/MG_ESC
...
Update to use MG_ESC()
2023-05-17 14:38:17 -03:00
Sergio R. Caprile
1908d3200e
Update to use MG_ESC()
2023-05-17 14:26:45 -03:00
Sergio R. Caprile
f4cf40d38f
Merge pull request #2200 from cesanta/esc
...
Add MG_ESC helper macro
2023-05-17 09:41:39 -03:00
cpq
514de84b97
Add MG_ESC helper macro
2023-05-17 11:58:40 +01:00
Sergio R. Caprile
7e7d0bb354
Merge pull request #2199 from cesanta/docinsource
...
remove stalled doc in header
2023-05-16 18:40:41 -03:00
Sergio R. Caprile
e468b90442
remove stalled doc in header
2023-05-16 18:08:48 -03:00
Sergio R. Caprile
926959ab47
Merge pull request #2197 from cesanta/BUGFIX_handle_http_negative_content_length
...
Added check for negative value for HTTP Content-Length header
2023-05-16 16:11:14 -03:00
Allan Park
4663090a8f
Added check for negative value for HTTP Content-Length header
2023-05-16 18:52:33 +03:00
Sergey Lyubka
b0868a4d0b
Merge pull request #2194 from cesanta/frp
...
Fix http-reverse-proxy for keep-alive incoming connections
2023-05-16 09:20:21 +01:00
Sergio R. Caprile
9088b00006
Fix keep-alive
2023-05-15 14:11:12 -03:00
Sergio R. Caprile
9c0fe8999d
Merge pull request #2193 from cesanta/tuts
...
link to tutorial
2023-05-12 17:30:52 -03:00
Sergio R. Caprile
901aa5f7c1
link to tutorial
2023-05-12 17:30:06 -03:00
Sergio R. Caprile
3ee28c035b
Merge pull request #2191 from cesanta/tuts
...
link to tutorial
2023-05-12 10:21:42 -03:00
Sergio R. Caprile
1e31b90905
link to tutorial
2023-05-12 10:20:38 -03:00
cpq
48333041f4
Apply SO_EXCLUSIVEADDRUSE and SO_REUSEADDR on windows
2023-05-12 14:08:49 +01:00
cpq
717c9dbe89
On Windows, prefer EXCLADDRINUSE, then REUSEADDR
2023-05-09 11:25:18 +01:00
Sergio R. Caprile
fd86eb7aa7
Merge pull request #2184 from cesanta/tuts
...
link to tutorial
2023-05-08 18:31:50 -03:00
Sergio R. Caprile
9b4b35eff5
link to tutorial
2023-05-08 18:23:35 -03:00
Sergio R. Caprile
ac528caf2b
Merge pull request #2182 from cesanta/keil
...
simplify RTOS-related Keil examples
2023-05-05 18:49:27 -03:00
scaprile
fbe626e791
simplify RTOS-related Keil examples
2023-05-05 17:41:47 -03:00
Sergio R. Caprile
9ca37d30d8
Merge pull request #2179 from cesanta/tuts
...
link to tutorials
2023-05-04 19:17:51 -03:00
Sergio R. Caprile
84986898c8
link to tutorials
2023-05-04 19:16:43 -03:00
Sergey Lyubka
5cebce3f4b
Merge pull request #2173 from cesanta/arp
...
Add multicast and local broadcast MAC resolution
2023-04-29 12:01:01 +01:00
Sergey Lyubka
bb344b14a8
Merge pull request #2168 from cesanta/udp-listener
...
Fix UDP listeners in MIP
2023-04-29 12:00:33 +01:00
Sergey Lyubka
20e613b444
Merge pull request #2169 from cesanta/udp-printf
...
Fix mg_xprint() for UDP in MIP
2023-04-29 11:59:46 +01:00
Sergey Lyubka
a0952e0012
Merge pull request #2171 from cesanta/null_fs
...
Check for calloc() failure in filesystem code
2023-04-29 11:59:03 +01:00
Sergey Lyubka
49e66f809e
Merge pull request #2172 from cesanta/null_mip
...
Check for calloc() failure in MIP
2023-04-29 11:57:25 +01:00
Sergey Lyubka
5152ed8731
Merge pull request #2174 from cesanta/ti-rndis
...
Add TI RNDIS example
2023-04-29 11:56:29 +01:00
cpq
33811a826f
Include TCP/IP API only if enabled
2023-04-29 11:45:28 +01:00
Sergio R. Caprile
d33aebfd31
Add TI RNDIS example
2023-04-28 11:23:40 -03:00
Sergio R. Caprile
7d53c52a6b
Check for calloc() failure in MIP
2023-04-27 11:34:23 -03:00
Sergio R. Caprile
f015a8686e
Check for calloc() failure in filesystem code
2023-04-27 11:19:02 -03:00
Sergio R. Caprile
ab791d2a2d
Add multicast and local broadcast MAC resolution
2023-04-26 19:56:03 -03:00
Sergio R. Caprile
a303858da7
Fix mg_xprint() for UDP in MIP
2023-04-26 18:32:54 -03:00
Sergio R. Caprile
4c58c62cfe
Fix UDP listeners
2023-04-26 15:09:27 -03:00
Sergey Lyubka
4593332204
Merge pull request #2166 from cesanta/gzip
...
Fix #1927 : respect Accept-Encoding when serving .gz files
2023-04-26 10:01:24 +01:00
cpq
9f5d8c4280
Fix #1927 : respect Accept-Encoding when serving .gz files
2023-04-26 09:07:43 +01:00
Sergey Lyubka
b0d44bf0ba
Merge pull request #2165 from cesanta/mqtt
...
mqtt fixes
2023-04-25 08:27:01 +01:00
cpq
59b8434e36
mqtt fixes
2023-04-25 07:48:33 +01:00
Sergey Lyubka
e6f27cbaf3
Merge pull request #2160 from robertc2000/master
...
MQTT: support for user properties feature added
2023-04-23 18:33:56 +01:00
robert
6c13df1aff
MQTT: support for properties feature added
2023-04-23 16:35:50 +03:00
Sergey Lyubka
44bf059b2f
Merge pull request #2158 from cesanta/ipv6
...
Fix #2089 - allow to bind v4 and v6 sockets on the same port
2023-04-18 08:26:47 +01:00
cpq
9ade464c2e
Fix #2089 - allow to bind v4 and v6 sockets on the same port
2023-04-18 08:26:18 +01:00
Sergio R. Caprile
aed5d4e05b
Merge pull request #2159 from cesanta/testf7ft
...
Testf7ft
2023-04-17 17:04:31 -03:00
Sergio R. Caprile
b57648df14
Update test.yml
2023-04-17 17:02:52 -03:00
Sergio R. Caprile
7bce887077
Relax test time
2023-04-17 16:59:36 -03:00
Sergio R. Caprile
cacd9c7f95
Merge pull request #2156 from cesanta/xprintf
...
Remove %H %V %Q %q modifiers
2023-04-14 14:24:46 -03:00
Sergio R. Caprile
cd64bfe84b
Remove %H %V %Q %q modifiers
2023-04-14 10:13:22 -03:00
Sergio R. Caprile
52ed68ed24
Merge pull request #2154 from cesanta/keil
...
Add Keil examples and preliminary test
2023-04-12 10:16:12 -03:00
Sergey Lyubka
20577021a6
Merge pull request #2151 from cesanta/multi-threaded
...
Fix for some compilers
2023-04-12 10:02:27 +01:00
scaprile
838a2236a1
Add preliminary test
2023-04-11 17:47:38 -03:00
scaprile
d03941b792
Add Keil examples
2023-04-11 17:46:28 -03:00
Sergio R. Caprile
92299c3079
Fix for some compilers
2023-04-11 08:41:14 -03:00
cpq
d9f05532cd
Address #2125 : treat negative poll time as infinite wait
2023-04-10 15:04:37 +01:00
Sergio R. Caprile
2fd2dff126
Merge pull request #2138 from cesanta/printh
...
Add printf.h
2023-04-07 19:53:07 -03:00
Sergio R. Caprile
8e14ad0536
Add printf.h
2023-04-07 19:28:00 -03:00
Sergio R. Caprile
2b325102f3
Merge pull request #2143 from cesanta/dbl
...
Fix #2104 - %.*f formatting
2023-04-07 12:27:15 -03:00
Sergio R. Caprile
1f2be606fa
Fix wildcard usage
2023-04-07 12:21:14 -03:00
cpq
6b29a2a724
Fix #2104 - %.*f formatting
2023-04-07 08:38:28 +01:00
Sergey Lyubka
f79edeb053
Merge pull request #2145 from cesanta/cube
...
Cube
2023-04-07 08:29:54 +01:00
Sergio R. Caprile
84b92096d4
Add STM32CubeIDE examples and test for build
2023-04-06 17:33:45 -03:00
Sergio R. Caprile
70f4814cb1
Merge pull request #2144 from cesanta/test
...
Test TLS host verif with no CA
2023-03-31 17:04:39 -03:00
Sergio R. Caprile
49579eb2b4
Test host only TLS mode
2023-03-31 17:00:05 -03:00
Sergey Lyubka
cc6caeeca9
Merge pull request #2139 from cesanta/freertos-tcp
...
FreeRTOS+ TCP support
2023-03-30 10:51:52 +01:00
Sergey Lyubka
90af22eba1
Merge pull request #2141 from cesanta/hc1
...
fix outdated comment
2023-03-30 10:51:25 +01:00
cpq
f4b4b41264
Merge branch 'master' of github.com:cesanta/mongoose
2023-03-30 10:50:27 +01:00
cpq
9918b03c11
Enhance MQTT client
2023-03-30 10:49:16 +01:00
Sergio R. Caprile
95f44246bf
fix old comment
2023-03-29 11:46:40 -03:00
Sergio R. Caprile
b098723f78
Update test.yml
2023-03-27 18:19:48 -03:00
Sergio R. Caprile
a819513a92
Remove old example and its breadcrumbs
2023-03-27 18:14:55 -03:00
Sergio R. Caprile
7531b28b4c
Add refactored FreeRTOS-Plus-TCP example
2023-03-25 13:07:31 -03:00
Sergio R. Caprile
2b8586d1b7
Merge pull request #2134 from cesanta/freertos-tcp
...
Fix FreeRTOS-Plus-TCP
2023-03-24 16:42:59 -03:00
Sergio R. Caprile
8167291ffc
Fix FreeRTOS-Plus-TCP
2023-03-24 15:28:32 -03:00
Sergio R. Caprile
0dfcf9607a
Merge pull request #2132 from cesanta/freertos-tcp
...
Let FreeRTOS-Plus-TCP build on Keil
2023-03-23 22:02:44 -03:00
Sergio R. Caprile
4827831107
Let FreeRTOS-Plus-TCP build on Keil
2023-03-23 17:13:02 -03:00
Sergio R. Caprile
0ebb6d5d30
Merge pull request #2131 from cesanta/cmsis-rtos
...
Add arch for CMSIS-RTOS v1 and v2
2023-03-22 11:18:37 -03:00
Sergio R. Caprile
f4ed5062f6
Add arch for CMSIS-RTOS v1 and v2
2023-03-21 19:32:56 -03:00
Sergio R. Caprile
434b129746
Merge pull request #2129 from cesanta/frerrno
...
Remove no longer necessary includes
2023-03-21 14:13:35 -03:00
Sergio R. Caprile
2f5041ac7d
Remove no longer necessary includes
2023-03-21 14:08:35 -03:00
Sergio R. Caprile
24f9766b39
Merge pull request #2128 from cesanta/keil
...
Let lwIP and FreeRTOS build on Keil
2023-03-21 13:58:09 -03:00
Sergio R. Caprile
ba872217d7
Let lwIP and FreeRTOS build on Keil
2023-03-21 12:09:00 -03:00
Sergey Lyubka
b2ae517dac
Merge pull request #2119 from cesanta/armcc
...
Add MG_ARCH_ARMCC
2023-03-20 22:01:40 +00:00
Sergio R. Caprile
32b52dc0c8
Merge pull request #2121 from cesanta/nomip-collateral
...
remove references to MIP in examples (comments)
2023-03-15 10:10:46 -03:00
Sergio R. Caprile
33a3fe9bbd
remove references to MIP in examples (comments)
2023-03-15 09:43:22 -03:00
Sergio R. Caprile
245dc76503
Add MG_ARCH_ARMCC
2023-03-15 09:39:36 -03:00
Sergio R. Caprile
21dbfd79d8
Merge pull request #2120 from cesanta/chaudocs
...
Move docs to website
2023-03-14 09:55:52 -03:00
Sergio R. Caprile
b9f2250278
Move docs to website
2023-03-14 09:54:29 -03:00
Sergio R. Caprile
a0601f1891
Merge pull request #2118 from cesanta/testTM4c
...
update Makefile
2023-03-10 10:58:51 -03:00
Sergio R. Caprile
70403ee433
update Makefile
2023-03-10 10:45:30 -03:00
Sergio R. Caprile
f3cde58c8f
Merge pull request #2117 from cesanta/testTM4C
...
test only TM4C examples that have changes
2023-03-10 10:20:18 -03:00
Sergio R. Caprile
71c267776a
Update test.yml
2023-03-10 10:19:39 -03:00
Sergio R. Caprile
359ff94a8c
Merge pull request #2116 from cesanta/testTM4c
...
Test TM4C
2023-03-10 10:01:48 -03:00
Sergio R. Caprile
efe1c1492f
Merge pull request #2115 from cesanta/scaprile-patch-1
...
test TM4C
2023-03-10 10:00:28 -03:00
Sergio R. Caprile
2aaaf7c358
test TM4C
2023-03-10 09:59:56 -03:00
Sergio R. Caprile
cefaffa0f0
update Makefile
2023-03-10 09:54:26 -03:00
Sergio R. Caprile
a22d56dc41
Merge pull request #2114 from cesanta/standex
...
update
2023-03-10 09:37:36 -03:00
Sergio R. Caprile
51eca94504
update
2023-03-10 09:35:29 -03:00
Sergio R. Caprile
2b6d24d328
Merge pull request #2112 from cesanta/nomip-collateral
...
MIP_STATE_* -> MG_TCPIP_STATE_*
2023-03-10 09:27:11 -03:00
Sergio R. Caprile
4932025423
Merge pull request #2113 from cesanta/scaprile-patch-1
...
Update test.yml
2023-03-09 11:44:11 -03:00
Sergio R. Caprile
c466abf4d0
Update test.yml
2023-03-09 11:43:32 -03:00
Sergio R. Caprile
2ece3a8b4c
MIP_STATE_* -> MG_TCPIP_STATE_*
2023-03-09 11:25:02 -03:00
Sergio R. Caprile
3f760e1875
Merge pull request #2111 from cesanta/standex
...
standardize Zephyr examples
2023-03-08 17:35:39 -03:00
Sergio R. Caprile
1da134c38c
Merge pull request #2110 from cesanta/pico-w5500
...
Gen MAC from board ID, standardize
2023-03-08 17:30:54 -03:00
Sergio R. Caprile
0bf96e9864
standardize Zephyr examples
2023-03-08 16:41:21 -03:00
Sergio R. Caprile
1f5c19306e
Gen MAC from board ID, standardize
2023-03-08 11:51:55 -03:00
Sergio R. Caprile
db10b3821c
Merge pull request #2109 from cesanta/standex
...
Standex
2023-03-08 11:50:30 -03:00
Sergio R. Caprile
4245a6d04d
update
2023-03-08 11:44:34 -03:00
Sergio R. Caprile
6920c1159b
rework serial config
2023-03-07 16:02:02 -03:00
Sergio R. Caprile
3801e1eade
Merge pull request #2107 from cesanta/standex
...
read MAC from flash
2023-03-07 15:59:14 -03:00
Sergio R. Caprile
3e419303a7
read MAC from flash
2023-03-06 17:33:17 -03:00
Sergio R. Caprile
0de1e6a3af
Merge pull request #2106 from cesanta/standex
...
Standardize TM4C FreeRTOS
2023-03-06 16:01:49 -03:00
Sergio R. Caprile
99c415f898
Standardize TM4C FreeRTOS
2023-03-06 15:57:51 -03:00
Sergio R. Caprile
f68d83dbf0
Merge pull request #2103 from cesanta/standex
...
standardize TM4C baremetal
2023-03-02 20:57:41 -03:00
Sergio R. Caprile
6e97905bce
standardize TM4C baremetal
2023-03-02 20:44:35 -03:00
Sergio R. Caprile
572a10d5a0
Merge pull request #2100 from cesanta/standex
...
Update Makefiles and READMEs
2023-03-01 11:30:08 -03:00
Sergio R. Caprile
eaa6199de0
Update Makefiles and READMEs
2023-03-01 11:28:24 -03:00
Sergio R. Caprile
70799101e4
Merge pull request #2099 from cesanta/standex
...
Update symlinks and Makefiles
2023-02-28 18:25:24 -03:00
Sergio R. Caprile
9cc70d0323
Update symlinks and Makefiles
2023-02-28 18:18:26 -03:00
cpq
20c5da6e55
Fix build - NULL pointer check
2023-02-28 17:55:25 +00:00
cpq
4c356bc368
Merge branch 'master' of github.com:cesanta/mongoose
2023-02-28 17:41:37 +00:00
Sergio R. Caprile
aeb04deae4
Merge pull request #2098 from cesanta/tstexmac
2023-02-28 14:22:05 -03:00
Sergio R. Caprile
873e4d6547
Update Makefile
2023-02-28 14:18:39 -03:00
Sergio R. Caprile
9ba20304c2
Update test.yml
2023-02-28 14:14:57 -03:00
Sergio R. Caprile
252619b1a0
Merge pull request #2097 from cesanta/tstexwin
...
Test some examples on Windows
2023-02-28 14:07:10 -03:00
Sergio R. Caprile
38b129de66
Test some examples on Windows
...
closes #2047
2023-02-28 14:04:02 -03:00
Sergey Lyubka
da028d1af9
Merge pull request #2096 from cesanta/fixrmii
...
Update RMII example, enhance MIP
2023-02-28 08:34:20 +00:00
Sergio R. Caprile
bba361016d
Update RMII ex, enhance MIP
2023-02-27 18:30:53 -03:00
Sergio R. Caprile
c362af1f81
Merge pull request #2095 from cesanta/fixrndis
...
Fix RNDIS examples
2023-02-27 11:35:05 -03:00
Sergio R. Caprile
520507afd9
unbreak RNDIS examples
2023-02-27 11:28:42 -03:00
Sergio R. Caprile
4e7584167b
force check and failures
2023-02-27 10:54:32 -03:00
Sergio R. Caprile
112bd61a25
Merge pull request #2094 from cesanta/fixwf
...
Update test.yml
2023-02-27 10:23:52 -03:00
Sergio R. Caprile
1df8bc0dfe
Update test.yml
...
Fix embedded matrix workflow not signalling changes and not running
2023-02-27 10:22:52 -03:00
cpq
f2076fe309
Add more tests for mg_strstr()
2023-02-26 01:32:03 +00:00
Sergey Lyubka
67dea15bf2
Merge pull request #2076 from cesanta/q
...
Use mg_queue in mip
2023-02-24 19:57:20 +00:00
cpq
910f19fe55
Use mg_queue in mip
2023-02-24 19:40:31 +00:00
Sergio R. Caprile
290bf0b6d2
Merge pull request #2093 from cesanta/standex
...
update Makefiles and symlinks
2023-02-24 15:49:35 -03:00
Sergio R. Caprile
4c87a776e6
updated Makefiles and symlinks
2023-02-24 13:46:31 -03:00
Sergio R. Caprile
4436093816
Merge pull request #2092 from cesanta/standex
...
standardize examples
2023-02-23 19:07:44 -03:00
Sergio R. Caprile
b85aa7b084
Merge pull request #2090 from cesanta/tcp
...
mark we consumed data
2023-02-23 14:38:14 -03:00
Sergio R. Caprile
99e28b639d
mark we consumed data
2023-02-23 14:35:26 -03:00
Sergio R. Caprile
9b94b4da26
fix build for Windows
...
(read from stdin does not work)
2023-02-23 14:04:10 -03:00
Sergio R. Caprile
5b46986628
update Makefiles and symlinks
2023-02-23 11:32:53 -03:00
Sergio R. Caprile
d0e5690bfd
Merge pull request #2088 from cesanta/standex
...
update Makefiles and symlinks
2023-02-22 16:58:49 -03:00
Sergio R. Caprile
ddbfa06bcc
update Makefiles and symlinks
2023-02-22 16:38:21 -03:00
Sergio R. Caprile
2c6fc99c68
Merge pull request #2084 from cesanta/standex
...
updated Makefiles and symlinks
2023-02-21 17:31:02 -03:00
Sergio R. Caprile
d8ad0ac72c
updated Makefiles and symlinks
2023-02-21 16:05:25 -03:00
Sergio R. Caprile
9de50d7981
Merge pull request #2083 from cesanta/standex
...
#2046 #2047
2023-02-21 14:53:04 -03:00
Jean-François Simon and Jean-Francois Simon
2c5c46dc48
Fix headers (drivers) ( #2081 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-21 16:39:53 +01:00
Jean-François Simon and Jean-Francois Simon
6423b4cbb9
rt1020 driver check frame crc/truncated ( #2080 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-21 16:27:04 +01:00
Sergio R. Caprile
2566aa725a
http-proxy-client Makefile
2023-02-21 12:16:39 -03:00
Sergio R. Caprile
eb463bbb2b
READMEs, golden update collaterals, etc
2023-02-21 12:07:48 -03:00
Sergio R. Caprile
1a8a559d84
Merge pull request #2079 from cesanta/time
...
Fix #2075 . Add MG_HTTP_DIRLIST_TIME_FMT, remove MG_HTTP_DIRLIST_TIME and MG_HTTP_DIRLIST_TIME_UTC
2023-02-20 20:13:56 -03:00
cpq
57c1d787e3
Fix #2075 . Add MG_HTTP_DIRLIST_TIME_FMT, remove MG_HTTP_DIRLIST_TIME and MG_HTTP_DIRLIST_TIME_UTC
2023-02-20 21:25:55 +00:00
Sergey Lyubka
999a32424f
Merge pull request #2078 from cesanta/standex
...
Golden Makefiles
2023-02-20 19:54:02 +00:00
Sergio R. Caprile
c2ed20ba23
Golden Makefiles
2023-02-20 16:20:28 -03:00
Sergio R. Caprile
01cbb37359
Merge pull request #2077 from cesanta/standex
...
huge response
2023-02-20 16:17:15 -03:00
Sergio R. Caprile
3e205e9536
huge response
2023-02-20 16:15:30 -03:00
Sergio R. Caprile
b29d6b4478
_sbrk in TI
2023-02-17 11:11:31 -03:00
Sergey Lyubka
b9424e4c21
Merge pull request #2073 from cesanta/sbrk
...
Fix _sbrk()
2023-02-17 14:00:32 +00:00
Sergio R. Caprile
87fe912d8d
Merge pull request #2074 from cesanta/standex
...
Standardize examples and make them Windows friendly
2023-02-17 10:59:55 -03:00
Sergio R. Caprile
59343c2f82
http-client
2023-02-17 10:57:54 -03:00
Sergio R. Caprile
700fc64383
update devdash README
2023-02-17 10:40:53 -03:00
Sergio R. Caprile
ca256b9949
Win friendly #2047
2023-02-17 10:40:53 -03:00
cpq
68750f3455
Expand on integration steps
2023-02-17 10:49:05 +00:00
cpq
906fc417c8
Expand on crossplatform ability
2023-02-17 10:46:45 +00:00
cpq
ac203c56df
Expand on crossplatform ability
2023-02-17 10:46:16 +00:00
cpq
734ad45f1c
Expand on crossplatform ability
2023-02-17 10:44:55 +00:00
cpq
4a1f2e0dd3
Fix mg_fs_posix.st() for Windows symlinks using ftell
2023-02-17 10:36:06 +00:00
cpq
24e3514640
Fix mg_fs_posix.st() for Windows symlinks
2023-02-17 10:20:33 +00:00
Sergio R. Caprile
dadb05e022
Add heap limit
2023-02-16 15:17:19 -03:00
cpq
ca3dfb3c07
Docs notes
2023-02-16 16:41:26 +00:00
cpq
cf452942fa
More windows-friendly makefile for rp2040/pico-w5500
2023-02-16 14:23:52 +00:00
Sergey Lyubka
28ee40bebe
Merge pull request #2067 from cesanta/pico
...
Use RNG in examples/pico-w5500
2023-02-16 08:01:11 +00:00
cpq
6267752a2a
Use RNG in examples/pico-w5500
2023-02-16 07:53:11 +00:00
Sergey Lyubka
2ece24e077
Merge pull request #2066 from cesanta/queue
...
Refactor queue
2023-02-15 22:33:07 +00:00
Sergio R. Caprile
59013e62d3
Merge pull request #2072 from cesanta/standex
...
Standardize examples
2023-02-15 18:07:54 -03:00
Sergio R. Caprile
824763aae9
standardize
2023-02-15 18:04:48 -03:00
Sergey Lyubka
a8c5b04feb
Merge pull request #2070 from cesanta/fixcl
...
Fix content-length header in mg_http_reply()
2023-02-15 19:22:03 +00:00
Sergey Lyubka
64f069ec24
Merge pull request #2043 from cesanta/randomize
...
Seed fallback clib PRNG with some entropy
2023-02-15 19:20:50 +00:00
cpq
515e438d4f
Refactor queue
2023-02-15 18:53:44 +00:00
Sergio R. Caprile
9ec064f9d9
symlinks
2023-02-15 15:22:46 -03:00
Sergio R. Caprile
60c6b04a01
Add mg_srand() and seed with some entropy
2023-02-15 14:29:02 -03:00
Sergio R. Caprile
9deaa81a72
Merge pull request #2071 from cesanta/standex
...
captive-dns
2023-02-15 14:27:15 -03:00
Sergio R. Caprile
ae703db6ee
captive-dns
2023-02-15 14:22:48 -03:00
Sergio R. Caprile
267f54bc0e
Fix content-length header in mg_http_reply()
2023-02-15 11:28:14 -03:00
cpq
8aa26fb2cd
Fix fuzzer workflow
2023-02-15 14:25:04 +00:00
cpq
e7667f2537
Merge branch 'master' of github.com:cesanta/mongoose
2023-02-14 15:12:59 +00:00
cpq
bac15d2ecf
Fix #2063 - a typo
2023-02-14 15:12:51 +00:00
Sergio R. Caprile
ae27e07903
Merge pull request #2068 from cesanta/stm32-rndis
...
Standardize STM32 RNDIS examples
2023-02-14 12:10:55 -03:00
Sergio R. Caprile
605dfa7366
Standardize STM32 RNDIS examples
2023-02-13 18:40:09 -03:00
Sergio R. Caprile
85db19e33f
Merge pull request #2064 from cesanta/renaming-stm32
...
simplify names
2023-02-13 17:00:40 -03:00
Sergio R. Caprile
052bc6b356
Merge pull request #2065 from cesanta/scaprile-patch-1
...
Update test.yml
2023-02-13 16:59:09 -03:00
Sergio R. Caprile
24985e2bca
Update test.yml
2023-02-13 16:58:33 -03:00
Sergio R. Caprile
8e3eb8b3d2
simplify names
2023-02-13 16:54:26 -03:00
Sergio R. Caprile
2be44dbd94
Merge pull request #2061 from cesanta/efe4f
...
Update and standardize F4 FreeRTOS
2023-02-13 11:08:31 -03:00
Sergio R. Caprile
7c6b26faa2
Merge pull request #2062 from cesanta/scaprile-patch-2
...
Update test.yml
2023-02-13 11:07:41 -03:00
Sergio R. Caprile
cfc42512ed
Update test.yml
2023-02-13 11:07:16 -03:00
Sergio R. Caprile
50f5834296
Update and standardize F4 FreeRTOS
2023-02-13 10:53:59 -03:00
Jean-François Simon and Jean-Francois Simon
07e91bb73a
Fix build mip -> mg_tcpip ( #2060 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-13 12:02:57 +01:00
Sergey Lyubka
3c547eeed8
Merge pull request #2059 from cesanta/test
...
Serialize HW tests
2023-02-13 08:16:57 +00:00
cpq
6f011fce3b
Serialize HW tests
2023-02-13 03:10:09 +00:00
cpq
5aebed95a4
Fix VC98 build
2023-02-12 10:41:51 +00:00
Sergey Lyubka
8321f9f6e9
Merge pull request #2034 from cesanta/queue
...
Add struct mg_queue and API, change examples/multi-threaded, add tests
2023-02-12 10:04:13 +00:00
cpq
bf9d69ab56
Add struct mg_queue and API, change examples/multi-threaded, add tests
2023-02-11 13:24:26 +00:00
Sergio R. Caprile
faaff57d2b
update Makefile
2023-02-10 21:24:42 -03:00
Sergio R. Caprile
40667ef1c1
Update Makefile
2023-02-10 20:52:55 -03:00
Sergio R. Caprile
04b4e3298b
Merge pull request #2056 from cesanta/f7f
...
Make example as README says
2023-02-10 20:30:06 -03:00
Sergio R. Caprile
43cbd3a61e
Merge pull request #2058 from cesanta/scaprile-patch-1
...
make F7 FreeRTOS testable
2023-02-10 20:24:04 -03:00
Sergio R. Caprile
bfb091f2f4
make F7 FreeRTOS testable
2023-02-10 20:23:39 -03:00
Sergio R. Caprile
4974303e6b
Make example as README says
2023-02-10 20:06:25 -03:00
Sergio R. Caprile
664bb0a663
Merge pull request #2055 from cesanta/makefiles
...
minor updates
2023-02-10 19:45:09 -03:00
Sergio R. Caprile
491596d03d
minor updates
2023-02-10 19:41:27 -03:00
Sergio R. Caprile
75538be235
Merge pull request #2054 from cesanta/efe4
...
Standardize F4 baremetal
2023-02-10 17:28:05 -03:00
Sergio R. Caprile
1cb99ea2fc
Standardize F4 baremetal
2023-02-10 15:53:55 -03:00
Sergey Lyubka
c0f4bde5fc
Merge pull request #2051 from cesanta/fmt
...
Split mg_*printf* functions into src/printf.c/h
2023-02-10 16:52:34 +00:00
cpq
a4430dd49d
Split mg_*printf* functions into src/printf.c/h
2023-02-10 15:47:23 +00:00
Jean-François Simon and Jean-Francois Simon
b513d40bd6
add coverage ws.c ( #2050 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-10 15:51:44 +01:00
cpq
fbaaf89a21
Update screenshot
2023-02-09 22:47:48 +00:00
cpq
7625a0154e
Using webp for screenshots
2023-02-09 22:41:49 +00:00
cpq
396ee803b2
Remove -c core.symlinks arg from the clone command
2023-02-09 20:06:53 +00:00
cpq
5a42319a07
Add readme rule
2023-02-09 20:04:59 +00:00
cpq
61b9820f78
Update READMEs
2023-02-09 20:04:07 +00:00
Sergio R. Caprile
a383a45269
Merge pull request #2044 from cesanta/eph1
...
Fix ifp->eport init
2023-02-09 16:41:25 -03:00
Sergio R. Caprile
7bd4869ae6
Merge pull request #2048 from cesanta/rules
...
Add a rule on symlink
2023-02-09 16:12:23 -03:00
cpq
49a6559453
Add a rule on symlink
2023-02-09 19:00:10 +00:00
cpq
2e16a10720
Fix ifp->eport init
2023-02-09 18:39:14 +00:00
Sergey Lyubka
cd973b50ff
Merge pull request #2042 from cesanta/eph
...
Use linux ephemeral range (start from 32768). More TCP debug
2023-02-09 17:40:49 +00:00
cpq
b6fc67fff2
Use linux ephemeral range (start from 32768). More TCP debug
2023-02-09 15:20:08 +00:00
Jean-François Simon
12f00d785d
mg_tcpip_imxrt1020 ( #2033 )
...
MG_TCPIP driver for NXP i.MX RT1020
2023-02-09 15:31:59 +01:00
Jean-François Simon
de1ff6ed49
Add test to mqtt ( #2041 )
...
Test coverage mqtt
2023-02-09 15:05:55 +01:00
Sergio R. Caprile
d0a6cbe5dd
Merge pull request #2038 from cesanta/h7
...
Use CMSIS for H7
2023-02-09 09:18:09 -03:00
cpq
35924ce550
Use CMSIS for H7
2023-02-09 11:08:22 +00:00
Jean-François Simon
ad1d8cbedd
Add test to mqtt ( #2040 )
...
coverage: mqtt
2023-02-09 11:36:08 +01:00
Sergey Lyubka
6294ce59f7
Merge pull request #2035 from cesanta/rndismass
...
Add mass-storage disk with an index file
2023-02-08 15:58:18 +00:00
Sergio R. Caprile
d445ff40c2
Add mass-storage disk with an index file
2023-02-08 12:38:11 -03:00
Sergey Lyubka
c6010c3ab4
Merge pull request #2031 from cesanta/sym
...
Note about symlinks
2023-02-08 12:56:16 +00:00
Sergio R. Caprile
9da80d7b7d
Merge pull request #2032 from cesanta/move
...
Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_
2023-02-08 09:49:06 -03:00
cpq
2c62e58dbd
Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_
2023-02-07 21:35:37 +00:00
Sergio R. Caprile
efc54375dd
Merge pull request #2028 from cesanta/mip
...
Kill ARP cache, kill qprofile
2023-02-07 15:42:20 -03:00
cpq
0c3946033b
Note about symlinks
2023-02-07 15:42:17 +00:00
cpq
9dc86aa77d
Kill ARP cache, kill qprofile
2023-02-07 14:26:03 +00:00
Sergey Lyubka
0cbe320a5f
Merge pull request #2029 from cesanta/rules
...
Add examples/readme with rules
2023-02-07 13:41:37 +00:00
cpq
1c749a5310
Add filter for cifuzz
2023-02-07 12:17:46 +00:00
cpq
a647a69791
Add examples/readme with rules
2023-02-07 12:15:50 +00:00
Sergey Lyubka
12db089c73
Merge pull request #2027 from cesanta/mip
...
Introduce sysinit.c, better debug log, more verbose Makefile
2023-02-06 22:38:33 +00:00
cpq
f5ff7cfcf1
Introduce sysinit.c, better debug log, more verbose Makefile
2023-02-06 21:26:14 +00:00
Sergey Lyubka
2ddf71ec46
Merge pull request #2024 from cesanta/cmsis
...
Use CMSIS headers for f429 and f746 baremetal examples
2023-02-06 19:16:24 +00:00
Sergio R. Caprile
9017374292
Merge pull request #2025 from cesanta/ga
...
Tune GA checker
2023-02-06 14:28:26 -03:00
cpq
633f50cf5b
Tune GA checker
2023-02-06 15:18:40 +00:00
cpq
1993e9c65b
Use CMSIS headers for f429 and f746 baremetal examples
2023-02-06 15:00:09 +00:00
Sergio R. Caprile
8edc8610dc
Merge pull request #2023 from cesanta/push
...
Reduce the number of redundant test runs. Disable SNTP test on macos …
2023-02-06 11:25:33 -03:00
Sergey Lyubka
6700b373cd
Merge pull request #2022 from cesanta/win
...
Adopt Makefile for Windows. Update examples readme section
2023-02-06 14:21:56 +00:00
cpq
8d824799a0
Reduce the number of redundant test runs. Disable SNTP test on macos - it is flaky
2023-02-05 01:11:22 +00:00
cpq
dc86c62d8b
Adopt Makefile for Windows. Update examples readme section
2023-02-04 14:15:53 +00:00
Sergio R. Caprile
4ae4ff72e3
Merge pull request #2020 from cesanta/h743zi
...
Add STM32H743ZI driver and example
2023-02-03 18:33:46 -03:00
Sergio R. Caprile
958eebb16c
Add STM32H743ZI driver and example
2023-02-03 18:04:29 -03:00
Sergio R. Caprile
43e48d2ba6
Merge pull request #2017 from cesanta/mipneat
...
qprofile related fixes
2023-02-02 17:34:28 -03:00
Sergio R. Caprile
b6d8099c74
small tweaks
...
fix qprofile with latest changes
minor tweaks and qpfrofile related fixes
2023-02-02 17:09:27 -03:00
Sergio R. Caprile
25bac7c5ce
Merge pull request #2016 from cesanta/percentia
...
Docs update, remove %I and %A extensions
2023-02-02 16:33:18 -03:00
Sergio R. Caprile
5d7a080e39
Remove %I and %A
2023-02-02 16:28:24 -03:00
Sergio R. Caprile
b2a76dba98
Merge pull request #2014 from cesanta/halfnofast
...
Add support for 10M and half-duplex in STM32 and TM4C drivers
2023-02-02 13:30:35 -03:00
cpq
15ad69c8cb
Add How to build examples section
2023-02-02 15:34:27 +00:00
Sergio R. Caprile
e3ca006265
Add support for 10M and half-duplex in STM32 and TM4C drivers
2023-02-02 12:02:44 -03:00
cpq
961cc13948
Nits: fix DNS resolution message. Add Makefile comment for testing targets
2023-02-02 10:33:00 +00:00
Sergio R. Caprile
50da233258
Merge pull request #2011 from cesanta/test-f746
...
Update test.yml
2023-02-01 20:14:24 -03:00
Sergio R. Caprile
15ad58b5cc
Merge pull request #2010 from cesanta/f429-debug-uart
...
Use UART_DEBUG
2023-02-01 19:53:53 -03:00
Sergio R. Caprile
61a27ff430
Update test.yml
...
closes #1999
( mods in #2009 )
2023-02-01 19:49:14 -03:00
Sergio R. Caprile
befdb0a708
Merge pull request #2009 from cesanta/test-f746
...
Mods to be testable
2023-02-01 19:39:53 -03:00
Sergio R. Caprile
06b79600ac
Use UART_DEBUG
2023-02-01 19:37:35 -03:00
Sergio R. Caprile
b9e633ad06
Mods to be testable
2023-02-01 19:26:47 -03:00
Sergio R. Caprile
736a78faed
Merge pull request #2007 from cesanta/rl
...
Better error handling for RL NET
2023-02-01 18:23:13 -03:00
cpq
d76e69f9a7
Use UART_DEBUG
2023-02-01 21:08:24 +00:00
cpq
1612e1d142
Better error handling for RL NET
2023-02-01 13:59:47 +00:00
Sergio R. Caprile
56a33fd4c5
Merge pull request #2003 from cesanta/mip-percentia
...
Do not use %I %A in MIP
2023-02-01 09:15:15 -03:00
Sergio R. Caprile
1ca3244868
Merge pull request #2005 from cesanta/nosymlink
...
Remove symlinks in pico example
2023-01-31 15:40:37 -03:00
Sergio R. Caprile
8f358f09b8
Remove symlinks in pico example
2023-01-31 15:34:15 -03:00
Sergio R. Caprile
d903de6526
Merge pull request #2004 from cesanta/nodupfiles
...
Remove dups in Zephyr dirs
2023-01-31 15:14:10 -03:00
Sergio R. Caprile
c41ade2983
Remove dups in Zephyr dirs
2023-01-31 14:51:48 -03:00
Sergio R. Caprile
99dbbc7f39
Do not use %I %A in MIP
2023-01-31 14:37:00 -03:00
Sergio R. Caprile
4dd51cc889
Merge pull request #2002 from cesanta/print_mac
...
Add mg_print_mac()
2023-01-31 13:49:42 -03:00
Sergio R. Caprile
54c651f7e2
Add mg_print_mac()
2023-01-31 13:31:46 -03:00
Sergio R. Caprile
d1c9d7ffdc
Merge pull request #2000 from cesanta/tls
...
Add TLS to pico-w5500 baremetal example
2023-01-30 18:37:00 -03:00
cpq
052b40680d
Add TLS to pico-w5500 baremetal example
2023-01-30 21:30:10 +00:00
Sergio R. Caprile
b0d2519192
Merge pull request #2001 from cesanta/examples-percentia
...
do not use %I in examples
2023-01-30 18:21:18 -03:00
Sergio R. Caprile
997da11cc5
do not use %I
2023-01-30 17:13:38 -03:00
Sergio R. Caprile
476232ea22
Merge pull request #1995 from cesanta/mg_print_ip
...
Add mg_print_ip, mg_print_ip_port helper functions
2023-01-30 16:57:45 -03:00
Sergey Lyubka
4c83f4e2de
Merge pull request #1987 from hakabahitoyo/bugfix-openssl-tls-sni
...
Bugfix OpenSSL TLS SNI
2023-01-30 11:43:43 +00:00
cpq
4bf39e18d9
Add mg_print_ip, mg_print_ip_port helper functions
2023-01-29 14:30:06 +00:00
cpq
edfa533a4d
Correct the description
2023-01-27 22:45:35 +00:00
cpq
28262145ab
Better upload flow
2023-01-27 22:16:24 +00:00
cpq
51136ce982
Merge branch 'master' of github.com:cesanta/mongoose
2023-01-27 09:36:24 +00:00
cpq
84893ec582
Small usability nits
2023-01-27 09:36:16 +00:00
Sergio R. Caprile
4236405b90
Ready to release
2023-01-24 13:30:45 -03:00
Sergio R. Caprile
292c66e25c
Merge pull request #1992 from cesanta/revert-1920-patch-1
...
Revert "Update comment for the path of rest API"
2023-01-24 11:42:18 -03:00
Sergio R. Caprile
5aa6c15c76
Revert "Update comment for the path of rest API"
2023-01-24 11:41:51 -03:00
Sergio R. Caprile
1f89dc47cb
Merge pull request #1991 from cesanta/revert-1797-fix-typo
...
Revert "Fix typo in documentation"
2023-01-24 11:36:51 -03:00
Sergio R. Caprile
31393128c8
Revert "Fix typo in documentation"
2023-01-24 11:35:26 -03:00
Sergio R. Caprile
232a18425a
Merge pull request #1990 from cesanta/revert-1705-master
...
Revert "fix the doc error: htts to https"
2023-01-24 11:33:02 -03:00
Sergio R. Caprile
88e2eb2a49
Revert "fix the doc error: htts to https"
2023-01-24 11:31:25 -03:00
Sergey Lyubka
e635d5f748
Merge pull request #1986 from cesanta/w5
...
Add examples/rp2040/pico-w5500 to hwtest
2023-01-23 12:32:14 +00:00
Sergey Lyubka
08a23cdb2f
Merge pull request #1988 from cesanta/h743
...
Add nucleo-h743zi-baremetal boilerplate, with HW test
2023-01-23 12:31:55 +00:00
cpq
1ead940623
Add nucleo-h743zi-baremetal boilerplate, with HW test
2023-01-22 11:48:56 +00:00
Hakaba Hitoyo
382362668e
bugfix openssl tls sni
2023-01-22 14:27:44 +09:00
cpq
987f8bc949
Prep for msc
2023-01-21 13:42:25 +00:00
cpq
6f096333d3
make clean: invoke docker only when there is something to clean
2023-01-21 07:44:50 +00:00
cpq
5a25111b20
Add examples/rp2040/pico-w5500 to hwtest
2023-01-21 02:21:20 +00:00
Sergio R. Caprile
c7cb16cafa
Merge pull request #1984 from cesanta/ti-nodocker
...
Get rid of Docker (TI), part 2: FreeRTOS
2023-01-20 18:47:55 -03:00
Sergio R. Caprile
a746a698b6
Merge pull request #1983 from cesanta/stm32-nodocker
...
Get rid of Docker, part 2: FreeRTOS
2023-01-20 18:47:27 -03:00
Sergio R. Caprile
9a7f7255ff
Get rid of Docker, part 2: FreeRTOS
2023-01-20 18:20:19 -03:00
Sergio R. Caprile
d3df6b8f4f
Get rid of Docker (TI), part 2: FreeRTOS
2023-01-20 18:19:29 -03:00
Sergio R. Caprile
fcffd17b11
Merge pull request #1982 from cesanta/freertos
...
Fix FreeRTOS arch includes on newlib platforms
2023-01-20 18:16:55 -03:00
Sergio R. Caprile
7fc6be9f39
Fix FreeRTOS arch includes on newlib platforms
2023-01-20 18:09:21 -03:00
Sergio R. Caprile
7362744ff8
Merge pull request #1981 from cesanta/stm32uarts
...
Fix UART1,2 clocking in all other examples
2023-01-20 18:00:46 -03:00
Sergio R. Caprile
f4d058155a
Fix UART1,2 clocking in all other examples
2023-01-20 17:49:57 -03:00
Sergio R. Caprile
b04612e80d
Merge pull request #1975 from cesanta/hwtest
...
Cleanup, adopt for HW test
2023-01-20 16:26:05 -03:00
Sergio R. Caprile
5f00e4d34d
Merge pull request #1980 from cesanta/ti-nodocker
...
Get rid of Docker (TI), part 1
2023-01-20 16:21:45 -03:00
cpq
e967feb091
Cleanup, adopt for HW test
2023-01-20 18:46:19 +00:00
Sergio R. Caprile
0445b18bb9
Merge pull request #1977 from cesanta/reallyclean
...
Apply a deeper cleanser
2023-01-20 15:36:51 -03:00
Sergio R. Caprile
99f1f749cf
Apply a deeper cleanser
2023-01-20 15:27:37 -03:00
Sergio R. Caprile
f4d16f1c47
Get rid of Docker (TI), part 1
2023-01-20 15:06:03 -03:00
Sergio R. Caprile
68071d6caf
Merge pull request #1976 from cesanta/stm32-nodocker
...
Get rid of Docker, part 1
2023-01-20 14:14:07 -03:00
Sergio R. Caprile
44975da7db
Get rid of Docker, part 1
2023-01-20 12:42:38 -03:00
Sergio R. Caprile
e4566518b2
Merge pull request #1978 from cesanta/test-nosprintf
...
Make MacOS happy by getting rid of sprintf()
2023-01-20 12:41:09 -03:00
novlean
c038cb5b96
Merge pull request #1979 from cesanta/novlean-patch-1
...
2023
2023-01-20 15:31:07 +00:00
novlean
d7eb3db60b
2023
2023-01-20 15:28:16 +00:00
Sergio R. Caprile
44e781d7da
Make MacOS happy be getting rid of sprintf()
2023-01-20 11:54:56 -03:00
Sergio R. Caprile
0951d58c8f
Merge pull request #1974 from cesanta/stm32uarts
...
Fix AF in UART1,2
2023-01-19 16:31:55 -03:00
Sergio R. Caprile
37c0ed0b49
Fix AF in UART1,2
2023-01-19 15:28:51 -03:00
cpq
556bf7b888
Fix uart_init(), use correct AF for UART1/UART2
2023-01-19 10:31:26 +00:00
Sergey Lyubka
280be2eaea
Merge pull request #1968 from cesanta/ackstream
...
Don't retrigger ACK timer
2023-01-18 08:52:12 +00:00
Sergio R. Caprile
13f9357f8e
Merge pull request #1970 from cesanta/test-pico-rndis
...
Update test.yml
2023-01-17 15:19:45 -03:00
Sergio R. Caprile
56e015db0e
Enable test for pico-rndis-dashboard
2023-01-17 14:58:05 -03:00
Sergio R. Caprile
1068fbf079
Merge pull request #1969 from cesanta/pico-dash
...
Simplify build
2023-01-17 13:59:54 -03:00
Sergio R. Caprile
45f7afb3e1
Simplify build
2023-01-17 13:54:22 -03:00
Sergio R. Caprile
0d3fc2b656
Don't retrigger ACK timer
2023-01-16 20:16:59 -03:00
Sergio R. Caprile
2dc66b2e3b
Merge pull request #1966 from cesanta/test-pico-rmii
...
Update test.yml
2023-01-16 16:48:10 -03:00
Sergio R. Caprile
0b9129d8f5
Update test.yml
2023-01-16 15:36:50 -03:00
cpq
82d702fedc
mg_url_encode() 0-terminate the destination
2023-01-16 15:05:04 +00:00
Sergey Lyubka
197be75677
Merge pull request #1960 from cesanta/keepalive
...
TCP keepalives
2023-01-16 10:40:28 +00:00
cpq
3f9aff1b10
Update uart logs with Ethernet status
2023-01-15 12:03:40 +00:00
Sergey Lyubka
f5ed50fa88
Merge pull request #1959 from cesanta/handle-rst
...
Handle TCP RST
2023-01-14 00:16:40 +00:00
Sergio R. Caprile
645b52602f
Update main.c
2023-01-13 15:08:00 -03:00
Sergio R. Caprile
27a8e60e9a
TCP keepalives
2023-01-12 15:58:25 -03:00
Sergio R. Caprile
201ffa108b
Handle TCP RST
2023-01-11 17:33:37 -03:00
Sergey Lyubka
1661bd6691
Merge pull request #1955 from cesanta/picormii
...
Add RMII example for RP2040
2023-01-11 10:40:10 +00:00
Sergio R. Caprile
d431f4bbc5
Merge pull request #1957 from cesanta/pico-w5500
...
updated to ARCH_RP2040
2023-01-10 11:21:23 -03:00
Sergio R. Caprile
2b8e92a70d
updated to ARCH_RP2040
2023-01-10 10:54:27 -03:00
Sergey Lyubka
d70ab3cfa8
Merge pull request #1944 from cesanta/devdash
...
Add reduced functionality version
2023-01-10 12:31:03 +00:00
Sergey Lyubka
9402c6ad28
Merge pull request #1956 from cesanta/lbl
...
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:34:22 +00:00
cpq
da5e8e9778
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:19:49 +00:00
Sergio R. Caprile
feedfdf810
Update main.c
2023-01-09 14:31:04 -03:00
Sergio R. Caprile
6db0a502bf
Add RMII example
2023-01-09 11:16:01 -03:00
Sergey Lyubka
f07957d45e
Merge pull request #1952 from cesanta/mipqueue
...
Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers
2023-01-08 06:47:38 +00:00
cpq
3d75d71767
Do not show response handler in the rpc.list result
2023-01-08 06:38:08 +00:00
Sergio R. Caprile
b259bdeddd
Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers
2023-01-03 19:33:26 -03:00
Sergey Lyubka
042465387f
Merge pull request #1950 from cesanta/picodash
...
Add Pico dashboard
2023-01-02 20:14:34 +00:00
Sergio R. Caprile
d09e4d648c
Add Pico dashboard
2023-01-02 16:49:15 -03:00
Sergio R. Caprile
754910ad5f
Merge pull request #1947 from cesanta/pico
...
Moved pico-w example
2023-01-02 15:48:24 -03:00
Sergio R. Caprile
977e080215
Update test.yml
2023-01-02 15:29:21 -03:00
Sergio R. Caprile
a9ac947c96
Merge pull request #1949 from cesanta/scaprile-patch-1
...
Update test.yml
2023-01-02 15:23:15 -03:00
Sergio R. Caprile
28e6ef1d63
Update test.yml
2023-01-02 15:22:24 -03:00
Sergio R. Caprile
b0f273157d
Fix Makefile
2023-01-02 15:16:50 -03:00
Sergio R. Caprile
49add531c4
Moved pico-w example
2023-01-02 15:12:07 -03:00
cpq
8a1d2a5dca
Install gcc-arm-none-eabi for examples
2023-01-02 17:53:55 +00:00
Sergey Lyubka
31c5883f5f
Merge pull request #1946 from cesanta/rp2040-w5500
...
Add pico-w5500 example
2023-01-02 16:48:43 +00:00
Sergey Lyubka
c625fbb43d
Merge branch 'master' into rp2040-w5500
2023-01-02 16:48:34 +00:00
cpq
0f474e8d2a
Add pico-w5500 example
2023-01-02 16:36:55 +00:00
Sergey Lyubka
73813a8383
Merge pull request #1943 from cesanta/add-test-for-RNDIS-examples
...
Update tests
2022-12-28 02:47:56 +00:00
Sergio R. Caprile
d8fb110b56
Update test.yml
2022-12-27 20:34:10 -03:00
Sergio R. Caprile
77e62626a9
Add RNDIS examples to tests, remove "stm32/nucleo*" examples from "examples" test group
2022-12-27 20:27:08 -03:00
Sergio R. Caprile
24ee83f13d
Update test.yml
2022-12-27 18:31:39 -03:00
Sergio R. Caprile
6791a36d85
Add reduced functionality version
2022-12-27 18:12:55 -03:00
Sergio R. Caprile
c6a5a64e64
Update test.yml
2022-12-26 10:51:44 -03:00
Sergey Lyubka
311062dc41
Merge pull request #1938 from cesanta/F746rndis
...
Add RNDIS example for F7
2022-12-24 15:10:00 +00:00
Sergio R. Caprile
391ce1f009
Merge pull request #1939 from cesanta/tireadme
...
Added link to tutorial
2022-12-23 19:47:14 -03:00
Sergio R. Caprile
9f6d99352a
Added link to tutorial
2022-12-23 19:45:57 -03:00
Sergio R. Caprile
02b1d6260a
Add RNDIS example for F7
2022-12-23 19:28:33 -03:00
Sergio R. Caprile
e8ade14259
Merge pull request #1937 from cesanta/tm4cdriverdata
...
Rename driver data structure
2022-12-23 16:27:42 -03:00
Sergio R. Caprile
f0804dfed4
Merge pull request #1936 from cesanta/stm32driverdata
...
Rename driver data structure
2022-12-23 15:57:19 -03:00
Sergio R. Caprile
f506344ada
Rename driver data structure
2022-12-23 15:56:46 -03:00
Sergio R. Caprile
ddca518cca
Rename driver data structure
2022-12-23 15:45:30 -03:00
cpq
21d3678fa7
Add more on logging
2022-12-21 11:31:14 +00:00
cpq
3dd8d7d8e5
Add diagrams
2022-12-21 11:18:50 +00:00
Sergio R. Caprile
92aa538a84
Merge pull request #1934 from cesanta/myheart
...
Unbreak
2022-12-20 19:39:22 -03:00
Sergio R. Caprile
557a5583e8
Unbreak
2022-12-20 19:38:20 -03:00
Sergio R. Caprile
b00ddff7dd
Merge pull request #1933 from cesanta/fixmqttserver
...
Fix MQTT server example
2022-12-20 16:08:56 -03:00
Sergio R. Caprile
cc3b311ab0
Fix MQTT server example
2022-12-20 16:06:46 -03:00
cpq
6cedca5d76
Remove DS_Store
2022-12-19 14:40:17 +00:00
Sergey Lyubka
d82452e00f
Merge pull request #1929 from cesanta/usb
...
Add TinyUSB example
2022-12-19 14:33:11 +00:00
cpq
57a5c0ba38
Add TinyUSB example
2022-12-19 14:31:54 +00:00
Sergio R. Caprile
28c8519e5b
Merge pull request #1924 from cesanta/scaprile-patch-1
...
Update README.md
2022-12-15 10:31:37 -03:00
Sergio R. Caprile
cfcb7191ea
Update README.md
2022-12-15 09:52:19 -03:00
Sergey Lyubka
6921227ec8
Merge pull request #1915 from jfsimon1981/miptap
...
Mip tests and tuntap example to compile on OpenBSD natively.
2022-12-13 16:42:09 +00:00
Sergey Lyubka
1c9991ee83
Merge pull request #1916 from cesanta/stm32
...
Minor tweaks in STM32 examples
2022-12-13 16:40:38 +00:00
Sergey Lyubka
fd475fcfff
Merge pull request #1917 from cesanta/tm4c
...
Correct stack initialization
2022-12-13 16:40:10 +00:00
Sergio R. Caprile
f47f995e90
Merge pull request #1921 from cesanta/scaprile-patch-1
...
Update test.yml
2022-12-13 13:02:11 -03:00
Sergio R. Caprile
d93e943326
Update test.yml
2022-12-13 12:51:43 -03:00
Sergio R. Caprile
7ca9f2d5cd
Merge pull request #1920 from jojo2massol/patch-1
...
Update comment for the path of rest API
2022-12-13 12:39:28 -03:00
jojo2massol
ff1d45a008
Update comment for the path of rest API
...
rest api is available at `/rest` and not `/api/rest`
2022-12-13 15:33:51 +01:00
Sergio R. Caprile
53f0a72362
Merge pull request #1919 from cesanta/doc1918
...
Update README.md
2022-12-10 20:14:30 -03:00
Sergio R. Caprile
3a47242219
Update README.md
...
Closes #1918
2022-12-10 20:12:58 -03:00
Jean-Francois Simon
5556568feb
Mip tests and tuntap example to compile on OpenBSD natively.
...
(updated for c++ build)
Fix typo
2022-12-09 18:48:05 +00:00
Sergio R. Caprile
6011a15cd4
Correct stack initialization
2022-12-09 15:47:23 -03:00
Sergio R. Caprile
2c014778d9
Minor tweaks in STM32 examples
...
Fix comments in newer mip initialization (main.c)
Correct stack initialization (boot.c)
Remove SCC clock enable when not needed (mcu.h)
2022-12-09 15:20:51 -03:00
Sergey Lyubka
0b2712f52f
Merge pull request #1911 from cesanta/gwarp
...
Ask for gw mac when needed and not known
2022-12-09 11:51:40 +00:00
Sergey Lyubka
69f1acd823
Merge pull request #1912 from cesanta/nodupack
...
Avoid duplicated ACKs
2022-12-09 11:50:30 +00:00
cpq
c0f15d50d6
Squash cppcheck warn
2022-12-09 09:29:34 +00:00
Sergio R. Caprile
1d3fe51e8b
Avoid duplicated ACKs
2022-12-08 18:59:18 -03:00
Sergio R. Caprile
d364d50c05
Improve MIP resiliency
2022-12-08 17:17:05 -03:00
Sergey Lyubka
615d324b11
Merge pull request #1906 from jfsimon1981/armfix
...
Fix arm and armhf test builds and unit_test runtime.
2022-12-07 18:31:29 +00:00
Jean-Francois Simon
eb36b6755f
Fix arm and armhf test builds and unit_test runtime.
...
Generalized with the correct define (comment from SC).
2022-12-07 17:09:13 +00:00
Sergey Lyubka
40c28d3b21
Merge pull request #1905 from cesanta/percentA
...
Use %I in mip.c
2022-12-07 07:22:10 +00:00
Sergio R. Caprile
e726282023
Merge pull request #1908 from cesanta/tm4creadme
...
Add README
2022-12-06 17:10:19 -03:00
Sergio R. Caprile
327f734e4f
Add README
2022-12-06 17:09:15 -03:00
Sergio R. Caprile
b361f64d4f
Merge pull request #1907 from cesanta/tests
...
Update test.yml
2022-12-06 16:25:47 -03:00
Sergio R. Caprile
b38d215b3d
Update test.yml
2022-12-06 15:53:18 -03:00
Sergio R. Caprile
99aa498bc4
Use %I in mip.c
...
Add %A to print hw address and use it in mip.c
Fix some debug data
2022-12-06 13:44:31 -03:00
Sergio R. Caprile
f14798dec9
Merge pull request #1904 from cesanta/tm4cdriver
...
Improve TM4C driver
2022-12-06 11:08:44 -03:00
Sergio R. Caprile
65873f3dee
Improve TM4C driver
...
- Fix clock guessing
- Frames are now read in order, and only host owned descriptors are checked
- Read as many frames as possible (but don't loop forever)
- Discard bad frames
- Fixed incorrect handling of RU bit and exit out of suspended condition
- If a frame arrives while processing, it will now generate a new interrupt (formerly it would wait for another frame to arrive as we reset the flag on exit)
2022-12-06 10:45:41 -03:00
Sergio R. Caprile
fc98c88358
Merge pull request #1903 from cesanta/freemgstrdupdoc
...
Update README.md
2022-12-05 16:30:24 -03:00
Sergio R. Caprile
7c0440c148
Update README.md
2022-12-05 16:24:28 -03:00
Sergio R. Caprile
ad051269ed
Merge pull request #1899 from cesanta/castREADME
...
Update README.md
2022-12-04 19:17:23 -03:00
Sergio R. Caprile
497d8f25a1
Update README.md
2022-12-04 19:16:34 -03:00
Sergey Lyubka
eb142f26f2
Merge pull request #1897 from cesanta/i
...
Fix #1888 : add %I *printf specifier for IP address. Remove mg_ntoa, m…
2022-12-03 14:39:47 +00:00
cpq
b01989f041
Fix #1888 : add %I *printf specifier for IP address. Remove mg_ntoa, mg_straddr
2022-12-03 14:27:07 +00:00
Sergey Lyubka
84d89e80cd
Merge pull request #1896 from cesanta/stm32driver
...
Improve STM32 driver
2022-12-03 09:40:38 +00:00
Sergio R. Caprile
d059d2cda4
Improve STM32 driver
2022-12-02 19:47:29 -03:00
jfsimon1981
751413f050
MIP tuntap with dhcp added, enabled gitactions ( #1890 )
...
Enable DHCP with MIP tests.
Separate sources for high and low level stack tests.
Fixed assertion.
Added dhcpd.conf file.
2022-12-02 17:40:46 +01:00
Sergey Lyubka
ce5e28554f
Merge pull request #1891 from cesanta/baremetalREADMEs
...
Add links to tool installation in MIP hw examples
2022-12-02 07:12:46 +00:00
Sergio R. Caprile
860be3f96c
Add links to tool installation in MIP hw examples
2022-12-01 17:23:16 -03:00
Sergey Lyubka
89fb3a3d6e
Merge pull request #1889 from cesanta/mippoll
...
MG_EV_POLL generation on MIP
2022-12-01 07:25:19 +00:00
Sergio R. Caprile
474a07564c
Make test NOT fail
2022-11-30 18:16:13 -03:00
Sergio R. Caprile
59b69a3b3b
Add test for MG_EV_POLL generation
2022-11-30 12:13:45 -03:00
Sergey Lyubka
2553392e42
Merge pull request #1885 from cesanta/tm4c-freertos-mip
...
Add FreeRTOS + MIP example on TM4C
2022-11-29 15:17:48 +00:00
cpq
fcd6901558
Fix broken mip_test
2022-11-29 14:55:36 +00:00
Sergio R. Caprile
716ffbb945
Add FreeRTOS + MIP tutorial on TM4C
2022-11-29 11:16:43 -03:00
Sergey Lyubka
cd4b9aeafe
Merge pull request #1884 from cesanta/macfilter
...
Fix MAC address filtering on STM32 and TM4C
2022-11-29 14:05:11 +00:00
Sergey Lyubka
5d712b6f54
Merge pull request #1886 from jfsimon1981/master
...
Release MIP tests using tuntap
2022-11-29 11:24:52 +00:00
Jean-Francois Simon
754c68fccc
Release MIP tests using tuntap
2022-11-29 11:20:22 +01:00
Sergio R. Caprile
858f4da0d1
Fix MAC address filtering on STM32 and TM4C
2022-11-28 10:16:10 -03:00
Sergey Lyubka
90910a7a4f
Merge pull request #1883 from cesanta/arpbcast
...
Fix sending ARP request for IP broadcasts
2022-11-26 11:58:16 +00:00
Sergey Lyubka
cd218b59f9
Merge pull request #1882 from cesanta/f746zg-frertos-mip
...
Add FreeRTOS + MIP example on F746
2022-11-26 11:57:43 +00:00
Sergio R. Caprile
9625c49c95
Fix sending ARP request for IP broadcasts
2022-11-25 17:42:35 -03:00
Sergio R. Caprile
2dfed10d2e
Add FreeRTOS + MIP example on F746
2022-11-25 16:57:35 -03:00
cpq
a74d3737dc
Fix mip-pcap
2022-11-25 14:23:59 +00:00
cpq
6c82a34aa0
Remove unused code
2022-11-25 10:00:04 +00:00
cpq
320d5656ac
Remove unused code
2022-11-25 10:00:04 +00:00
Sergio R. Caprile
a4a5778001
Merge pull request #1879 from cesanta/freestdlib
...
Add stdlib.h to includes in FreeRTOS arch
2022-11-24 10:34:24 -03:00
Sergio R. Caprile
a80a003865
Add stdlib.h to includes in FreeRTOS arch
2022-11-24 10:15:03 -03:00
cpq
4607e46c6f
Disable mip_test on macos
2022-11-24 07:21:55 +00:00
cpq
0aa3e2e49c
Enable macos test
2022-11-24 07:02:17 +00:00
Sergio R. Caprile
595bb36956
Merge pull request #1878 from cesanta/Makefile
...
be able to flash target
2022-11-23 17:09:05 -03:00
Sergio R. Caprile
afdf7e6df3
actually be able to flash target
2022-11-23 16:13:37 -03:00
Sergey Lyubka
3e1c7d7ef2
Merge pull request #1874 from cesanta/makefix
...
Fix wildcard in Makefile
2022-11-23 10:16:11 +00:00
cpq
7ce7c3deb7
Fix mingw build
2022-11-22 09:50:35 +00:00
Sergio R. Caprile
c9b390ec60
Fix wildcard in Makefile
2022-11-21 16:57:15 -03:00
Sergey Lyubka
cc2b826356
Merge pull request #1865 from jfsimon1981/master
...
Implemented MIP stack http_fetch()
2022-11-21 18:35:14 +00:00
Jean-Francois Simon
0b2c493731
Merge branch 'master' of https://github.com/jfsimon1981/mongoose
2022-11-21 15:33:42 +01:00
Jean-Francois Simon
0d7bbc51e7
Implemented MIP stack http_fetch()
...
This approach used tuntap driver for Linux/Unices
2022-11-21 15:32:45 +01:00
Sergey Lyubka
db81c30d24
Merge pull request #1871 from cesanta/straddr
...
Fix mg_straddr() stack overwrite
2022-11-21 07:00:23 +00:00
cpq
41ea8de0d6
Mark request close for HTTP redirects
2022-11-20 12:18:15 +00:00
Sergio R. Caprile
c4b5b37568
Fix mg_straddr() stack overwrite
2022-11-19 19:44:52 -03:00
Sergio R. Caprile
76e6b23a4f
Update README.md
2022-11-18 18:06:48 -03:00
Sergio R. Caprile
283e295a98
Merge pull request #1869 from cesanta/miptap
...
Add missing include
2022-11-18 12:28:59 -03:00
Sergio R. Caprile
606009afb0
Add missing include
...
linux/if uses struct sockaddr that is defined in sys/socket.h. This breaks building on some systems. It went unnoticed as it was hidden by mongoose.h being included first
2022-11-18 10:51:58 -03:00
Sergey Lyubka
da303b8b4f
Merge pull request #1858 from cesanta/LAA
...
change MIP MAC to LAA
2022-11-18 10:41:12 +00:00
Sergey Lyubka
d4048661ae
Merge pull request #1857 from cesanta/scaprile-patch-1
...
Update issue_template.md
2022-11-18 10:39:34 +00:00
Sergey Lyubka
47853547ca
Merge pull request #1856 from cesanta/zephyr-tests
...
Zephyr tests
2022-11-18 10:39:13 +00:00
Jean-Francois Simon
6ae9188af4
Implemented MIP stack http_fetch()
...
This approach used tuntap driver for Linux/Unices
2022-11-16 18:26:49 +01:00
jfsimon1981
d958ec2ac8
Revert "mip_test.c http fetch ( #1851 )" ( #1864 )
...
This reverts commit 07aac8e6e9 .
2022-11-16 18:02:23 +01:00
jfsimon1981 and Jean-Francois Simon
07aac8e6e9
mip_test.c http fetch ( #1851 )
...
* Update mip_test.c
* Adding mip_free() function.
* Adding mip_free() function.
* Added MIP free.
* Fixed C++ builds.
* Proper C/C++ struct initialization.
* Squashed commit of the following:
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb 71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a27
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac
Author: cpq <valenok@gmail.com >
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
* Squashed commit of the following:
commit 192ae56ece
Merge: 7b0509c8 7ba68dd2
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 17:44:03 2022 +0100
Merge branch 'master' of https://github.com/jfsimon1981/mongoose
commit 7b0509c878
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 17:43:33 2022 +0100
Squashed commit of the following:
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb 71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a27
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac
Author: cpq <valenok@gmail.com >
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb 71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit a39b7ddbac
Author: cpq <valenok@gmail.com >
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2022-11-16 17:55:27 +01:00
Sergio R. Caprile
9a341c9032
change MIP MAC to LAA
2022-11-15 14:56:51 -03:00
Sergio R. Caprile
21e8b08ed9
Reduce Zephyr test time
2022-11-14 18:06:00 -03:00
Sergio R. Caprile
c41d477adc
Update issue_template.md
2022-11-14 14:58:36 -03:00
Sergio R. Caprile
f8445a4c85
Merge pull request #1853 from cesanta/tibaremetaltest
...
Update test.yml
2022-11-11 20:42:38 -03:00
Sergio R. Caprile
71f5be011b
Update test.yml
2022-11-11 20:15:01 -03:00
cpq
a39b7ddbac
Fix fuzzer use-after-poison READ 1
2022-11-11 15:03:48 +00:00
Sergio R. Caprile
cab5c822c5
Merge pull request #1850 from cesanta/miplocal
...
Fix incorrect local network address detection
2022-11-11 11:58:29 -03:00
Sergey Lyubka
4056bd3c2d
Merge pull request #1847 from cesanta/xiao
...
Fix arduino-xiao build and add GA test
2022-11-11 14:53:40 +00:00
Sergio R. Caprile
a985ae9c0a
Fix incorrect local network address detection
2022-11-11 11:18:47 -03:00
cpq
804a3bf380
Fix #1801 - report ipv4 accepted address for ipv4 listeners
2022-11-11 14:01:17 +00:00
Sergey Lyubka
a8bef96463
Merge pull request #1844 from cesanta/tm4c129x
...
Add TM4C129x driver
2022-11-11 13:15:35 +00:00
Sergey Lyubka
5e43a3f695
Merge pull request #1846 from cesanta/ektm4c129x
...
Add EK-TM4C1294XL example
2022-11-11 13:15:20 +00:00
cpq
8e46e05e1b
Fix arduino-xiao build and add GA test
2022-11-11 10:04:47 +00:00
Sergio R. Caprile
ec0e27dbb4
Add EK-TM4C1294XL example
2022-11-10 21:14:30 -03:00
Sergio R. Caprile
3f55d93b41
Merge pull request #1845 from cesanta/mip-tap
...
Unbreak
2022-11-10 15:01:10 -03:00
Sergio R. Caprile
5418a8c28a
Unbreak
...
userdata was changed to a pointer to a socket, but tx() was not updated
My Linux system does not like mongoose.h at the end...
2022-11-10 15:00:43 -03:00
Sergio R. Caprile
e180192379
Add TM4C129x driver
2022-11-10 14:41:41 -03:00
cpq
f498d69b7d
Fix examples/stm32/nucleo-f429zi-freertos-mip
2022-11-10 03:01:10 +00:00
Sergio R. Caprile
dfae1b3f70
Merge pull request #1843 from cesanta/mip
...
Expose mip guts
2022-11-09 17:40:46 -03:00
Sergio R. Caprile
a9ebb55f95
Merge pull request #1842 from cesanta/ft
...
Add nucleo-f429zi-freertos-mip example
2022-11-09 16:28:33 -03:00
cpq
abfac8aa40
Expose mip guts
2022-11-09 19:25:40 +00:00
cpq
78956ccf83
Add nucleo-f429zi-freertos-mip example
2022-11-09 18:25:11 +00:00
Sergey Lyubka
eed25f23f6
Merge pull request #1839 from cesanta/stm32uart
...
Fix wrong reference to prescaler
2022-11-09 09:24:24 +00:00
Sergey Lyubka
134ce56f80
Merge pull request #1841 from cesanta/small
...
Endianness test
2022-11-09 09:23:04 +00:00
cpq
28a4778187
Endianness test
2022-11-09 09:20:15 +00:00
Sergio R. Caprile
c654c2e5e8
Fix wrong reference to prescaler
2022-11-08 11:23:10 -03:00
Sergey Lyubka
e580d4e637
Merge pull request #1837 from cesanta/arch
...
Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remo…
2022-11-08 00:13:28 +00:00
cpq
2192914cbb
Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remove MG_ARCH_FREERTOS_TCP, MG_ARCH_RTX_LWIP
2022-11-07 23:58:58 +00:00
Sergio R. Caprile
ca6dee1777
Merge pull request #1836 from cesanta/dewarning
...
Remove some warnings
2022-11-07 15:29:33 -03:00
Sergio R. Caprile
6f3bdc5dca
Remove some warnings
2022-11-07 15:23:47 -03:00
Sergey Lyubka
095cdcd69e
Merge pull request #1834 from cesanta/sock
...
Generalize socket constants
2022-11-05 13:11:57 +00:00
cpq
f022633f29
Generalize socket constants
2022-11-05 12:33:49 +00:00
Sergey Lyubka
1f85fcc9b0
Merge pull request #1831 from cesanta/mqtt
...
Accept zero-length payload messages
2022-11-03 16:46:56 +00:00
Sergio R. Caprile
a3ede75842
Accept zero-length payload messages
2022-11-03 11:26:08 -03:00
cpq
0defce37f0
Pull mongoose_custom.h
2022-11-03 12:59:55 +00:00
Sergey Lyubka
4355b39b1e
Merge pull request #1830 from cesanta/mip
...
ARP lookup hosts in the same net. Use up-to-date code in zephyr dash …
2022-11-03 12:35:17 +00:00
cpq
efec738c89
ARP lookup hosts in the same net. Use up-to-date code in zephyr dash example
2022-11-03 08:06:17 +00:00
Sergey Lyubka
10c09a361b
Merge pull request #1829 from cesanta/cr
...
CR incorrectly set in STM32 driver
2022-11-02 23:18:20 +00:00
Sergio R. Caprile
e3d1a69223
CR incorrectly set in STM32 driver
2022-11-02 19:25:05 -03:00
Sergey Lyubka
4b82253ae9
Merge pull request #1826 from cesanta/custom
...
mongoose_custom.h not pulled in when MG_ARCH=MG_ARCH_CUSTOM
2022-11-02 12:05:59 +00:00
Sergio R. Caprile
47a12c30ca
mongoose_custom.h not pulled in when MG_ARCH=MG_ARCH_CUSTOM
2022-11-01 21:01:33 -03:00
cpq
613655767b
Housekeeping at the end of c->label
2022-11-01 21:01:03 +00:00
Sergey Lyubka
1182027f1c
Merge pull request #1823 from cesanta/ti-rtos
...
Fix TI-RTOS port
2022-10-30 09:41:48 +00:00
Sergio R. Caprile
e9421d557a
Fix TI-RTOS port
...
Sockets were not being put in non-blocking mode as the setsockopt() call wasn't using SOL_SOCKET
Do not include errno.h but serrno.h, otherwise error codes are mangled... NDK functions use serrno, errno belongs to the compiler
UDP sockets require binding to receive responses
select() does not return write-ready on connect if the amount of bytes to write is below the "low-water mark". This parameter defaults to 2048, there was some code apparently setting this otherwise, with no success. Reworked the code to set this water mark at half the buffer size by just using plain getsockopt/setsockopt calls.
For the record:
TI typedef's void * SOCKET for internal use, INVALID_SOCKET is cast to (void *). Their BSD compatible socket interface expects and returns int; while Mongoose uses SOCKET... this generates lots of warnings 169 and 515, disabled in the examples
2022-10-28 18:55:10 -03:00
cpq
bbc0c0df94
Unbreak test
2022-10-28 15:35:40 +01:00
Sergio R. Caprile
610e32714c
Merge pull request #1822 from cesanta/hello
...
Add mg_hello()
2022-10-28 09:48:43 -03:00
cpq
7ab81d3805
Add mg_hello()
2022-10-28 10:57:06 +01:00
Sergey Lyubka
9a1e41e1fa
Merge pull request #1821 from cesanta/docs
...
Augment WS documentation
2022-10-27 23:09:47 +01:00
Sergio R. Caprile
ae71d12f06
Augment WS documentation
2022-10-27 12:03:16 -03:00
cpq
c25234df83
Better MIP description
2022-10-27 08:12:22 +01:00
Sergey Lyubka
03284ba046
Merge pull request #1810 from cesanta/zephyresp
...
Support Zephyr on ESP32
2022-10-25 17:22:47 +01:00
Sergey Lyubka
5fa433ecca
Merge pull request #1814 from cesanta/ti-rtos
...
Improve TI-RTOS timing support
2022-10-25 17:07:33 +01:00
Sergio R. Caprile
ac2a4c700a
Merge pull request #1818 from cesanta/ti
...
Allow flash and cloning without build
2022-10-25 10:55:46 -03:00
Sergio R. Caprile
eeb7b00f60
Allow flash and cloning without build
2022-10-25 10:41:53 -03:00
Sergio R. Caprile
c8c540b453
Improve TI-RTOS timing support
2022-10-24 11:48:54 -03:00
Sergio R. Caprile
a0585f75f7
Support Zephyr on ESP32
2022-10-21 11:44:09 -03:00
Sergey Lyubka
637af1d392
Merge pull request #1809 from cesanta/picow
...
Make pico-w device-dashboard example fully functional
2022-10-20 18:24:38 +01:00
Sergio R. Caprile
fe6c31acc1
Make pico-w device-dashboard example fully functional
2022-10-20 11:57:00 -03:00
Sergio R. Caprile
04cfcf751e
Merge pull request #1805 from cesanta/invsock
...
Fix unintended socket close on systems with valid fd=0 descriptor numbering
2022-10-20 11:04:03 -03:00
Sergio R. Caprile
51c51d49ad
Fix unintended socket close on systems with valid fd=0 descriptor numbering
2022-10-20 10:34:26 -03:00
cpq
4271aa5b1f
Update matrix example name
2022-10-19 09:24:19 +01:00
cpq
17ada1c894
Fix #1803 - conditional for SSL_set1_host(). In unit test, disable time.windows.com, use google and apple SNTP servers
2022-10-19 09:06:47 +01:00
cpq
2e14d125ba
Fuzzer nits
2022-10-18 15:21:59 +01:00
cpq
ce8fa4c24b
Echo WS CLOSE payload back
2022-10-18 14:31:47 +01:00
Sergey Lyubka
cfe2e83e6b
Merge pull request #1798 from Yeicor/patch-1
...
Remove mg_hexdump from deliver_chunked_chunks
2022-10-17 07:14:24 +01:00
Yeicor
b17c62618d
Remove mg_hexdump from deliver_chunked_chunks
2022-10-16 21:11:00 +02:00
Sergey Lyubka
6b162a1193
Merge pull request #1796 from cesanta/rpicow
...
Dettach git clone and fix clean
2022-10-16 16:59:19 +01:00
Sergey Lyubka
6653530b63
Merge pull request #1797 from strager/fix-typo
...
Fix typo in documentation
2022-10-16 16:58:20 +01:00
cpq
aacae6444e
Fix stack overflow in fuzzer - too big on-stack array
2022-10-15 17:18:31 +01:00
Matthew "strager" Glazar
b91fe12258
Fix typo in documentation
2022-10-14 18:27:06 -07:00
Sergio R. Caprile
ae7ca00e69
Dettach git clone and fix clean
...
The user has to clone the repo, then edit the Makefile to change WiFi credentials. Running make build does both and the tests go flawlessly
The user can run make to clone the repo, then change credentials and run make build, it will skip cloning if the repo is already there
In some systems the compiled files are not owned by the user as Docker runs as root, so we first invoke clean in the cloned repo (which erases the compiled files), and then remove the cloned repo that the user owns and can rm.
2022-10-14 12:09:39 -03:00
Sergio R. Caprile
0103f1f080
Merge pull request #1795 from cesanta/z
...
Use board nucleo_f429zi
2022-10-14 08:54:20 -03:00
cpq
e8d29d54d6
Use board nucleo_f429zi
2022-10-14 11:39:00 +01:00
Sergey Lyubka
092f2ce0b3
Merge pull request #1794 from cesanta/addMissingTests
...
Update test.yml
2022-10-11 07:37:53 +01:00
Sergio R. Caprile
d89233276b
Update test.yml
2022-10-10 17:16:42 -03:00
Sergio R. Caprile
7d797187e8
Merge pull request #1793 from cesanta/device-dashboard
...
fix paths in Makefile (like other examples)
2022-10-10 17:01:43 -03:00
Sergio R. Caprile
6edcc72364
fix paths in Makefile
2022-10-10 16:51:07 -03:00
Sergey Lyubka
250dfc1377
Merge pull request #1790 from cesanta/zephyr-device-dashboard
...
Add device-dashboard example on Zephyr
2022-10-10 15:59:08 +01:00
Sergey Lyubka
45489c1c87
Merge pull request #1789 from zudwalex/picow
...
Add Pico-W example
2022-10-10 15:58:53 +01:00
Sergey Lyubka
09b250f189
Merge pull request #1787 from cesanta/zephyr
...
Update Zephyr examples
2022-10-10 15:58:39 +01:00
cpq
a84465ddba
Use MG_SOCK_LISTEN_BACKLOG_SIZE -> 128 for FreeRTOS-TCP
2022-10-10 13:41:07 +01:00
Sergey Lyubka
3b95671442
Merge pull request #1791 from zahar517/fix-json-rpc-example
...
Fix json-rpc-over-ws example
2022-10-10 10:35:29 +01:00
zahar517
52e66077a7
Fix json-rpc-over-ws example
2022-10-08 14:39:01 +03:00
Sergio R. Caprile
84bf4d21a3
Add device-dashboard example on Zephyr
2022-10-07 11:52:31 -03:00
Alex Alashkin
04cfc510d0
Add Pico-W example
2022-10-07 09:11:35 +03:00
Sergio R. Caprile
d846e67ec1
Update Zephyr examples
2022-10-06 17:30:27 -03:00
Sergio R. Caprile
9c60a1bc10
Merge pull request #1788 from cesanta/mod-tests4zephyr
...
Update test.yml
2022-10-06 17:11:30 -03:00
Sergio R. Caprile
f06ac52a43
Update test.yml
2022-10-06 16:55:13 -03:00
Sergio R. Caprile
9e5fd43a2d
Update test.yml
2022-10-06 16:46:26 -03:00
Sergio R. Caprile
8d50e7dc82
Update test.yml
2022-10-06 16:32:33 -03:00
cpq
1e6b7bd2a6
Fix broken link
2022-10-05 11:49:06 +01:00
Sergey Lyubka
8346be7a81
Merge pull request #1783 from cesanta/zephyr
...
Update to latest Zephyr and their Docker repo
2022-10-05 11:41:55 +01:00
Sergey Lyubka
9dc5683fc2
Merge pull request #1785 from cesanta/device-dashboard
...
rename time() to ourtime()
2022-10-05 11:40:08 +01:00
Sergio R. Caprile
e7cb82175a
rename time() to ourtime()
2022-10-04 19:27:38 -03:00
Sergio R. Caprile
1ef0aa14c0
Update to latest Zephyr and their Docker repo
2022-10-04 17:24:13 -03:00
cpq
0b3f6d6aab
Use CC for fuzzer, not CXX
2022-09-30 11:44:50 +01:00
Sergey Lyubka
0beef1d770
Merge pull request #1781 from jameshilliard/update-spdx
...
Update GPL license identifier
2022-09-29 20:29:07 +01:00
James Hilliard
b944db30fd
Update GPL license identifier
...
GPL-2.0 was deprecated in favor of GPL-2.0-only.
GPL-2.0+ was deprecated in favor of GPL-2.0-or-later.
See: https://spdx.org/licenses/
2022-09-29 15:18:10 -04:00
cpq
6cf3a3feaf
Fix fuzzer
2022-09-29 19:31:52 +01:00
cpq
9680b8ccb3
Fix overflow in rx_icmp
2022-09-29 16:53:11 +01:00
cpq
a88a11c243
Fix TX overflow in rx_icmp()
2022-09-29 11:13:40 +01:00
Sergey Lyubka
7ff76f69a1
Merge pull request #1777 from jameshilliard/disable-big-endian
...
Disable broken 32 bit tests and enable 32 bit little endian tests.
2022-09-29 07:33:15 +01:00
James Hilliard
c2e4e6d221
Disable broken 32 bit tests and enable 32 bit little endian tests.
...
It appears there's a bunch of endian specific failing 32 bit tests.
2022-09-28 22:18:08 -06:00
Sergey Lyubka
60edc456a9
Merge pull request #1774 from cesanta/smtp-client
...
Fix wrong ca.pem path +
2022-09-28 21:58:20 +01:00
Sergey Lyubka
625f804130
Merge pull request #1776 from jameshilliard/32-bit-bigendian
...
Also test on 32 bit big endian ppc
2022-09-28 21:56:37 +01:00
Sergey Lyubka
7100aaedec
Merge pull request #1775 from cesanta/endian
...
Fix endianness issues in unit test
2022-09-28 21:55:46 +01:00
James Hilliard
c867dbc7b2
Also test on 32 bit big endian ppc
2022-09-28 16:02:32 -04:00
cpq
88097f1829
Fix endianness issues in unit test
2022-09-28 20:22:09 +01:00
Sergio R. Caprile
7cf4834336
Fix wrong ca.pem path
...
Remove extra EHLO before AUTH (there were two)
2022-09-28 16:05:29 -03:00
Sergey Lyubka
b5355307a3
Merge pull request #1767 from jameshilliard/bigendian-tests
...
Test on big endian CPU architectures
2022-09-28 08:08:38 +01:00
James Hilliard
76f693e5d7
Test on big endian CPU architectures
2022-09-26 05:16:49 -04:00
Sergey Lyubka
fb3b0ca6e3
Merge pull request #1765 from jameshilliard/rpc-add-calloc-null
...
Fix null pointer dereference in mg_rpc_add()
2022-09-25 23:22:57 +01:00
James Hilliard
3c71977e2e
Fix null pointer dereference in mg_rpc_add()
...
Fixes #1736
2022-09-25 14:08:58 -04:00
cpq
5574a2663a
Close connection on 3 keep-alive misses
2022-09-25 17:35:14 +01:00
cpq
41960b4212
Optimize fuzzer
2022-09-25 11:58:28 +01:00
Sergey Lyubka
6a500b8d40
Merge pull request #1764 from cesanta/fuzz
...
Optimize fuzzer
2022-09-25 10:31:21 +01:00
Sergey Lyubka
dcede59379
Merge pull request #1743 from cesanta/stm32-nucleo-f746z
...
Stm32 nucleo f746z
2022-09-25 10:22:52 +01:00
Sergey Lyubka
695153c527
Merge pull request #1762 from gdawg/ssdp-example-fix-dupe-responses
...
Fix SSDP example for second and subsequent responses
2022-09-25 10:20:55 +01:00
cpq
c409cca20e
Optimize fuzzer
2022-09-25 10:19:17 +01:00
Sergey Lyubka
a5a9204f83
Merge pull request #1754 from cesanta/iobuf_init
...
issue #1734 , avoid passing null ptr to memmove
2022-09-24 07:18:42 +01:00
Andrew Griffiths
25d42ad345
Fix SSDP example for second and subsequent responses
2022-09-24 14:14:26 +10:00
Sergio R. Caprile
f70a407611
issue #1734 , avoid passing null ptr to memmove
2022-09-23 19:34:36 -03:00
Sergio R. Caprile
89f2e66c80
Merge pull request #1752 from cesanta/asan
...
Activate asan for mip_test
2022-09-23 09:45:18 -03:00
Sergio R. Caprile
4562be52d4
Merge pull request #1753 from cesanta/mg_vprintf
...
Get rid of va_copy
2022-09-23 09:30:09 -03:00
cpq
ebd931f7af
Get rid of va_copy
2022-09-23 08:59:02 +01:00
cpq
6a47ff6422
Activate asan for mip_test
2022-09-23 08:35:59 +01:00
cpq
1237185bb4
MIP: atomic -> volatile. Add lease time
2022-09-22 17:16:52 +01:00
Sergio R. Caprile
d7fe819699
Merge pull request #1751 from cesanta/stm32-nucleo-f746zg
...
Add new example as per the tutorial
2022-09-22 12:00:15 -03:00
Sergio R. Caprile
770ffd1483
Add new example as per the tutorial
2022-09-22 11:32:52 -03:00
Sergio R. Caprile
9373e77636
Update Makefile as per the tutorial, enhance it
2022-09-22 11:01:40 -03:00
cpq
cb5034548d
Fix oob read in rx_dhcp()
2022-09-22 13:42:17 +01:00
Sergey Lyubka
f9ad870ff0
Merge pull request #1750 from cesanta/make
...
Optimize makefile
2022-09-22 13:26:57 +01:00
cpq
b538bc3871
Optimize makefile
2022-09-22 12:55:45 +01:00
Sergey Lyubka
e5b0528aca
Merge pull request #1742 from cesanta/mip-fuzz
...
Fuzzing MIP
2022-09-21 21:15:50 +01:00
cpq
a12bd2271e
Fuzzing MIP
2022-09-21 20:29:49 +01:00
Sergey Lyubka
15c5858732
Merge pull request #1746 from cesanta/dtoa
...
Fix issue #1733
2022-09-21 17:48:06 +01:00
Sergio R. Caprile
dd4227f444
Fix issue #1733
2022-09-21 11:38:39 -03:00
Sergey Lyubka
fe8a7d8db9
Merge pull request #1748 from cesanta/va_end
...
Fix issue #1735
2022-09-21 09:43:47 +01:00
Sergey Lyubka
ec79ca71b2
Merge pull request #1747 from cesanta/timer_add
...
Fix issue #1737
2022-09-21 07:16:27 +01:00
Sergio R. Caprile
7a1544e76a
Fix issue #1735
2022-09-20 14:26:06 -03:00
Sergio R. Caprile
27ffc23664
Fix issue #1737
2022-09-20 13:54:17 -03:00
Sergio R. Caprile
8ef8ee91e9
Merge pull request #1745 from cesanta/tls-hs
...
Update README.md with TLS_HS event
2022-09-20 10:53:27 -03:00
Sergio R. Caprile
571625f0c3
Update README.md
2022-09-20 10:52:45 -03:00
Sergio R. Caprile
fc2d6eb6bb
Merge pull request #1744 from cesanta/smtp
...
Add smtp client example
2022-09-20 10:38:16 -03:00
cpq
48800504be
Add smtp client example
2022-09-20 11:34:22 +01:00
Sergey Lyubka
f94a019733
Merge pull request #1741 from cesanta/tls
...
Fix mbedtls MG_IO_WAIT case
2022-09-19 14:06:31 +01:00
cpq
535d8b9e02
Fix mbedtls MG_IO_WAIT case
2022-09-19 13:38:59 +01:00
Sergey Lyubka
161d44ee04
Merge pull request #1730 from cesanta/stm32-nucleo-f429z
...
Update Makefile as per the tutorial
2022-09-13 21:46:41 +01:00
Sergey Lyubka
7ea155b943
Merge pull request #1729 from cesanta/mip-tap
...
Add example to use TAP interface on Linux
2022-09-13 21:46:06 +01:00
Sergio R. Caprile
30acef2452
Merge pull request #1727 from cesanta/mdc
...
Pass MDC clock divider explicitly rather than guess
2022-09-12 20:43:00 -03:00
cpq
82b50fd3a5
Pass MDC clock divider explicitly rather than guess
2022-09-12 23:57:04 +01:00
Sergio R. Caprile
9e5503dd04
Update Makefile as per the tutorial
2022-09-12 17:29:47 -03:00
Sergio R. Caprile
2ec2ed62c8
Add example to use TAP interface on Linux
2022-09-12 10:52:23 -03:00
cpq
274c11c3ec
Update README
2022-09-11 13:42:59 +01:00
cpq
76c4bb556f
Update README
2022-09-11 11:23:58 +01:00
cpq
40f484cc54
Update README
2022-09-11 11:20:53 +01:00
cpq
85b701b8c2
Formatting
2022-09-10 21:49:20 +01:00
Sergey Lyubka
7e875ba89d
Merge pull request #1726 from cesanta/qp
...
Add MAC addr filtering to stm32 driver. Record free space in q profiler
2022-09-10 18:19:36 +01:00
cpq
c718d7999f
Add MAC addr filtering to stm32 driver. Record free space in q profiler
2022-09-10 16:38:03 +01:00
Sergey Lyubka
d1472992da
Merge pull request #1725 from cesanta/qprofile
...
Add irq and drop counters to qprofiler
2022-09-09 20:19:19 +01:00
Sergio R. Caprile
995f90aa49
Add irq and drop counters to qprofiler
2022-09-09 14:47:46 -03:00
Sergio R. Caprile
a4c27618b4
Update README.md
2022-09-09 14:10:48 -03:00
Sergio R. Caprile
05019529f1
Merge pull request #1724 from cesanta/mgread
...
Pass long *bytes_read to MG_EV_READ
2022-09-09 14:09:50 -03:00
Sergio R. Caprile
1b5ab3261c
Merge pull request #1722 from cesanta/mip-tls
...
Add mbedtls support to MIP
2022-09-09 14:09:19 -03:00
Sergey Lyubka
6033555ac0
Merge pull request #1723 from cesanta/pcap
...
Added Linux howto
2022-09-09 17:43:53 +01:00
cpq
fd4e1975a3
Pass long *bytes_read to MG_EV_READ
2022-09-09 17:09:18 +01:00
cpq
124ac12150
Add mbedtls support to MIP
2022-09-09 15:53:42 +01:00
Sergio R. Caprile
8c1ffa3f5d
Added Linux howto
2022-09-09 10:42:46 -03:00
cpq
f76a7e36e8
Corrected MacOS setup diagram
2022-09-08 12:11:01 +01:00
cpq
6484c4bc8b
Updated description
2022-09-08 12:09:30 +01:00
cpq
bba2421ba9
Corrected MacOS setup diagram
2022-09-08 11:36:01 +01:00
cpq
3c69c7feaf
Add MacOS setup diagram
2022-09-08 11:28:16 +01:00
cpq
45b2ffe1af
Use DMG_HTTP_DIRLIST_TIME
2022-09-08 11:02:32 +01:00
cpq
a57c0f4700
Fix #1712 - JSON parsing for keys with arrays
2022-09-08 10:59:23 +01:00
Sergey Lyubka
c33116166f
Merge pull request #1720 from cesanta/qprofile
...
Add rudimentary queue profiler
2022-09-08 10:37:01 +01:00
Sergey Lyubka
50a2063e45
Merge pull request #1713 from behnejad/master
...
display file modify date in "%Y/%m/%d %H:%M:%S".
2022-09-08 08:55:22 +01:00
cpq
cd30cf2d6c
Fix #1710 - free MIP in mg_mgr_free()
2022-09-08 08:53:54 +01:00
cpq
419126652e
Merge branch 'master' of github.com:cesanta/mongoose
2022-09-08 08:50:51 +01:00
cpq
06ab83dca6
Implement keep-alive, 45 sec interval. Correct ACK piggyback
2022-09-08 08:50:42 +01:00
Sergio R. Caprile
313fddf722
Add rudimentary queue profiler
...
ETH IRQ and mip_poll() can both write to the queue, so if a memcpy() is interrupted we might see some weird records.
2022-09-07 17:14:03 -03:00
Sergey Lyubka
f4def36ccb
Merge pull request #1717 from cesanta/fixmipq
...
Fix MIP Q
2022-09-07 20:59:12 +01:00
Sergey Lyubka
4be8f2ba93
Merge pull request #1719 from cesanta/testq
...
Make mip_test fail with current queue algo
2022-09-07 20:58:29 +01:00
cpq
881b282604
Implement ack timer
2022-09-07 20:48:23 +01:00
Sergio R. Caprile
9675bfe07d
Fix MIP Q
2022-09-07 14:59:58 -03:00
Sergio R. Caprile
443351e95a
Make mip_test fail with current queue algo
2022-09-07 14:46:36 -03:00
Behnejad
d4cd1c61ee
fixing defines.
2022-09-07 22:08:50 +04:30
cpq
75892cb523
Add %f to src/fmt.c
2022-09-07 15:09:52 +01:00
Sergey Lyubka
63e0041644
Merge pull request #1715 from davidhozic/feature/1714
...
Bug Fix #1714
2022-09-07 15:03:51 +01:00
Sergey Lyubka
70e2d8dd4e
Merge pull request #1716 from cesanta/pcap
...
Make mip-pcap work on Mac
2022-09-07 13:36:14 +01:00
cpq
b2624f6055
Make mip-pcap work on Mac
2022-09-07 13:36:00 +01:00
David Hozic
0bb8144677
Bug Fix #1714
2022-09-07 13:35:32 +02:00
Behnejad
ad50447ec6
display file modify date in "%Y/%m/%d %H:%M:%S".
...
adding compile time option to display file modification date as "%Y/%m/%d %H:%M:%S" in http directory indexing.
2022-09-07 09:04:15 +04:30
Sergey Lyubka
84de7437c6
Merge pull request #1711 from cesanta/ethrxsz
...
Fix Ethernet buffer size
2022-09-06 22:29:23 +01:00
Sergio R. Caprile
419dd50255
Fix Ethernet buffer size
...
1500 bytes is payload size, which is OK for tx. On the rx side, a full 802.1Q-tagged frame size is 1522 bytes, without the 4-byte CRC = 1518 bytes (1514 for non-VLAN-tagged frames).
2022-09-06 16:53:26 -03:00
Sergio R. Caprile
9dea02e578
Merge pull request #1708 from cesanta/ack
...
Add mip test
2022-09-05 12:11:24 -03:00
cpq
1c181e091e
Add mip test
2022-09-05 15:56:03 +01:00
Sergio R. Caprile
32782bab0e
Merge pull request #1706 from cesanta/mg_timer_expired
...
Introduce mg_timer_expired(). Adopt DHCP and link status to use it
2022-09-05 11:45:53 -03:00
cpq
330783cb5a
Corrected clean and examples targets
2022-09-05 14:14:50 +01:00
Sergio R. Caprile
504b004e01
Merge pull request #1707 from cesanta/comments
...
Use single-line comments
2022-09-05 09:05:28 -03:00
cpq
edb861da70
docs
2022-09-05 12:29:06 +01:00
cpq
64ad15895f
Small nit in minimal HTTP server example
2022-09-05 12:26:43 +01:00
cpq
44b4944334
Use single-line comments
2022-09-03 09:49:41 +01:00
cpq
f9272d0959
Introduce mg_timer_expired(). Adopt DHCP and link status to use it
2022-09-03 09:45:19 +01:00
Sergey Lyubka
a113e344a1
Merge pull request #1704 from cesanta/acknow
...
Re-enable sending ACKs until proper mechanism is in place
2022-09-03 07:46:43 +01:00
Sergey Lyubka
2d80f03f01
Merge pull request #1705 from lionsoul2014/master
...
fix the doc error: htts to https
2022-09-03 07:44:01 +01:00
lion
542fe9f029
fix the doc error: htts to https
2022-09-03 10:51:09 +08:00
Sergio R. Caprile
a1992f5910
Re-enable sending ACKs until proper mechanism is in place
2022-09-02 20:48:30 -03:00
Sergey Lyubka
45a057b0c6
Merge pull request #1703 from cesanta/stm32driver
...
Extend explanation for MDC clock
2022-09-02 20:02:05 +01:00
Sergio R. Caprile
4a1a26e8b7
Extend explanation for MDC clock
2022-09-02 15:03:46 -03:00
Sergey Lyubka
db35e6a427
Merge pull request #1702 from cesanta/stm32driver
...
Add CR setup, set MDC based on HCLK
2022-09-02 18:46:31 +01:00
Sergio R. Caprile
7358ed25a5
Add CR setup, set MDC based on HCLK
2022-09-02 14:02:02 -03:00
cpq
0d385c29a3
More JSON tests
2022-09-02 16:23:39 +01:00
Sergey Lyubka
51076e68c8
Merge pull request #1701 from cesanta/enableFPU
...
Enable FPU
2022-09-02 15:46:00 +01:00
Sergio R. Caprile
3270f1252b
Enable FPU
2022-09-02 11:18:11 -03:00
Sergey Lyubka
d8ee105e1e
Merge pull request #1699 from cesanta/scb
...
Fix SCB address for scb struct
2022-09-02 14:09:08 +01:00
cpq
567fccd7ee
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00
cpq
f7f7319698
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00
Sergio R. Caprile
62a6b61fc9
Fix SCB address for scb struct
2022-09-01 17:14:31 -03:00
Sergey Lyubka
1a87d9fa77
Merge pull request #1698 from oakfire/master
...
Fix mg_json_get for the array element result not as expected.
2022-09-01 09:14:10 +01:00
oakfire
8131e30002
Fix mg_json_get for the array element result not as expected.
2022-09-01 15:02:17 +08:00
cpq
83c76bdafc
Make mongoose_custom.h a local include, for Arduino builds
2022-08-31 18:20:34 +01:00
cpq
cf1566e116
Add more comments in json code
2022-08-31 17:59:04 +01:00
Sergey Lyubka
5d2c977029
Merge pull request #1697 from oakfire/master
...
fix : #1696 mg_json_get() bugs.
2022-08-31 17:55:12 +01:00
cpq
823c0ef5fb
Add enc28j60 driver skeleton
2022-08-31 08:54:33 +01:00
cpq
aefc588e6e
Unbreak win98 build
2022-08-31 08:53:22 +01:00
cpq
1949439d69
Adopt mip changes
2022-08-31 08:44:05 +01:00
cpq
c131b8daf1
struct mip_ipcfg -> struct mip_cfg
2022-08-31 08:41:16 +01:00
cpq
8a61969c8f
Add struct mip_spi for SPI drivers, and skeleton for enc28j60 driver
2022-08-31 08:35:06 +01:00
Sergey Lyubka
3cf85770c7
Merge pull request #1694 from cesanta/nucleo-f746zg-baremetal
...
Group clock setup dependencies
2022-08-30 12:25:41 +01:00
Sergey Lyubka
310b339f0d
Merge pull request #1691 from cesanta/docs
...
Moved packed filesystem section out of the docs
2022-08-30 12:24:30 +01:00
Sergey Lyubka
229b7810df
Merge pull request #1695 from cesanta/nucleo-f429zi-baremetal
...
Add baremetal example on Nucleo-F429ZI
2022-08-30 12:24:15 +01:00
oakfire
a686beb9a7
fix : #1696 mg_json_get() bugs.
2022-08-30 14:22:58 +08:00
Sergio R. Caprile
42c1bee8ea
Add baremetal example on Nucleo-F429ZI
2022-08-29 19:20:20 -03:00
Sergio R. Caprile
c289556775
Group clock setup dependencies
2022-08-29 14:36:40 -03:00
Sergio R. Caprile
941d2f2a3e
Moved packed filesystem section out of the docs (relevant parts into the tutorial)
2022-08-29 10:43:29 -03:00
cpq
0a265e79a6
Remove debug log and add a comment
2022-08-29 13:10:11 +01:00
cpq
7f30c01c58
Correct condition check sequence for the prev fix
2022-08-29 13:01:56 +01:00
cpq
0661f5921a
Fix #1690 - mg_json_get for keys with the same prefix
2022-08-29 12:40:50 +01:00
cpq
1c16e95b3a
Fix driver link
2022-08-29 08:55:53 +01:00
cpq
44efa45d75
7.8
2022-08-28 14:11:08 +01:00
cpq
ef89776517
Add reponse end to the http dir list
2022-08-28 13:58:41 +01:00
cpq
2f3f1357c8
Unbreak after mip init API change
2022-08-27 17:15:11 +01:00
cpq
dcdeffff9a
MIP refactor: use mg_hton*, move driver_data to ifp, parametrise f746 PLL setup
2022-08-27 16:45:31 +01:00
cpq
229b492ccc
Minor refactorings, reduced MG_HTTP_MAX_HEADERS 40 -> 30 to reduce stack usage
2022-08-27 12:31:43 +01:00
cpq
2d45ba1981
Merge branch 'master' of github.com:cesanta/mongoose
2022-08-26 17:41:22 +01:00
cpq
b73022096d
Let RPC handle responses too
2022-08-26 17:41:13 +01:00
Sergio R. Caprile
d1124703b7
Merge pull request #1687 from cesanta/webui-login
...
Fix SameSite cookie value
2022-08-26 10:24:00 -03:00
Sergio R. Caprile
4a8dd81c93
Fix SameSite cookie value
2022-08-26 10:22:31 -03:00
cpq
f474a31484
Rebuild packed_fs.c
2022-08-26 14:21:33 +01:00
cpq
e9ec2c5304
Add TLS support to MQTT
2022-08-26 14:20:54 +01:00
cpq
c7b9ca68c2
Move mg_mqtt_next-* to the example, and some nits
2022-08-26 14:20:54 +01:00
Sergio R. Caprile
ffa033cca9
Merge pull request #1686 from cesanta/device-dashboard
...
Fix SameSite cookie value
2022-08-26 10:19:08 -03:00
Sergio R. Caprile
3d3f6e09b6
Fix SameSite cookie value
2022-08-26 10:17:49 -03:00
Sergey Lyubka
7252f5385b
Merge pull request #1683 from cesanta/multi-threaded
...
Show how to send data to a worker thread
2022-08-25 23:53:29 +01:00
Sergio R. Caprile
ad641880a6
Show how to send data to a worker thread
2022-08-25 17:00:47 -03:00
Sergey Lyubka
1f6d62a635
Merge pull request #1684 from cesanta/nucleo-f746zg-baremetal
...
Workaround for aliased weak symbol override issue
2022-08-25 05:10:06 +01:00
Sergio R. Caprile
3cd4fd2d61
Workaround for aliased weak symbol override issue
...
Changed README to use picocom as cu is apparently not able to add carriage return after line feed
2022-08-24 19:02:11 -03:00
cpq
d565faa75d
Make non-initialised MIP poll work
2022-08-21 23:35:24 +01:00
cpq
786e118f06
Include mongoose_custom.h early to allow overrides
2022-08-20 18:26:29 +01:00
cpq
eca612d514
Document all supported MG_ARCH choices
2022-08-20 03:44:29 +01:00
Sergey Lyubka
060f43839d
Merge pull request #1680 from cesanta/esp8266
...
Expanded Makefile
2022-08-20 00:27:09 +01:00
cpq
9c3c4a6f4b
MIP client
2022-08-20 00:03:15 +01:00
cpq
101cc1a672
Add define for strdup
2022-08-20 00:02:36 +01:00
Sergio R. Caprile
e47f71344d
Expanded Makefile
2022-08-19 18:17:52 -03:00
cpq
fee6de6a7f
Allow NULL head in struct mg_rpc
2022-08-19 15:08:01 +01:00
Sergey Lyubka
2bf25a1406
Merge pull request #1678 from cesanta/esp8266
...
Improved Makefile to be able to flash
2022-08-18 22:30:20 +01:00
Sergio R. Caprile
dd59296be9
Improved Makefile to be able to flash
...
subtle mod in main.c comment
2022-08-18 17:41:05 -03:00
cpq
b382726ed0
Build dashboard by default, fix FPU flag
2022-08-18 21:36:36 +01:00
Sergey Lyubka
01390fe540
Merge pull request #1675 from cesanta/stm32h743
...
Change README to point to new tutorial location
2022-08-17 08:30:41 +01:00
cpq
8596e1bef7
Enable FPU
2022-08-16 16:45:05 +01:00
Sergey Lyubka
13fffbc5b6
Merge pull request #1674 from cesanta/webui-preact
...
back to symbolic link
2022-08-16 11:56:08 +01:00
Sergey Lyubka
5f4857ddae
Merge pull request #1673 from cesanta/docs
...
Change argument of %M handler to mg_pfn_t plus some cosmetic changes
2022-08-16 11:55:51 +01:00
Sergey Lyubka
5f36b41785
Merge pull request #1672 from cesanta/webui-push-rest
...
Change argument of %M handler to mg_pfn_t as in huge_response
2022-08-16 11:55:33 +01:00
Sergio R. Caprile
bd8f0c90e1
back to symbolic link
2022-08-15 18:42:20 -03:00
Sergio R. Caprile
f49683353d
Change argument of %M handler to mg_pfn_t plus some cosmetic changes
2022-08-15 16:07:18 -03:00
Sergio R. Caprile
4f012d6bc6
Change argument of %M handler to mg_pfn_t as in huge_response
2022-08-15 16:04:17 -03:00
cpq
e48e353066
Restore mg_file_write() to use tmp file
2022-08-15 16:08:34 +01:00
cpq
6ad7af54dc
Fix docs, nits to freertos includes
2022-08-14 23:46:33 +01:00
cpq
6b69bef2ef
mg_dtoa, mg_atod, mg_lld made static
2022-08-14 01:25:38 +01:00
cpq
d2a27d3d91
mg_*rprintf -> mg_*xprintf
2022-08-13 20:34:20 +01:00
cpq
189aa80743
Update examples to NOT use mg_*mprintf
2022-08-13 20:09:51 +01:00
cpq
f122bd5797
Update mg_log_set_fn()
2022-08-13 15:43:27 +01:00
cpq
d76f86f7db
Get rid of mg_*asprintf
2022-08-13 15:37:55 +01:00
cpq
ccf5364187
Squash C++ warn
2022-08-13 14:57:15 +01:00
cpq
a3bfe3e61a
Use hand-crafted packet for large WS frame test
2022-08-13 14:52:43 +01:00
cpq
de10e340b6
Update examples to use mg_http_reply
2022-08-13 14:52:10 +01:00
cpq
40ca26f23b
Refactor mg_ws_connect()
2022-08-13 14:44:08 +01:00
cpq
da28213613
Squash warning
2022-08-13 11:36:24 +01:00
cpq
6615a821f1
Test WS frames that are larger than 64k
2022-08-13 11:16:13 +01:00
Sergio R. Caprile
d627d669bc
Change README to point to new tutorial location
2022-08-12 17:08:18 -03:00
cpq
ef6fbad0cb
Better CFLAGS for SSL when building examples
2022-08-11 12:12:00 +01:00
cpq
ef9f7d4c16
Change mg_ws_send: const char * -> const void *
2022-08-11 12:12:00 +01:00
Sergey Lyubka
44a0fa0986
Merge pull request #1670 from cesanta/index.gx-test
...
Add unit test for gzipped index when / is requested
2022-08-10 23:46:08 +01:00
Sergio R. Caprile
4d9338323a
Add unit test for gzipped index when / is requested
2022-08-10 19:06:04 -03:00
Sergey Lyubka
1a6bfb65e6
Merge pull request #1669 from cesanta/embedded-filesystem
...
Add Embedded Filesystem example
2022-08-10 21:45:23 +01:00
Sergey Lyubka
3b112cc8c8
Merge pull request #1668 from cesanta/index.gz
...
check for gzipped index file when / is requested
2022-08-10 21:45:09 +01:00
Sergio R. Caprile
014a008c3a
Add Embedded Filesystem example
2022-08-10 16:05:34 -03:00
Sergio R. Caprile
374be7b065
check for gzipped index file when / is requested
2022-08-10 15:54:24 -03:00
cpq
2ba3630de9
Remove dangerous mg_pfn_realloc(). Add %q printf specifier
2022-08-10 18:27:58 +01:00
cpq
24cb9467c0
Update docs for mg_rpc_process()
2022-08-10 15:35:07 +01:00
cpq
79c49e64e8
vc2017 -> vc17
2022-08-09 19:22:47 +01:00
cpq
c8c0b8fb91
Squash vc98 warn 3
2022-08-09 19:17:40 +01:00
cpq
e5585cb0e7
Squash vc98 warn 2
2022-08-09 18:58:58 +01:00
cpq
bd32f6e2ef
Squash warn on vc98
2022-08-09 15:49:54 +01:00
cpq
08f8ea0cd9
vc2017 -> vc17
2022-08-09 15:38:25 +01:00
cpq
2d48b28b0a
Set dockerrun
2022-08-09 13:10:21 +01:00
cpq
9cfaee9b21
Multi-platform docker build
2022-08-09 13:02:50 +01:00
cpq
9393e271de
Set dockercmd
2022-08-09 12:47:27 +01:00
cpq
948595fb3b
Do not assert on SNTP and local clock diff, since local clock could be off
2022-08-09 12:45:10 +01:00
cpq
6149b619e7
Squash warnings
2022-08-09 12:39:40 +01:00
cpq
b7406357c5
Fix #1600 - more precise SNTP time calculation
2022-08-09 12:13:23 +01:00
Sergey Lyubka
2279a51d52
Merge pull request #1666 from cesanta/tcp
...
Added TLS support
2022-08-08 20:57:11 +01:00
cpq
4d3d0995c9
Use only time.windows.com in SNTP test
2022-08-08 20:56:10 +01:00
Sergio R. Caprile
0ca752662d
Added TLS support
2022-08-08 15:42:35 -03:00
cpq
4246f5d206
PATH_MAX -> MG_PATH_MAX
2022-08-06 22:26:07 +01:00
cpq
e8289ec17d
Fix #1648 - set MG_PATH_MAX to FILENAME_MAX on windows and unix
2022-08-06 22:19:55 +01:00
cpq
cde441bca6
Remove tcpdump on port 123
2022-08-06 20:30:12 +01:00
cpq
740b609e1e
Fix for deliver_normal_chunks() and a test case
2022-08-06 09:01:34 +01:00
cpq
c459c17fab
Update docs
2022-08-05 19:55:15 +01:00
cpq
11bbda9bb3
Update images
2022-08-05 19:44:55 +01:00
cpq
6a5c523948
Merge branch 'master' of github.com:cesanta/mongoose
2022-08-05 19:28:04 +01:00
cpq
99c23606c5
Add c->is_resp note
2022-08-05 19:27:56 +01:00
Sergey Lyubka
608b1ee156
Merge pull request #1665 from cesanta/esp32-device-dashboard
...
Changed README to point to new tutorial location
2022-08-05 19:20:35 +01:00
Sergey Lyubka
12ab5c9964
Merge pull request #1664 from gvanem/patch-1
...
Fix empty initializer
2022-08-05 19:19:55 +01:00
cpq
779c825e92
Fixes to chunked support when pipelining
2022-08-05 19:18:06 +01:00
Gisle Vanem
96df718304
Fix empty initializer
...
MSVC does not like such empty initializer:
xamples/device-dashboard/net.c(116): error C2059: syntax error: '}'
2022-08-05 13:50:55 +02:00
Sergey Lyubka
4bee440a56
Merge pull request #1663 from cesanta/doc-rpc
...
Add pfn functions and RPC docs
2022-08-04 21:56:24 +01:00
Sergio R. Caprile
bb4e4c7cda
Add pfn functions docs
...
Add RPC docs
2022-08-04 17:20:00 -03:00
cpq
582ab220b3
Update mqtt docs
2022-08-04 18:50:20 +01:00
cpq
3e2ad83b2c
Fix #1647 - add note in the doc that opts->root_dir is ignored by the mg_http_serve_file()
2022-08-04 17:47:48 +01:00
Sergey Lyubka
ae29a1734c
Merge pull request #1660 from cesanta/device-dashboard
...
device-dashboard: default to using packed fs, otherwise hw examples won't work
2022-08-04 17:13:03 +01:00
cpq
457ce5e563
Refactor chunking support. Fix #1656
2022-08-04 17:10:53 +01:00
Sergey Lyubka
154bdb08a9
Merge pull request #1659 from cesanta/scaprile-patch-1
...
Update README.md
2022-08-04 11:26:33 +01:00
Sergio R. Caprile
22b2dc9ea8
Update README.md
2022-08-03 14:38:12 -03:00
Sergey Lyubka
3ede1a4a5a
Merge pull request #1658 from cesanta/ut-pause
...
Add unit test to check on server pausing between headers and data fir…
2022-08-03 16:20:14 +01:00
Sergio R. Caprile
9e3138b892
Add unit test to check on server pausing between headers and data firing a zero length MG_EV_HTTP_CHUNK
2022-08-03 12:09:24 -03:00
Sergey Lyubka
51cb40acd2
Enable epoll on linux
2022-08-03 15:07:26 +01:00
Sergey Lyubka
4702073458
Merge pull request #1655 from cesanta/esp32-uart-bridge
...
Fix for new mg_iobuf API
2022-08-03 08:40:04 +01:00
Sergio R. Caprile
e01cffff46
Changed README to point to new tutorial location
...
Expanded Makefile to be able to flash with Docker and esputil
2022-08-02 16:10:34 -03:00
Sergio R. Caprile
d88e438679
default to using packed fs, otherwise hw examples won't work
2022-08-02 16:06:19 -03:00
Sergio R. Caprile
70683fc8e7
Fix for new mg_iobuf API
2022-08-02 14:46:27 -03:00
Sergey Lyubka
bd7ee0d1e8
Refactor mg_http_reply and mg_http_printf_chunk to use less allocs and mem copies
2022-08-01 21:07:42 +01:00
Sergey Lyubka
17e2fdd4cb
Add align to struct mg_iobuf
2022-08-01 12:53:25 +01:00
Sergey Lyubka
a468f58128
Use int debug level
2022-08-01 11:19:32 +01:00
Sergey Lyubka
581a0698af
Expose rpc guts
2022-07-31 22:51:59 +01:00
Sergey Lyubka
f02f88f336
mg_rpc_free -> mg_rpc_del
2022-07-30 21:13:30 +01:00
Sergey Lyubka
43d53b0616
Merge pull request #1650 from cesanta/esp32-uart
...
Fix Makefile
2022-07-30 07:57:37 +01:00
Sergey Lyubka
54d6bad5e5
Refactor JSON and RPC API
2022-07-30 07:55:26 +01:00
Sergio R. Caprile
c37d4f768b
Fix Makefile
2022-07-29 18:27:20 -03:00
Sergey Lyubka
a4b003b7ac
Merge pull request #1644 from cesanta/esp32_uart-bridge
...
Fix Makefile
2022-07-28 21:04:27 +01:00
Sergey Lyubka
433120ab22
Merge pull request #1637 from cesanta/webui-push-rest
...
Add data push using REST example
2022-07-28 20:54:20 +01:00
Sergio R. Caprile
109da5f515
Add data push using REST example
2022-07-28 10:20:22 -03:00
Sergey Lyubka
56e6cf406a
Fix unamalgamated build
2022-07-28 10:47:12 +01:00
Sergey Lyubka
a2289a0625
Fix unamalgamated build
2022-07-28 10:33:44 +01:00
Sergey Lyubka
02943a1082
Merge pull request #1649 from cesanta/tcp
...
Added plain TCP server and client example
2022-07-28 10:27:10 +01:00
Sergey Lyubka
64a36496e3
Merge pull request #1643 from cesanta/uart-bridge
...
Fixes to uart-bridge example
2022-07-28 10:26:51 +01:00
Sergey Lyubka
f2009ebd62
Move mg_*printf* decls in fmt.h
2022-07-28 10:18:17 +01:00
Sergio R. Caprile
638892ca70
Fix incorrect oninput function call
...
Check a new config element is present before acting on the previous one
Correctly update config local copy
Fix TCP buffering for ever
2022-07-27 17:19:34 -03:00
Sergio R. Caprile
90fdbd36ec
Added plain TCP server and client example
2022-07-27 13:40:02 -03:00
Sergey Lyubka
0dabc45780
Add RPC API
2022-07-27 00:46:05 +01:00
Sergio R. Caprile
0ffec91984
Fix Makefile
2022-07-25 11:27:19 -03:00
Sergey Lyubka
9cacf443e1
Merge pull request #1636 from cesanta/webui-push-ws
...
Added data push over WS example
2022-07-25 11:03:06 +01:00
Sergey Lyubka
3f21be4fb0
Merge pull request #1639 from cesanta/docs
...
Add mg_ws_printf()/vprintf() doc
2022-07-25 10:54:06 +01:00
Sergey Lyubka
7587f8212e
Merge pull request #1642 from cesanta/fix-json
...
Fix json's MG_EOO in nested objects
2022-07-25 10:53:30 +01:00
Sergio R. Caprile
1eed80375d
Fix MG_EOO
2022-07-22 11:50:23 -03:00
Sergio R. Caprile
806eed6040
Add mg_ws_printf()/vprintf() doc
2022-07-21 11:46:50 -03:00
Sergey Lyubka
d1828ecdb4
Merge pull request #1634 from cesanta/webui-plain
...
Fix former config value not being freed
2022-07-18 21:24:07 +01:00
Sergey Lyubka
5cddb8ecda
Merge pull request #1633 from cesanta/webui-login
...
Added web UI login example
2022-07-18 21:23:41 +01:00
Sergio R. Caprile
1651d9d6d9
Fix former config value not being freed
2022-07-18 16:21:02 -03:00
Sergio R. Caprile
40fc049cdc
Added web UI login example
2022-07-18 14:12:42 -03:00
Sergey Lyubka
89afe62121
Merge pull request #1627 from cesanta/webui-rest
...
added webUI REST basics example
2022-07-17 18:09:02 +01:00
Sergey Lyubka
e5b40ee29e
Merge pull request #1630 from cesanta/webui-plain
...
added webUI plain JS example
2022-07-17 18:08:45 +01:00
Sergey Lyubka
4a3d760c06
Add timer ID attribute, for safe cleanup in the scripted environment
2022-07-17 12:52:30 +01:00
Sergio R. Caprile
aa326f975d
Added data push over WS example
2022-07-15 21:32:41 -03:00
Sergey Lyubka
1fbf534f9a
Merge pull request #1631 from cesanta/webui-preact-example
...
added webUI Preact-based example
2022-07-15 09:15:43 +01:00
Sergey Lyubka
86aa38bfd5
Merge pull request #1629 from jbrzusto/fix-mg_ntp_parse
...
NTP reponse gives fractional (not micro-) seconds, per RFC5905
2022-07-15 00:43:31 +01:00
Sergio R. Caprile
ca929031ee
added webUI Preact-based example
2022-07-13 14:41:38 -03:00
Sergio R. Caprile
f80477a093
added webUI plain JS example
2022-07-13 11:07:01 -03:00
Sergio R. Caprile
abd7698d6d
added webUI REST basics example
2022-07-13 10:45:49 -03:00
John Brzustowski
d5fe3261f4
NTP reponse gives fractional (not micro-) seconds, per RFC5905
2022-07-13 04:08:54 -03:00
Sergey Lyubka
3f46ae7beb
Make generated packed_fs.c independent
2022-07-12 15:09:33 +01:00
Sergey Lyubka
46af09f776
Change ff_open to explicit memcpy()
2022-07-11 18:13:46 +01:00
Sergey Lyubka
f40b272eeb
Fix #1626 - ignore @ in query string
2022-07-10 15:41:43 +01:00
Sergey Lyubka
9876e3afd7
Merge pull request #1622 from cesanta/percentM
...
added mg_rprintf(), updated doc to new %M API
2022-07-10 11:15:52 +01:00
Sergio R. Caprile
41df6a6c0b
added mg_rprintf(), updated doc to new %M API
2022-07-07 14:15:55 -03:00
Sergey Lyubka
dbd25daff8
Merge pull request #1621 from cesanta/percentM
...
Update (fix) to new %M API
2022-07-07 14:44:54 +01:00
Sergio R. Caprile
71eefb6272
Update to new %M API
...
Doc still references the old API and mg_rprintf() is not yet documented
2022-07-06 19:01:18 -03:00
Sergey Lyubka
a4a340dbd4
Merge branch 'master' of github.com:cesanta/mongoose
2022-07-04 19:18:27 +01:00
Sergey Lyubka
2c01893bb1
Give more time for unit test to detect conn refused on windows
2022-07-04 19:18:20 +01:00
Sergey Lyubka
c4e496b001
Merge pull request #1618 from cesanta/mqtt
...
updated docs and example to recently exported MQTT result codes
2022-07-04 19:07:28 +01:00
Sergio R. Caprile
16e90c3082
updated docs and example to recently exported MQTT result codes
2022-07-04 14:32:12 -03:00
Sergey Lyubka
543b4a132b
Fix POLLERR usage
2022-07-04 18:25:13 +01:00
Sergey Lyubka
e4a5296fbf
Introduce c->is_mqtt5 for keeping mqtt version. Make mqtt over ws work again
2022-07-04 17:47:17 +01:00
Sergey Lyubka
6c796b8552
Fix memset in mg_iotest, add mg_random_str test
2022-07-04 16:13:38 +01:00
Sergey Lyubka
e30ad43d36
Merge pull request #1612 from cesanta/mqtt
...
Exported MQTT result codes
2022-07-04 15:15:19 +01:00
Sergey Lyubka
f841b85d7d
Merge pull request #1614 from cesanta/udp-ssdp-search
...
Added parsing of remote responses
2022-07-04 15:14:39 +01:00
Sergey Lyubka
735b7bece6
Squash more warns
2022-07-04 11:43:52 +01:00
Sergey Lyubka
4c9fdaf8b0
Merge pull request #1617 from jameshilliard/osx-clock
...
util: use correct clock on OSX
2022-07-04 11:12:58 +01:00
Sergey Lyubka
2ccc4acf34
Squash warns for rp2040 builds
2022-07-04 11:10:08 +01:00
James Hilliard
c24343f107
util: use correct clock on OSX
...
CLOCK_MONOTONIC_RAW on OSX is not the same as CLOCK_MONOTONIC_RAW on linux
2022-07-04 04:04:43 -06:00
Sergey Lyubka
81ffcd8ee9
Fix #1616 - randomize mqtt will and client id for parallel test
2022-07-04 11:00:06 +01:00
Sergey Lyubka
432452ea9a
Fix #1615 - prefer monotonic clock. Add clock for rp2040
2022-07-04 10:08:21 +01:00
Sergey Lyubka
6c14c7d623
Unbreak mac build
2022-07-04 00:06:01 +01:00
Sergey Lyubka
30126072dc
Add MG_ARCH_RP2040
2022-07-03 23:00:15 +01:00
Sergio R. Caprile
f7812c9b0a
Added parsing of remote responses
2022-07-02 13:16:49 -03:00
Sergey Lyubka
dca43f430b
Fix poll support for win32
2022-07-02 12:45:44 +01:00
Sergey Lyubka
0947ce9234
Merge branch 'master' of github.com:cesanta/mongoose
2022-07-02 11:57:09 +01:00
Sergey Lyubka
91fa2ad23b
Enable poll support on windows
2022-07-02 11:52:16 +01:00
Sergey Lyubka
1b57c56fdc
Merge pull request #1613 from cesanta/typo
...
fix typo
2022-07-02 11:15:43 +01:00
Sergio R. Caprile
d13509e302
Update app.js
2022-07-01 15:58:03 -03:00
Sergio R. Caprile
85d300ce71
Exported MQTT result codes
2022-07-01 15:32:24 -03:00
Sergey Lyubka
d6e1a3ab4c
Unbreak my heart ^W the build
2022-07-01 18:10:40 +01:00
Sergey Lyubka
f1da8542ce
Nits
2022-07-01 17:28:06 +01:00
Sergey Lyubka
a183621268
Fix ff_write() call
2022-07-01 13:22:36 +01:00
Sergey Lyubka
035de980e3
Fix ff_read() call
2022-07-01 13:18:49 +01:00
Sergey Lyubka
99f0688377
Change mg_http_upload API
2022-06-30 21:54:50 +01:00
Sergey Lyubka
56412193e7
Add mg_remove_double_dots(), hide mg_http_upload()
2022-06-30 20:27:43 +01:00
Sergey Lyubka
c5751b0bd3
Add mg_json_get_long
2022-06-30 20:03:29 +01:00
Sergey Lyubka
86e57d243d
Enhance esp32 makefile
2022-06-30 19:59:23 +01:00
Sergey Lyubka
7fc57a3be7
Merge pull request #1610 from cesanta/http-restful-server
...
updated SSL build options
2022-06-30 12:27:25 +01:00
Sergio R. Caprile
75069a44c7
updated SSL build options
2022-06-29 17:31:31 -03:00
Sergey Lyubka
2536865c4d
Fix freertos-tcp build
2022-06-29 19:39:36 +01:00
Sergey Lyubka
d266f822ca
Merge branch 'master' of github.com:cesanta/mongoose
2022-06-29 19:19:28 +01:00
Sergey Lyubka
5b8979a0f1
Better connect() result test
2022-06-29 19:19:19 +01:00
Sergey Lyubka
3bc79b9dfd
Merge pull request #1609 from cesanta/mqtt-over-ws-client
...
Added openSSL support
2022-06-29 19:18:25 +01:00
Sergio R. Caprile
0ae75e6db6
Added openSSL support
2022-06-29 14:57:11 -03:00
Sergey Lyubka
89e2a15eb7
Fix build
2022-06-29 18:03:04 +01:00
Sergey Lyubka
b1896d9944
Fix typo
2022-06-29 17:57:59 +01:00
Sergey Lyubka
d0dedcfd2e
Fix build
2022-06-29 17:54:33 +01:00
Sergey Lyubka
73297c8e65
Use mg_putchar_iobuf in mg_vprintf
2022-06-29 17:42:55 +01:00
Sergey Lyubka
017c7290d6
Better error handling - report from iotest
2022-06-29 17:02:37 +01:00
Sergey Lyubka
6a8b5b06d0
Merge pull request #1608 from cesanta/fix_mqtt-over-ws-client
...
fix incorrect WS packet payload
2022-06-29 14:51:39 +01:00
Sergey Lyubka
93a6bc501e
Refactor guess_mime_type()
2022-06-29 10:28:37 +01:00
Sergey Lyubka
e8f050c194
Dont use realloc
2022-06-29 00:00:16 +01:00
Sergio R. Caprile
712517b6fa
fix incorrect WS packet payload
2022-06-28 16:27:49 -03:00
Sergey Lyubka
434378eda5
Merge pull request #1602 from cesanta/device-dashboard
...
fixed watch() not being called after login
2022-06-28 20:24:36 +01:00
Sergey Lyubka
cf38fdb720
Merge pull request #1606 from cesanta/mqtt-client
...
fixed TLS build comment
2022-06-28 20:23:45 +01:00
Sergey Lyubka
95d30cf482
Merge pull request #1607 from cesanta/http-client
...
fixed TLS build comment
2022-06-28 20:20:35 +01:00
Sergio R. Caprile
6542c02b7f
fixed TLS build comment
2022-06-28 10:56:56 -03:00
Sergio R. Caprile
a13144932a
fixed TLS build comment
2022-06-28 10:49:45 -03:00
Sergio R. Caprile
6597830631
fixed watch() not being called after login
2022-06-28 10:26:32 -03:00
Sergey Lyubka
ba08140197
Initial mqtt5 support
2022-06-28 11:31:13 +01:00
Sergey Lyubka
d65ce3b596
Add mg_rprintf, mg_vrprintf
2022-06-28 00:45:52 +01:00
Sergey Lyubka
4864a6e618
Use SSL_set1_host()
2022-06-28 00:45:47 +01:00
Sergey Lyubka
2bbb2bb1db
Merge branch 'master' of github.com:cesanta/mongoose
2022-06-24 14:27:29 +01:00
Sergey Lyubka
47ce004f61
docs nits
2022-06-24 14:24:14 +01:00
Sergey Lyubka
507e392509
Merge pull request #1601 from cesanta/device-dashboard
...
updated and cleaned up texts
2022-06-24 14:09:36 +01:00
Sergio R. Caprile
dcfb014d1f
updated and cleaned up texts
2022-06-23 15:33:31 -03:00
Sergey Lyubka
4e880fb6e0
Nit - fix openssl error message
2022-06-23 13:11:04 +01:00
Sergey Lyubka
898e2b1e30
Add mg_json_get_hex(), mg_json_get_b64()
2022-06-22 16:28:22 +01:00
Sergey Lyubka
a68f3dc4eb
Add %V and %H specifiers for mg_snrpintf()
2022-06-22 13:15:52 +01:00
Sergey Lyubka
c446fe0c6d
Make stm32 eth declared as volatile
2022-06-21 12:11:59 +01:00
Sergey Lyubka
4246e6c768
Fix #1599
2022-06-21 12:07:00 +01:00
Sergey Lyubka
4f9cfdf65d
Merge pull request #1598 from cesanta/http-reverse-proxy
...
Added openSSL support
2022-06-20 22:00:14 +01:00
Sergey Lyubka
b1cd233dda
Merge pull request #1597 from cesanta/http-proxy-client
...
Added openSSL support
2022-06-20 21:59:48 +01:00
Sergey Lyubka
4f63b6093f
Merge pull request #1595 from cesanta/http-client
...
fixed comment, updated TLS section in makefile
2022-06-20 21:59:24 +01:00
Sergio R. Caprile
380a50e39b
Added openSSL support
...
Fixed missing parameter in makefile
Added URI handling
2022-06-20 15:27:46 -03:00
Sergio R. Caprile
3bd3a4ff7b
fixed comment, updated TLS section in makefile
2022-06-20 14:50:45 -03:00
Sergey Lyubka
46bf79455c
Add examples/esp32/uart-bridge
2022-06-19 18:27:37 +01:00
Sergey Lyubka
2d5c26d44f
Rename mg_log_set_fn properly
2022-06-19 09:08:37 +01:00
Sergey Lyubka
9760b7c9d6
Add mg_log_set_fn(), MG_ENABLE_LOG
2022-06-19 09:04:22 +01:00
Sergey Lyubka
0b5a00c99a
Change uart_read signature
2022-06-18 20:41:04 +01:00
Sergey Lyubka
ba8482c707
Update uart bridge
2022-06-18 11:32:31 +01:00
Sergey Lyubka
1b34360b05
Update uart bridge
2022-06-18 11:30:44 +01:00
Sergey Lyubka
c84dab21e4
Refactor UART example
2022-06-18 04:25:11 +01:00
Sergey Lyubka
1640287897
Add mg_http_var
2022-06-18 04:25:11 +01:00
Sergey Lyubka
adcf5bab0e
Merge pull request #1589 from cesanta/mqtt-client
...
Add support for openSSL
2022-06-17 22:04:38 +01:00
Sergey Lyubka
e024700851
Merge pull request #1593 from cesanta/file-uploads
...
update file upload example set
2022-06-17 22:03:58 +01:00
Sergio R. Caprile
f4fc33d111
brought back 7.5 file-upload as file-upload-multiple-posts; updated to latest API
...
renamed form-upload to file-upload-html-form
renamed file-upload to file-upload-single-post
2022-06-17 16:35:02 -03:00
Sergio R. Caprile
fb446022e2
Added openSSL support
...
Backend host is https only if TLS is enabled
2022-06-16 11:59:06 -03:00
Sergio R. Caprile
e021d7cd9d
Add support for openSSL
2022-06-15 10:42:32 -03:00
Sergey Lyubka
3331ed2f49
Merge pull request #1591 from cesanta/jsondoc
...
fix JSON docs
2022-06-15 06:56:08 +01:00
Sergio R. Caprile
939a8ddc26
fix JSON docs
2022-06-14 14:19:25 -03:00
Sergey Lyubka
3774f676cf
Less verbose unit test
2022-06-13 21:12:11 +01:00
Sergey Lyubka
7923509d1e
More json docs
2022-06-13 15:04:52 +01:00
Sergey Lyubka
30d6a44b0d
Fix mg_http_upload()
2022-06-13 14:48:52 +01:00
Sergey Lyubka
6d46ecaa6c
Add mip-pcap example
2022-06-13 02:03:52 +01:00
Sergey Lyubka
5a448ab4f5
Compile driver_stm32.c only for __arm__
2022-06-13 01:04:09 +01:00
Sergey Lyubka
a71262437d
Use mip for arm and riscv targets
2022-06-12 12:43:01 +01:00
Sergey Lyubka
52ab963845
Update images
2022-06-11 22:59:20 +01:00
Sergey Lyubka
67280724ba
Remove pragma
2022-06-11 19:05:07 +01:00
Sergey Lyubka
d8a4b5aa34
Make mip MSVC friendly
2022-06-11 18:54:32 +01:00
Sergey Lyubka
fe0b2d0646
Fix typo
2022-06-11 17:40:48 +01:00
Sergey Lyubka
d3368e4aad
Move mip into mip/
2022-06-11 17:29:45 +01:00
Sergey Lyubka
903b510411
Merge pull request #1587 from cesanta/timers
...
fixed poll timeout being larger than timer period
2022-06-10 22:57:44 +01:00
Sergio R. Caprile
0dbc99d9ee
fixed poll timeout being larger than timer period
2022-06-10 16:59:14 -03:00
Sergio R. Caprile
505ca96547
fixed typo
2022-06-10 16:25:56 -03:00
Sergey Lyubka
89623d00f9
Update readme
2022-06-10 18:48:32 +01:00
Sergey Lyubka
e47bcb3fb6
Merge pull request #1583 from cesanta/multi-threaded
...
Remove outdated comments
2022-06-10 15:21:32 +01:00
Sergey Lyubka
50d0d68f45
Docs nitpick
2022-06-10 15:00:34 +01:00
Sergio R. Caprile
2f75418c70
Remove outdated comments
2022-06-10 10:37:12 -03:00
Sergey Lyubka
013bc58371
Add json docs
2022-06-10 13:01:52 +01:00
Sergey Lyubka
55948cd431
Allow to set log level
2022-06-10 12:33:30 +01:00
Sergey Lyubka
dfca896a64
Update huge response. More tests
2022-06-10 12:14:42 +01:00
Sergey Lyubka
8fc6f3f744
Remove mjson dependency
2022-06-10 09:40:22 +01:00
Sergey Lyubka
f65058fa03
Remove mjson dependency
...
Signed-off-by: Sergey Lyubka <valenok@gmail.com >
2022-06-10 09:39:53 +01:00
Sergey Lyubka
33567bab41
Add %g support to mg_snprintf()
2022-06-10 09:38:36 +01:00
Sergey Lyubka
106662b1d7
Add JSON API
2022-06-09 17:17:33 +01:00
Sergey Lyubka
b73115c002
Unbreak build
2022-06-08 22:09:11 +01:00
Sergey Lyubka
cff208c5a9
Introduce %Q format specifier, rework device dashboard
2022-06-08 21:44:01 +01:00
Sergey Lyubka
a83dd9569d
Unbreak esp32 example
2022-06-08 20:04:35 +01:00
Sergey Lyubka
807cd4df9e
Make sock.c less verbose
2022-06-08 19:55:24 +01:00
Sergey Lyubka
ac3151f871
Make dashboard more robust
2022-06-08 19:53:29 +01:00
Sergey Lyubka
d4106b5cbd
Send puback for qos > 0
2022-06-08 19:51:03 +01:00
Sergey Lyubka
bcb6c2675f
Unbreak esp32 device dashboard build
2022-06-08 13:54:20 +01:00
Sergey Lyubka
6b51666248
Move esp32 example
2022-06-08 13:24:41 +01:00
Sergey Lyubka
628a007112
Refresh packed filesystems
2022-06-08 13:22:09 +01:00
Sergey Lyubka
ee65342545
docs
2022-06-08 11:30:54 +01:00
Sergey Lyubka
94ea973fb5
Update docs
2022-06-08 11:01:30 +01:00
Sergey Lyubka
9f8424e93f
Update readme
2022-06-08 09:06:14 +01:00
Sergey Lyubka
2e750236be
Add uart-bridge example
2022-06-08 08:58:32 +01:00
Sergey Lyubka
c701315ab5
Merge pull request #1581 from behnejad/patch-1
...
fixing offset of Content-Length value.
2022-06-07 08:35:24 +01:00
Sergey Lyubka
a53dc5c0a0
Fix #1580 - uri_to_path2 for / corner case
2022-06-07 04:33:46 +01:00
Behnejad
895ca80b2b
fixing offset of Content-Length value.
...
in very large HTTP response, this offset might cause a problem with HTTP header format.
2022-06-07 08:00:12 +04:30
Sergey Lyubka
1dcb7dd13d
Update mingw target
2022-06-07 00:25:15 +01:00
Sergey Lyubka
e75afcba42
Update dash UI
2022-06-05 17:17:19 +01:00
Sergey Lyubka
0f0cf7a5db
Integrate #1579 - properly clear c->is_readable and c->is_writable flags in mg_iotest()
2022-06-05 15:27:16 +01:00
Sergey Lyubka
31c7d66245
Rework dashboard
2022-06-05 14:59:59 +01:00
Sergey Lyubka
cac7f653c9
Add mg_ws_printf()
2022-06-05 14:59:50 +01:00
Sergey Lyubka
219428c249
Change device dashboard to use MQTT
2022-06-04 22:21:59 +01:00
Sergey Lyubka
f4fa1e097d
docs
2022-06-04 08:45:34 +01:00
Sergey Lyubka
35b517b434
docs
2022-06-04 08:29:03 +01:00
Sergey Lyubka
b3f956ba63
docs
2022-06-04 08:23:25 +01:00
Sergio R. Caprile
3ae8b3f8a7
Merge pull request #1577 from cesanta/sntp
...
Add sntp-time-sync example
2022-06-03 10:38:25 -03:00
Sergey Lyubka
c48349ba56
Add sntp-time-sync example
2022-06-03 13:57:57 +01:00
Sergey Lyubka
0763146254
Fix #1476 - introduce c->is_full to cap the recv buf len for streaming connections
2022-06-03 11:37:35 +01:00
Sergio R. Caprile
7da5d42009
Merge pull request #1573 from cesanta/timers
...
Minor cosmetic changes
2022-06-02 10:06:41 -03:00
Sergey Lyubka
5ac847076a
Change long read_conn -> void read_conn
2022-06-02 14:02:09 +01:00
Sergey Lyubka
a88ea776a9
Change MG_MAX_RECV_BUF_SIZE -> MG_MAX_RECV_SIZE
2022-06-02 13:50:44 +01:00
Sergey Lyubka
73a5ff1fb6
Use only TFLAGS, get rid of EXTRA
2022-06-02 12:02:41 +01:00
Sergey Lyubka
7e8901c99f
Docs - amend images
2022-06-02 12:02:26 +01:00
Sergey Lyubka
45816ef5db
Add missing test file
2022-06-02 06:18:43 +01:00
Sergey Lyubka
fe682f8399
Fix #1560 - implement precompressed .gz file serving
2022-06-02 06:13:37 +01:00
Sergey Lyubka
9ffb6fb26a
Merge pull request #1570 from behnejad/patch-2
...
Update README.md
2022-06-01 21:17:52 +01:00
Sergey Lyubka
063244e4ca
Minor cosmetic changes
2022-06-01 21:15:31 +01:00
Sergey Lyubka
d7b7a0a577
Merge pull request #1572 from cesanta/timers
...
Modify times example
2022-06-01 17:22:24 +01:00
Sergey Lyubka
f735585239
Update timers example
2022-06-01 17:09:15 +01:00
Sergey Lyubka
30349ec217
Update timers example
2022-06-01 17:09:13 +01:00
Sergey Lyubka
55517d48ed
Change linux target
2022-06-01 16:25:04 +01:00
Behnejad
0f93ab84e9
Update README.md
...
after sending buffer to socket, MG_EV_WRITE will generated.
2022-06-01 14:36:17 +04:30
Sergey Lyubka
4dd1891594
Add mg_http_serve_opts.page404
2022-05-31 23:44:03 +01:00
Sergey Lyubka
27e1472d88
Merge pull request #1568 from behnejad/master
...
adding new api to enable separation of query string with '&'.
2022-05-31 18:25:12 +01:00
Sergey Lyubka
a3d63c095a
Handle #1562 - add udp/tcp extra param to mg_mkpipe()
2022-05-31 18:23:32 +01:00
Sergey Lyubka
dc486a2aa3
Add pics
2022-05-31 12:01:06 +01:00
Sergey Lyubka
9963bdee09
Docs images
2022-05-31 11:38:03 +01:00
Hooman Behnejad
499401d457
adding mg_split function
2022-05-31 14:11:14 +04:30
Sergey Lyubka
e2fcf5f92c
Fix #1565 - mg_snprintf %.*s with zero len printing
2022-05-30 18:40:44 +01:00
Sergey Lyubka
b8bba7513a
Fix #1566 - proper error cleanup in mg_listen
2022-05-30 17:56:50 +01:00
Sergey Lyubka
65957527cb
Fix #1558 - add opts.extra_headers in 304 responses
2022-05-30 17:44:26 +01:00
Sergey Lyubka
e2ce68e3ef
Fix build: delete -> del
2022-05-30 16:20:14 +01:00
Sergey Lyubka
44cf02e5ba
Fix #1545 - do not send MG_EV_HTTP_MSG if chunks were deleted
2022-05-30 16:02:59 +01:00
Sergey Lyubka
a4a70270ee
Merge pull request #1564 from behnejad/patch-1
...
Update README.md
2022-05-30 14:32:17 +01:00
Behnejad
82e1cac1c7
Update README.md
...
added missing parameter in sample code of `mg_match`.
2022-05-29 18:22:56 +04:30
Sergey Lyubka
21ffe8e3f3
docs
2022-05-29 12:59:33 +01:00
Sergey Lyubka
45f20d5089
Update http_message diagram
2022-05-29 12:03:54 +01:00
Sergey Lyubka
cea12a35b7
Merge pull request #1563 from vkoskiv/fix-docs
...
Small fix to mg_timer_add() documentation
2022-05-28 18:28:27 +01:00
Sergey Lyubka
686320a805
Remove verbose log in mg_iotest()
2022-05-27 23:18:23 +01:00
Sergey Lyubka
14ad51d2d2
More SNtp debug 12
2022-05-27 22:47:12 +01:00
Sergey Lyubka
28c15b3ff4
More SNtp debug 11
2022-05-27 22:36:34 +01:00
Sergey Lyubka
f5af28c886
More SNtp debug 10
2022-05-27 22:26:17 +01:00
Sergey Lyubka
6b50039863
More SNtp debug 9
2022-05-27 22:24:45 +01:00
Sergey Lyubka
34c5f63c00
More SNtp debug 8
2022-05-27 22:18:14 +01:00
Sergey Lyubka
53bca4efab
More SNtp debug 7
2022-05-27 22:08:05 +01:00
Sergey Lyubka
9029593691
More SNtp debug 6
2022-05-27 21:59:13 +01:00
Sergey Lyubka
4aad859e20
More SNtp debug 5
2022-05-27 21:44:03 +01:00
Sergey Lyubka
b9d1d4a94f
More SNtp debug 4
2022-05-27 20:48:19 +01:00
Sergey Lyubka
be8b01e289
More SNtp debug 4
2022-05-27 20:43:30 +01:00
Sergey Lyubka
360dedd9b2
More SNtp debug 3
2022-05-27 20:39:37 +01:00
Sergey Lyubka
e5d3d02307
More SNtp debug
2022-05-27 20:16:08 +01:00
Sergey Lyubka
d3e14ca7e5
More SNTP debug 3
2022-05-27 20:05:14 +01:00
Sergey Lyubka
5998208449
More SNTP debug
2022-05-27 19:57:15 +01:00
Sergey Lyubka
4fc84621ae
More SNTP debug
2022-05-27 19:55:39 +01:00
Valtteri Koskivuori
8253a84689
Small fix to mg_timer_add() documentation
...
The return value was not documented.
2022-05-26 23:43:56 +03:00
Sergey Lyubka
6b7f14c69d
docs
2022-05-26 20:25:20 +01:00
Sergey Lyubka
cfaca604f5
Debug SNTP issue 2
2022-05-26 17:50:56 +01:00
Sergey Lyubka
0226b9db31
Debug SNTP issue
2022-05-26 17:45:52 +01:00
Sergey Lyubka
7f8d12b9f7
Use time.windows.com too
2022-05-26 16:22:44 +01:00
Sergey Lyubka
2ae341cf5e
Add nucleo-f746zg-baremetal
2022-05-26 13:53:36 +01:00
Sergey Lyubka
7850b550d8
Unbreak test
2022-05-26 11:18:36 +01:00
Sergey Lyubka
10596a8bdc
Proper TLS handling for poll(). Make poll() default on linux
2022-05-26 08:55:28 +01:00
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
Sergey Lyubka
84480f4072
Fix #1539 - proper timer cleanup
2022-05-10 07:38:03 +01:00
Sergey Lyubka
b82953405d
Fix valgrind test
2022-05-09 19:11:27 +01:00
Sergey Lyubka
5271626947
Disable SSI by default
2022-05-08 21:54:15 +01:00
Sergey Lyubka
bc16854ccb
Get rid of MG_ENABLE_LOG, change mg_hexdump()
2022-05-06 21:09:13 +01:00
Sergey Lyubka
6db0485c7b
Set c->loc for accepted and UDP connections
2022-05-06 20:19:40 +01:00
Sergey Lyubka
b5fc0d30a8
Add extraconnsize
2022-05-04 17:18:35 +01:00
Sergey Lyubka
38557aac7f
Add MG_ARCH_NEWLIB
2022-05-01 13:47:33 +01:00
Sergey Lyubka
d621fbfab1
Remove unused macros
2022-05-01 08:18:18 +01:00
Sergey Lyubka
f19eec7fae
Refactor multithreading API
2022-04-25 14:56:15 +01:00
Sergey Lyubka
8174842b05
docs
2022-04-24 11:39:54 +01:00
Sergey Lyubka
ff07d261b2
docs
2022-04-24 11:37:23 +01:00
Sergey Lyubka
c55db8a895
docs
2022-04-24 11:33:47 +01:00
Sergey Lyubka
70a9554b72
docs
2022-04-24 11:26:25 +01:00
Sergey Lyubka
bdd7d92108
Fix #1533 - fix iotest error on windows
2022-04-22 20:53:54 +01:00
Sergey Lyubka
a7cbc19755
Fix #1532 - improve ipv6 DNS lookup
2022-04-22 20:44:53 +01:00
Sergey Lyubka
93ff3e4d1f
Add message sequence test
2022-04-21 03:13:31 +01:00
Sergey Lyubka
1dfc748e87
Add message sequence test
2022-04-21 02:50:50 +01:00
Sergey Lyubka
e1f17a7ff1
Merge pull request #1531 from zudwalex/fix_tests
...
Fix zephyr tests
2022-04-20 11:38:00 +01:00
Alex Alashkin
56c40ff0fd
Fix zephyr tests
2022-04-20 09:28:36 +03:00
Sergey Lyubka
9dd3b75165
Handle #1529 - do not mark normal conn termination as an error
2022-04-19 20:28:10 +01:00
Sergey Lyubka
20fc8f0279
Handle #1529 : add automatic linkage against ws2_32.lib on _WIN32 targets
2022-04-19 18:51:28 +01:00
Sergey Lyubka
944704a12d
Fix #1528 : pack.c build on Win32
2022-04-19 18:46:29 +01:00
Sergey Lyubka
fba9f14b2c
Merge pull request #1526 from zudwalex/zephyr3
...
Add Zephyr build to Github actions
2022-04-19 09:03:30 +01:00
Alex Alaskin
a7c24aeeee
Add Zephyr build to Github actions
2022-04-13 19:54:08 +03:00
Sergey Lyubka
186eb998ba
Adjust to timer API change, add root makefile
2022-04-13 14:03:00 +01:00
Sergey Lyubka
d630ba743d
Merge pull request #1524 from zudwalex/zephyr2
...
Add Zephyr examples
2022-04-13 11:17:22 +01:00
Sergey Lyubka
e9fabdcc96
Handle #1523 - multiple WS messages
2022-04-13 11:14:57 +01:00
Sergey Lyubka
31698678fb
Squash warning
2022-04-13 10:52:06 +01:00
Sergey Lyubka
ebd2e89faa
Handle #1522 - Fix TLS buffering
2022-04-13 10:48:17 +01:00
Alex Alashkin
17e0fb1c15
Add Zephyr examples
2022-04-13 11:10:22 +03:00
Sergey Lyubka
6e3e77a1a0
Enhance http-streaming-client
2022-04-12 19:06:37 +01:00
Sergey Lyubka
ef44f90491
Fix #1520 - move state to struct mg_mgr
2022-04-12 14:14:55 +01:00
Sergey Lyubka
66376885e9
Fix #1521 - add mg_tou64()
2022-04-12 10:20:43 +01:00
Sergey Lyubka
db941e2627
Fix #1519 - make opts structs in API calls const
2022-04-12 10:04:55 +01:00
Sergey Lyubka
5f78d34f4d
Fix #1513 - fix mg_strdup() documentation
2022-04-12 09:57:25 +01:00
Sergey Lyubka
85281ae128
Fix #1514 - explicitely initialize io in mg_iobuf_init()
2022-04-12 09:54:05 +01:00
Sergey Lyubka
e5d1b213c9
Merge pull request #1518 from jameshilliard/mqtt-suback
...
Ensure MQTT_CMD_SUBACK is received before calling mg_mqtt_pub in tests
2022-04-11 10:45:07 +01:00
James Hilliard
e4ab9a4130
Ensure MQTT_CMD_SUBACK is received before calling mg_mqtt_pub in tests
2022-04-07 19:11:51 -06:00
Sergey Lyubka
a1ec179229
Use uint64_t for uptime in millis, not int64_t
2022-04-07 13:50:25 +01:00
Sergey Lyubka
2f77855ec1
Handle #1502 - send CLOSE when CLOSE is received
2022-04-05 14:45:39 +01:00
Sergey Lyubka
d11173fe90
Fix #1510 - wrap X509_VERIFY_PARAM_set1_host() usage inside a conditional
2022-04-05 13:09:17 +01:00
Sergey Lyubka
fde8b82b78
Merge pull request #1507 from jameshilliard/mbedtls-reset
...
Handle MBEDTLS_ERR_NET_CONN_RESET errors
2022-04-05 13:06:06 +01:00
Sergey Lyubka
b20eded30e
Fix ESP32 example
2022-04-05 12:54:20 +01:00
James Hilliard
3ec17c41be
Handle MBEDTLS_ERR_NET_CONN_RESET errors
2022-04-04 17:17:17 -06:00
Sergey Lyubka
0ed64707f3
Introduce MG_ENABLE_CUSTOM_MILLIS
2022-04-04 18:14:59 +01:00
Sergey Lyubka
417533e90c
Merge pull request #1509 from jameshilliard/wakeup-conflict
...
Fix mg_mgr_wakeup conflicting types error
2022-04-04 09:16:34 +01:00
James Hilliard
e268affb5a
Fix mg_mgr_wakeup conflicting types error
2022-04-02 22:10:17 -06:00
Sergey Lyubka
4474ada291
Fix #1505 : let mg_wakeup() return status
2022-04-03 00:17:31 +01:00
Sergey Lyubka
a65c3288d8
Merge pull request #1508 from jameshilliard/mqtt-debug
...
Print mqtt buffer on error in tests
2022-04-03 00:11:25 +01:00
Sergey Lyubka
affcef7e37
Fix clean targets
2022-04-03 00:04:58 +01:00
James Hilliard
173c2ba338
Print mqtt buffer on error in tests
...
This test seems to fail randomly a lot, print the buffer on error to
make it easier to isolate issues.
2022-04-02 15:26:15 -06:00
Sergey Lyubka
b5fcf95b88
Enable mbedTLS
2022-04-01 21:33:09 +01:00
Sergey Lyubka
d954851d43
Drop CRL from mbedTLS integration - let customer do a custom init if required
2022-04-01 16:42:41 +01:00
Sergey Lyubka
df602c27d5
Disable SSI on Zephyr by default
2022-04-01 16:38:37 +01:00
Sergey Lyubka
3d9fa10485
Increase sock limit, fix multiple connections issue
2022-04-01 15:42:15 +01:00
Sergey Lyubka
6990040626
Set DNS error on UDP send error
2022-04-01 15:41:23 +01:00
Sergey Lyubka
b42ea6cd3c
Better logging
2022-04-01 15:41:03 +01:00
Sergey Lyubka
8c7fd8b330
Set default socket in mg_connect() to -1
2022-04-01 15:40:53 +01:00
Sergey Lyubka
4e0039625e
Remove cruft
2022-03-31 18:07:15 +01:00
Sergey Lyubka
6c909f8935
Disable SNTP
2022-03-31 18:02:29 +01:00
Sergey Lyubka
4f5d385e52
Enable SNTP in zephyr example
2022-03-31 17:42:09 +01:00
Sergey Lyubka
84fe1d87b3
Enable DHCP
2022-03-31 17:26:58 +01:00
Sergey Lyubka
bb0bc41f99
Add zephyr example skeleton
2022-03-31 16:58:27 +01:00
Sergey Lyubka
1c2d67ded7
Add missing arch_zephyr.h, add musl target
2022-03-30 09:06:00 +01:00
Sergey Lyubka
7372a05ce5
Add initial Zephyr support
2022-03-30 07:56:44 +01:00
Sergey Lyubka
642befa8d5
Remove unused mg_hmac_sha1()
2022-03-22 13:30:25 +00:00
Sergey Lyubka
3b5a9e2d4b
Add tests for mg_ws_wrap() and messages > 128 bytes
2022-03-22 12:46:55 +00:00
Sergey Lyubka
6b3d9d9baf
Add failed TLS host validation
2022-03-22 10:51:37 +00:00
Sergey Lyubka
436852d077
Enable TLS host validation in test_http_client()
2022-03-22 10:48:50 +00:00
Sergey Lyubka
b78ced4fa9
Honor hostname validation for openssl
2022-03-22 08:50:37 +00:00
Sergey Lyubka
1bc81df00e
Fix mg_dns_parse_name_depth()
2022-03-21 16:29:27 +00:00
Sergey Lyubka
bf025537b6
Merge pull request #1495 from jameshilliard/optimize-valgrind
...
Run valgrind tests with appropriate compiler optimizations.
2022-03-21 15:18:58 +00:00
Sergey Lyubka
ad4812218d
Handle #1497 - handshake format
2022-03-21 15:17:09 +00:00
Sergey Lyubka
0fbc4b8ff4
Reuse sock.c logic in mbedtls integration
2022-03-21 14:39:27 +00:00
Sergey Lyubka
7ef82f5caf
Add vc2017 target
2022-03-21 14:38:42 +00:00
Sergey Lyubka
1141ea7933
Add connection timeout
2022-03-20 18:50:01 +00:00
James Hilliard
1e9344161b
Run valgrind tests with appropriate compiler optimizations.
2022-03-18 13:51:05 -06:00
Sergey Lyubka
6c021765bb
Merge pull request #1479 from zudwalex/infineon_rtx_support
...
Add RTX-RTOS support
2022-03-18 09:18:49 +00:00
Sergey Lyubka
bc151af51d
Set IPv6=0 for valgrind test
2022-03-18 09:10:24 +00:00
Sergey Lyubka
8bd09e0e80
Add valgrind test
2022-03-18 09:03:18 +00:00
Sergey Lyubka
5978cb9703
Add valgrind test
2022-03-18 08:56:12 +00:00
Sergey Lyubka
8c447a95dd
Fix #1483 - add valgrind target, do not use stdlib strcasecmp()
2022-03-18 08:52:54 +00:00
Sergey Lyubka
870431dc1a
Enhance HTTP client example
2022-03-15 14:14:36 +00:00
Sergey Lyubka
1125b1f545
Fix #1490 - add winerror.h to fix old mingw build
2022-03-15 10:10:08 +00:00
Sergey Lyubka
d255fc737a
Fix mongoose.exe target
2022-03-15 10:03:00 +00:00
Sergey Lyubka
37cb51ee94
Fix #1488 - properly set non-blocking flags on accepted connections
2022-03-14 13:26:00 +00:00
Sergey Lyubka
02cabcc0ec
Fix busy loop in TLS case
2022-03-14 11:16:41 +00:00
Sergey Lyubka
3ffb6c046e
Merge branch 'master' of github.com:cesanta/mongoose
2022-03-11 15:40:22 +00:00
Sergey Lyubka
7bf8b81995
Fix mg_http_delete_chunk()
2022-03-11 15:38:59 +00:00
Sergey Lyubka
0ddda4a267
Merge pull request #1487 from jameshilliard/update-actions
...
Update actions/checkout@v2 to actions/checkout@v3
2022-03-08 12:06:08 +00:00
James Hilliard
c46ad970cb
Update actions/checkout@v2 to actions/checkout@v3
2022-03-06 21:59:25 -07:00
Sergey Lyubka
733abcffbc
Merge pull request #1485 from jameshilliard/fix-pack-rebuild
...
Regenerate pack file when dependencies are changed.
2022-03-06 16:50:03 +00:00
Sergey Lyubka
139f928731
Fix #1481 - use stricter compilation flags
2022-03-06 14:31:42 +00:00
James Hilliard
3da9986232
Regenerate pack file when dependencies are changed.
...
Should help prevent some spurious test failures due to stale
test/packed_fs.c file.
2022-03-02 10:12:48 -07:00
Sergey Lyubka
a284df01d1
Fix #1480 - use memmove instead of memcpy in mg_iobuf_resize()
2022-02-28 16:51:46 +00:00
Alex Alashkin
412f5cf3e0
Add RTX-RTOS support
2022-02-23 19:56:37 +02:00
Sergey Lyubka
42ba1e4aed
Fix #1473 - calm static analyzer
2022-02-23 13:34:20 +00:00
Sergey Lyubka
1893b06c13
Fix #1472 - calm static analyzer
2022-02-23 13:31:00 +00:00
Sergey Lyubka
b0cbb70e53
Fix #1471 - calm static analyzer
2022-02-23 13:30:14 +00:00
Sergey Lyubka
78e81fef27
Fix #1471 - calm static analyzer
2022-02-23 13:28:56 +00:00
Sergey Lyubka
dd08231a34
Fix #1470 - calm static analyzer
2022-02-23 13:25:25 +00:00
Sergey Lyubka
8c78b7ef53
Refactor mg_alloc_conn()
2022-02-23 10:51:01 +00:00
Sergey Lyubka
c650fdcdfc
Move mg_listen() to net.c
2022-02-23 03:06:02 +00:00
Sergey Lyubka
e99973d4b7
Introduce local address
2022-02-22 22:00:55 +00:00
Sergey Lyubka
4012a86bd8
Remove gitter chat link
2022-02-22 21:46:07 +00:00
Sergey Lyubka
048fee5c88
Fix build after mg_connect() move
2022-02-22 21:35:03 +00:00
Sergey Lyubka
a287fd97e4
Factor mg_connect() to net.c
2022-02-22 21:27:08 +00:00
Sergey Lyubka
3a249183f8
Factor out mg_alloc_conn()
2022-02-22 21:14:29 +00:00
Sergey Lyubka
393dad97e0
Get rid of ctype dependencies
2022-02-22 20:20:56 +00:00
Sergey Lyubka
113abc71d4
Add SPDX identifier. Fix #1387
2022-02-22 18:13:06 +00:00
Sergey Lyubka
63261ec0d5
Use mg_http_status()
2022-02-19 16:19:51 +00:00
Sergey Lyubka
507935d067
Tiny refactoring - move clearance of the c->is_resolving flag to the mg_connect_resolved()
2022-02-19 16:17:03 +00:00
Sergey Lyubka
c579b73f75
Update docs
2022-02-19 15:31:22 +00:00
Sergey Lyubka
e69ec148cc
Better mbedtls debug
2022-02-19 13:46:07 +00:00
Sergey Lyubka
a76ade9bb2
Update packed fs
2022-02-14 17:44:43 +00:00
Sergey Lyubka
4fec149345
Disable dirlist by default
2022-02-14 11:32:01 +00:00
Sergey Lyubka
5bc164de76
Remove MG_ENABLE_DIRLIST
2022-02-14 11:19:24 +00:00
Sergey Lyubka
969b84043c
Fix #1465 - rename LL_* constants, introduce MG_* log macros
2022-02-12 18:17:25 +00:00
Sergey Lyubka
da72dafbfb
Fix #1462 - add helper function for getting HTTP response status code.
2022-02-12 16:51:37 +00:00
Sergey Lyubka
1adf7f6b2b
Handle #1463 - add missing includes for windows
2022-02-12 16:43:08 +00:00
Sergey Lyubka
3e085ccbaa
Eliminate explicit _WIN32 checks
2022-02-12 14:33:43 +00:00
Sergey Lyubka
3e8e2ab513
Add optional zip cmd to pack.c
2022-02-12 14:28:02 +00:00
Sergey Lyubka
4f802ece52
Enhance mg_snrpintf tests
2022-02-11 18:15:34 +00:00
Sergey Lyubka
313ac34e59
Handle minus in the fmt spec
2022-02-11 11:02:06 +00:00
Sergey Lyubka
54f75889fa
Using mg_snprintf() everywhere
2022-02-10 17:11:03 +00:00
Sergey Lyubka
f64c86d23f
Use mg_snprintf()
2022-02-10 11:56:55 +00:00
Sergey Lyubka
9e634310b4
Use MG_EV_HTTP_CHUNK for streaming upload
2022-02-09 12:24:06 +00:00
Sergey Lyubka
33666e7d6b
Fix ESP32 example
2022-02-08 14:13:47 +00:00
Sergey Lyubka
40d4c7e410
Fix ESP32 example
2022-02-08 13:43:34 +00:00
Sergey Lyubka
8cd4699dbc
Rename FS API functions to avoid conflicts
2022-02-08 13:36:04 +00:00
Sergey Lyubka
49d5aff8f9
Call realpath() against root_dir only when there are no overrides
2022-02-01 11:10:01 +00:00
Sergey Lyubka
b2ee9cb363
Update docs
2022-01-29 11:12:31 +00:00
Sergey Lyubka
e9c20ad992
Update docs
2022-01-29 11:11:22 +00:00
Sergey Lyubka
63b880e624
Handle #1459 - deprecate mg_globmatch, introduce mg_match()
2022-01-29 11:03:54 +00:00
Sergey Lyubka
768f67ae0a
Fix #1458 - fail on example build error, and fix examples/mqtt-server
2022-01-27 12:10:03 +00:00
Sergey Lyubka
fbf5fa53c6
Refactor ff_open()
2022-01-25 10:50:08 +00:00
Sergey Lyubka
4a5824e7a7
Silence error in clean target
2022-01-24 13:07:56 +00:00
Sergey Lyubka
32f3c48b65
Fix FreeBSD build
2022-01-24 02:20:45 +00:00
Sergey Lyubka
f7fbcd2451
Disable leaks detection on macos
2022-01-23 06:58:06 +00:00
Sergey Lyubka
c6253854ba
Disable leaks detection on macos
2022-01-23 06:12:36 +00:00
Sergey Lyubka
544644e94b
Refactor - always enable LOG macro. Enhance iolog
2022-01-23 06:10:14 +00:00
Sergey Lyubka
f6cebf6956
Listen on INADDR_ANY by default
2022-01-22 17:03:27 +00:00
Sergey Lyubka
1b82aa02aa
7.5 -> 7.6
2022-01-21 12:41:52 +00:00
Sergey Lyubka
e565a7e73d
Fix #1453 - do not allow empty wakeup buffer
2022-01-21 12:35:28 +00:00
Sergey Lyubka
59c4dfa33b
Fix 1452 - byte order issue in mg_check_ip_acl
2022-01-21 12:24:58 +00:00
Sergey Lyubka
1a8e3c2e31
Decrese debug verbosity
2022-01-19 18:15:47 +00:00
Sergey Lyubka
226917e1cd
Use mg_str, not pointers, in mg_mqtt_{sub,pub}
2022-01-19 09:57:27 +00:00
Sergey Lyubka
fe813ee247
Add buf,len params to mg_mgr_wakeup()
2022-01-19 09:25:01 +00:00
Sergey Lyubka
4cd830a0bf
Improve ff_write - save large blocks in chunks
2022-01-19 08:43:34 +00:00
Sergey Lyubka
1259ca9ac9
Add missing mkdir() on ARM targets
2022-01-18 19:31:10 +00:00
Sergey Lyubka
d0857fe36c
Add mkdir to the FS API
2022-01-18 19:19:34 +00:00
Sergey Lyubka
56a7438114
Add fs arg to mg_file* and mg_http_upload API
2022-01-18 17:11:02 +00:00
Sergey Lyubka
09df542db8
Fix unamalgamated build
2022-01-18 08:02:41 +00:00
Sergey Lyubka
1df102ab93
Add Fat FS support
2022-01-18 07:44:30 +00:00
Sergey Lyubka
02b3b780bb
Add missing fs.c
2022-01-17 14:44:59 +00:00
Sergey Lyubka
f84f3da012
Change in FS API for fs->open() and fs->close()
2022-01-17 14:42:41 +00:00
Sergey Lyubka
c65c8fdaaa
Protect against the directory traversal in mg_upload()
2022-01-17 12:08:23 +00:00
Sergey Lyubka
b484123f1b
gcc and clang
2022-01-15 01:45:31 +00:00
Sergey Lyubka
b60119790e
Fix wrong memcmp usage in mg_url_port()
2022-01-14 12:45:55 +00:00
Sergey Lyubka
216427cea0
Cleanup suseconds_t usage
2022-01-14 12:33:06 +00:00
Sergey Lyubka
c53e2fcc14
Fix #1444 - clang warns on undefined behavior with null pointers
2022-01-14 09:55:15 +00:00
Sergey Lyubka
9fd80fd136
Fix #1445 - send error to a resolving connection when DNS error happens
2022-01-14 08:50:01 +00:00
Sergey Lyubka
5fc284722f
Fix #1448 - fix MG_ENABLE_FILE build
2022-01-14 08:21:12 +00:00
Sergey Lyubka
ad6e395da0
Fix #1447 - typo in mg_random()
2022-01-14 08:18:28 +00:00
Sergey Lyubka
6c79a406cd
Fix localtime_r and gmtmime_r signatures
2022-01-11 19:15:38 +00:00
Sergey Lyubka
456e8bd249
Use 3 params for fcntl()
2022-01-10 18:21:13 +00:00
Sergey Lyubka
de95f28598
Make stat and struct stat changeable
2022-01-10 18:07:45 +00:00
Sergey Lyubka
43405afdb2
Dont use ctype.h from str.h
2022-01-10 17:30:51 +00:00
Sergey Lyubka
97f95e17db
Better strategy for restoring multicast address
2022-01-07 18:40:48 +00:00
Sergey Lyubka
6725d61b3f
Re-init SSDP peer address before every search
2022-01-07 18:28:51 +00:00
Sergey Lyubka
ebda2cb100
Use sendto on Mac too
2022-01-07 16:31:29 +00:00
Sergey Lyubka
bb72b2494d
Fix unamalgamated target
2022-01-07 15:48:09 +00:00
Sergey Lyubka
3b0a509cae
Change mg_resolve()
2022-01-07 15:00:10 +00:00
Sergey Lyubka
2f981f9383
Skip connect() on UDP connection
2022-01-06 15:42:55 +00:00
Sergey Lyubka
fc3c08e411
Change mg_straddr() API
2022-01-05 19:09:11 +00:00
Sergey Lyubka
ff811f287a
Squash warnings
2022-01-05 13:57:30 +00:00
Sergey Lyubka
8ebb3bc37b
More detailed debug log - show ip/port for sender and receiver
2022-01-05 13:47:11 +00:00
Sergey Lyubka
f7ff571c5f
Added SSDP search example
2022-01-05 13:22:00 +00:00
Sergey Lyubka
6a82cbee71
Send MG_EV_WRITE for UDP messages
2022-01-05 13:03:56 +00:00
Sergey Lyubka
b0585bd0a9
Do not set c->label for DNS connections - let labels be user-only-settable
2022-01-05 11:46:26 +00:00
Sergey Lyubka
6ad4d242c2
Better cleanup
2022-01-05 11:45:22 +00:00
Sergey Lyubka
030b1d9826
Remove wrong comment
2021-12-27 03:31:33 +00:00
Sergey Lyubka
f6ffa7b3b9
Add huge-response example
2021-12-27 03:25:28 +00:00
Sergey Lyubka
137efe2233
Show requests in flight
2021-12-24 20:46:31 +00:00
Sergey Lyubka
62411d039e
Increase mqtt timeouts
2021-12-24 12:14:06 +00:00
novlean
54b1716e77
Merge pull request #1436 from cesanta/novlean-patch-1
...
Update README.md
2021-12-23 17:18:55 +00:00
novlean
9f7aba8039
Update README.md
2021-12-23 17:18:45 +00:00
Sergey Lyubka
a176b8d566
Upate docs w.r.t. mg_mqtt_opts
2021-12-23 11:12:10 +00:00
Sergey Lyubka
26a97ec36c
Fix #1434 - set will QoS in CONNECT message correctly, and rename qos -> will_qos in struct mg_mqtt_opts
2021-12-23 11:00:18 +00:00
Sergey Lyubka
f29807aad8
Resolve root path before serving to avoid double dots
2021-12-22 18:05:03 +00:00
Sergey Lyubka
92d3c7a4cd
Add realpath() for Win32
2021-12-22 18:04:36 +00:00
Sergey Lyubka
af3a0f6af0
Add realpath() for Win32
2021-12-22 18:04:27 +00:00
Sergey Lyubka
ce6164ca20
Fail stat() if S_ISDIR is not defined
2021-12-22 18:04:16 +00:00
Sergey Lyubka
e9fc3fcecf
Update event enum
2021-12-21 22:20:42 +00:00
Sergey Lyubka
25a1a24890
Fallback to time(0) in mg_millis()
2021-12-21 22:04:03 +00:00
Sergey Lyubka
bf7fc1d5a9
Amalgamate
2021-12-21 21:58:03 +00:00
Sergey Lyubka
2126b49ab3
Merge pull request #1433 from ryuukk/patch-2
...
Remove debugging left over
2021-12-21 21:56:41 +00:00
Sergey Lyubka
ae6767b1d2
Use int64_t for timers and mg_millis()
2021-12-21 21:50:18 +00:00
ryuukk
133629dbee
Remove debugging left over
2021-12-21 21:28:22 +01:00
Sergey Lyubka
fb0a9bc7e3
Fix build
2021-12-21 18:16:12 +00:00
Sergey Lyubka
2a3492766f
Remove mg_time() and mg_usleep()
2021-12-21 17:44:34 +00:00
Sergey Lyubka
2ec7e5653e
Merge branch 'master' of github.com:cesanta/mongoose
2021-12-21 17:40:04 +00:00
Sergey Lyubka
30bfb245f5
Make mongoose more bare-metal Keil friendly. Declare settings after arch. Introduce MG_ENABLE_FILE
2021-12-21 17:39:55 +00:00
Sergey Lyubka
84d89bc4f5
Merge pull request #1431 from ryuukk/patch-1
...
Closed WS connection is not an error for the logger
2021-12-21 08:47:21 +00:00
ryuukk
7f55fabfec
Closed WS connection is not an error for the logger
2021-12-21 01:34:48 +01:00
Sergey Lyubka
9e0f04dc8b
Add -S option
2021-12-20 16:35:16 +00:00
Sergey Lyubka
574c2954b3
Docs nitpick
2021-12-19 10:53:17 +00:00
Sergey Lyubka
9d38e26b81
Add MG_HTTP_INDEX build var
2021-12-17 13:54:01 +00:00
Sergey Lyubka
4e75a0c81e
7.4 -> 7.5
2021-12-17 13:34:32 +00:00
Sergey Lyubka
d311e967fa
Add mingw target
2021-12-16 09:22:28 +00:00
Sergey Lyubka
d0a6c111cb
Call MG_EV_ERROR with c->is_closing set
2021-12-15 11:31:42 +00:00
Sergey Lyubka
aa6d8b4662
Remove TLS custom_init() API
2021-12-15 11:04:43 +00:00
Sergey Lyubka
3f5fd89fd7
Pass more args to custom TLS init
2021-12-14 13:21:59 +00:00
Sergey Lyubka
f43a5a005c
Introduce custom TLS init function
2021-12-14 13:04:11 +00:00
Sergey Lyubka
755bf3c412
Split TLS files and introduce MG_ENABLE_CUSTOM_TLS
2021-12-14 12:42:41 +00:00
Sergey Lyubka
84f3fb0ba5
Move EXTERN_C to util.h
2021-12-14 12:11:05 +00:00
Sergey Lyubka
f2df6c114d
Example for mg_http_bauth
2021-12-13 15:14:29 +00:00
Sergey Lyubka
f93659e303
Merge branch 'master' of github.com:cesanta/mongoose
2021-12-13 15:08:14 +00:00
Sergey Lyubka
226404d39c
Example for mg_http_bauth
2021-12-13 15:08:05 +00:00
Sergey Lyubka
c1bcc143b9
Merge pull request #1417 from DavidKorczynski/cifuzz-integration
...
Add CIFuzz integration
2021-12-13 11:35:31 +00:00
Sergey Lyubka
5ca9062d45
Less verbose serve_dir
2021-12-07 15:23:02 +00:00
Sergey Lyubka
0b209eaabb
Add mg_http_get_header_var()
2021-12-03 09:54:03 +00:00
David Korczynski
47ef191ea2
Add CIFuzz integration
2021-11-30 22:48:20 +00:00
Sergey Lyubka
25e76d761e
Fix usage message
2021-11-29 14:00:03 +00:00
Sergey Lyubka
9731a51dae
Recognise :PORT as a valid URL
2021-11-29 13:57:33 +00:00
Sergey Lyubka
81220fa590
Remove noisy debug
2021-11-26 16:23:06 +00:00
Sergey Lyubka
24e8c4d81a
Increase SNMP test timeout
2021-11-25 17:31:41 +00:00
Sergey Lyubka
013520b0c0
Add note for mg_http_serve_dir()
2021-11-25 12:29:45 +00:00
Sergey Lyubka
f012bcb027
Update issue template
2021-11-25 11:47:26 +00:00
Sergey Lyubka
922e1ce529
Make captive portal work on Linux
2021-11-23 17:52:54 +00:00
Sergey Lyubka
7a707cc64b
Add README
2021-11-23 15:08:34 +00:00
Sergey Lyubka
1967acfef2
Make it build on vc98
2021-11-23 13:24:21 +00:00
Sergey Lyubka
e24cb04003
Update URL
2021-11-23 09:37:03 +00:00
Sergey Lyubka
67974746ff
Add json-rpc-over-ws example
2021-11-22 16:45:14 +00:00
Sergey Lyubka
8d916d41d7
Fix #1409 - remove VLA which confuses MSVC
2021-11-22 12:24:58 +00:00
Sergey Lyubka
08444e3942
Fix links and typos
2021-11-16 12:30:40 +00:00
Sergey Lyubka
9c41a0cd26
Fix links
2021-11-16 09:54:36 +00:00
Sergey Lyubka
2c50069d98
Do not clean the recv buffer
2021-11-14 16:47:40 +00:00
Sergey Lyubka
31059f6728
Add test.html
2021-11-14 14:31:51 +00:00
Sergey Lyubka
2000752b2c
Remove dead code
2021-11-11 15:15:47 +00:00
Sergey Lyubka
dd34830443
Update README
2021-11-11 15:11:57 +00:00
Sergey Lyubka
c58f4ee51b
Add symlinks
2021-11-11 14:21:52 +00:00
Sergey Lyubka
00f7e8cb2a
Support wildcards
2021-11-11 12:08:17 +00:00
Sergey Lyubka
439904e27f
Add signal handler
2021-11-11 10:35:41 +00:00
Sergey Lyubka
4d6590ece2
Add readme
2021-11-11 10:29:16 +00:00
Sergey Lyubka
9b0c4b970d
Add README.md
2021-11-11 08:26:31 +00:00
Sergey Lyubka
a80ce1b12a
Add signal handler
2021-11-11 07:36:25 +00:00
Sergey Lyubka
57dd74c180
Add reconnection logic
2021-11-10 12:57:02 +00:00
Sergey Lyubka
90c67e4226
Reformatting for better readability
2021-11-06 11:29:56 +00:00
Sergey Lyubka
093cd6a6a3
Fix FD_CLOEXEC setting
2021-11-05 13:30:12 +00:00
Sergey Lyubka
975db86306
Add READMEs
2021-11-05 13:02:36 +00:00
Sergey Lyubka
eba688e11b
Update docs
2021-11-04 23:07:47 +00:00
Sergey Lyubka
05b44204d5
Set FD_CLOEXEC properly
2021-11-04 18:28:32 +00:00
Sergey Lyubka
0bb017c1d5
Add examples/mqtt-client-aws-iot
2021-11-03 20:58:57 +00:00
Sergey Lyubka
a6efd0b335
Merge branch 'master' into dec
2021-11-02 22:43:59 +00:00
Sergey Lyubka
c3d237e9c6
More verbose log
2021-11-02 22:43:23 +00:00
Sergey Lyubka
09d28f5570
Print a clarifying message at start
2021-11-02 16:53:57 +00:00
Sergey Lyubka
ba02937ec6
Squash warnings
2021-11-02 16:40:25 +00:00
Sergey Lyubka
3d78b14deb
Fix #1396 - JS sorting code for dir listing
2021-11-02 16:01:06 +00:00
Sergey Lyubka
f558551d1d
Fix #1395 - show decoded URI in dir listing
2021-11-02 15:11:56 +00:00
Sergey Lyubka
12fe66370f
Fix #1393 - cleanup mime types
2021-11-01 20:31:45 +00:00
Sergey Lyubka
423aaa492c
Fix #1394 - mg_mqtt_sub(). Add MG_EV_OPEN, too.
2021-11-01 16:20:00 +00:00
Sergey Lyubka
2016586475
Clearer client init
2021-11-01 13:29:44 +00:00
Sergey Lyubka
bf88167152
Add missing test files
2021-10-31 12:50:06 +00:00
Sergey Lyubka
52be84f04e
Add user and pass to struct mg_mqtt_opts
2021-10-31 12:48:32 +00:00
Sergey Lyubka
03d187b147
Fix #1375 - change event processing order
2021-10-31 12:40:56 +00:00
Sergey Lyubka
3329047579
More explicit check on hm->uri.len
2021-10-31 12:37:40 +00:00
Sergey Lyubka
86c70e5abb
Fix #1391 - make remove_double_dots less aggressive
2021-10-31 12:36:34 +00:00
Sergey Lyubka
b17f4108ea
Change MG_PATH_MAX for ESP8266
2021-10-30 19:34:53 +01:00
Sergey Lyubka
4e523cc455
Remove binary section
2021-10-27 20:13:05 +01:00
Sergey Lyubka
49c9be9159
Set MG_IO_SIZE -> 128
2021-10-27 19:20:52 +01:00
Sergey Lyubka
f1bfe0760f
Optimise TLS read
2021-10-27 19:18:44 +01:00
Sergey Lyubka
35f02fdaad
Use small IO buffer
2021-10-27 19:18:19 +01:00
Sergey Lyubka
6ac09966ba
Fix #1374 - fix ESP32 build
2021-10-22 22:06:10 +01:00
Sergey Lyubka
af9a7617f5
Merge pull request #1381 from ptsolakos/master
...
Certificate revocation checking when using mbedtls
2021-10-22 20:30:47 +01:00
Sergey Lyubka
42c89732c8
Remove private.h
2021-10-22 19:41:26 +01:00
Sergey Lyubka
054475ddbf
Fix #1376 - handle comma for unquoted header vars
2021-10-22 14:33:51 +01:00
Sergey Lyubka
126d556d6a
Merge pull request #1380 from jameshilliard/fix-time
...
util: Actually return uptime on OSX/Linux for mg_millis
2021-10-22 14:06:44 +01:00
Sergey Lyubka
529a302e77
Merge pull request #1379 from jameshilliard/fix-sntp
...
sntp: Don't set Leap Indicator in client messages.
2021-10-22 14:04:54 +01:00
Sergey Lyubka
acbf978452
Merge pull request #1378 from jameshilliard/undef
...
Fix some undefined macro warnings.
2021-10-22 14:03:42 +01:00
Sergey Lyubka
90b22716ea
Merge branch 'master' into undef
2021-10-22 14:03:25 +01:00
Sergey Lyubka
fb90c504a6
Remove private.h
2021-10-22 14:00:31 +01:00
Sergey Lyubka
65fd834654
Increate mqtt test timeout
2021-10-22 13:58:51 +01:00
Sergey Lyubka
a84acf5b8b
Merge pull request #1385 from zudwalex/move_stm32_examples
...
Move STM32 examples to stm32 folder
2021-10-22 13:39:13 +01:00
Sergey Lyubka
e9505db146
Merge pull request #1384 from zudwalex/master
...
Add more NXP examples and move them to nxp folder
2021-10-22 13:39:02 +01:00
Sergey Lyubka
4fb49b011e
Merge pull request #1377 from jameshilliard/missing-prototypes
...
Make private functions static and add missing prototypes.
2021-10-22 13:16:06 +01:00
Alex Alashkin
6742991469
Move STM32 examples to stm32 folder
2021-10-22 14:19:50 +03:00
Alex Alashkin
2430cc5aac
Add more NXP examples and move them to nxp folder
2021-10-22 14:04:15 +03:00
Sergey Lyubka
54590aaf26
Use UDP sendto() on win32 only
2021-10-22 09:14:18 +01:00
Sergey Lyubka
7c5e67b272
Fix #1382 - use sendto for UDP send
2021-10-22 08:56:45 +01:00
Sergey Lyubka
c62c8ea4dd
Correct licensing URL
2021-10-20 10:04:49 +01:00
Panagiotis Tsolakos
383653d608
mbedtls CRL support
...
Certificate revocation checking when using mbedtls
2021-10-14 17:56:31 +02:00
James Hilliard
001dc3f33d
util: Actually return uptime on OSX/Linux for mg_millis
...
The documentation for mg_millis indicates it will:
Return current uptime in milliseconds.
So we should use API's that actually return uptime.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-13 17:06:18 -06:00
James Hilliard
37d45b3fbb
sntp: Don't set Leap Indicator in client messages.
...
Per RFC4330:
This field is significant only in server messages
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-13 16:48:33 -06:00
James Hilliard
f72b8c6034
Fix some undefined macro warnings.
...
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-13 13:06:00 -06:00
James Hilliard
c11e5a9383
Make private functions static and add missing prototypes.
...
Fixes:
mongoose/mongoose.c:180:8: warning: no previous prototype for ‘mg_dns_parse_name’ [-Wmissing-prototypes]
180 | size_t mg_dns_parse_name(const uint8_t *s, size_t n, size_t ofs, char *dst,
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:306:6: warning: no previous prototype for ‘mg_dns_send’ [-Wmissing-prototypes]
306 | void mg_dns_send(struct mg_connection *c, const struct mg_str *name,
| ^~~~~~~~~~~
mongoose/mongoose.c:925:6: warning: no previous prototype for ‘mg_http_parse_headers’ [-Wmissing-prototypes]
925 | void mg_http_parse_headers(const char *s, const char *end,
| ^~~~~~~~~~~~~~~~~~~~~
mongoose/mongoose.c:1125:7: warning: no previous prototype for ‘mg_http_etag’ [-Wmissing-prototypes]
1125 | char *mg_http_etag(char *buf, size_t len, size_t size, time_t mtime) {
| ^~~~~~~~~~~~
mongoose/mongoose.c:2578:6: warning: no previous prototype for ‘mg_sha1_transform’ [-Wmissing-prototypes]
2578 | void mg_sha1_transform(uint32_t state[5], const unsigned char buffer[64]) {
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:2976:8: warning: no previous prototype for ‘mg_open_listener’ [-Wmissing-prototypes]
2976 | SOCKET mg_open_listener(const char *url, struct mg_addr *addr) {
| ^~~~~~~~~~~~~~~~
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-12 20:18:11 -06:00
Sergey Lyubka
b5147a149e
Merge pull request #1373 from zudwalex/fix_board_ci
...
Use mongoose.[ch] from main repo
2021-10-06 12:31:27 +01:00
Alex Alashkin
655529f30b
Use mongoose.[ch] from parent repo
2021-10-06 13:15:12 +03:00
novlean
fd5319e0ce
Merge pull request #1372 from cesanta/novlean-patch-1
...
license
2021-10-05 17:09:43 +01:00
novlean
f8c84ca672
license
2021-10-05 17:09:35 +01:00
novlean
1b81ac8916
Merge pull request #1371 from cesanta/novlean-patch-1
...
mongoose.ws
2021-10-05 16:54:43 +01:00
novlean
c64e2ebb16
mongoose.ws
2021-10-05 16:54:34 +01:00
Sergey Lyubka
3771f2c088
Merge branch 'master' of github.com:cesanta/mongoose
2021-10-04 19:47:34 +01:00
Sergey Lyubka
6d398bd5c7
Fix mg_random() for ESP32
2021-10-04 19:47:24 +01:00
Sergey Lyubka
5c355a5ff3
Merge pull request #1368 from zudwalex/nxp_examples
...
Add NXP examples
2021-10-04 12:04:00 +01:00
Alex Alashkin
d2f8b346e6
Add nxp to actions
2021-10-04 13:15:32 +03:00
Alex Alashkin
5cdaa931f9
Add NXP examples
2021-10-04 12:54:15 +03:00
Sergey Lyubka
693863a51e
Merge pull request #1366 from zudwalex/fix_rtos_lwip
...
Add missed include for FreeRTOS/LwIP arch
2021-10-02 22:45:08 +01:00
Sergey Lyubka
a204c80308
Update ca.pem links
2021-10-01 09:25:34 +01:00
Sergey Lyubka
7d620965e2
Update ca.pem: DST root CA has expired
2021-10-01 09:22:49 +01:00
Sergey Lyubka
0149654791
Update README
2021-10-01 08:26:34 +01:00
Sergey Lyubka
f08d280429
Version 7.4
2021-09-30 13:35:44 +01:00
Sergey Lyubka
6fbb749431
7.4 -> 7.5
2021-09-30 13:34:55 +01:00
Alex Alashkin
bc7178e5f7
Add missed include
2021-09-29 12:25:25 +03:00
Sergey Lyubka
61070d136d
Add nxp-mimxrt1020-azurertos to Actions
2021-09-27 13:55:19 +01:00
Sergey Lyubka
ea85f93e37
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-27 13:52:59 +01:00
Sergey Lyubka
46029c501a
Fix #1359 - add conditional for MSVC, _DEBUG and strdup
2021-09-27 13:52:39 +01:00
Sergey Lyubka
78e1fdd1c9
Merge pull request #1365 from zudwalex/mimxrt1020_example
...
Add NXP MIMXRT1020 AzureRTOS example
2021-09-27 11:50:48 +01:00
Alex Alashkin
9ef5c7c667
Add NXP MIMXRT1020 AzureRTOS example
2021-09-27 11:12:15 +03:00
Sergey Lyubka
cdf279e438
Merge pull request #1358 from yermin/master
...
makes it more readable
2021-09-27 09:00:11 +01:00
Sergey Lyubka
cdd192abe4
Merge pull request #1363 from tophatgeeks/patch-1
...
Update README - Jordan Ramsey Edits.md
2021-09-27 08:44:42 +01:00
Sergey Lyubka
9af6f4b02e
Merge pull request #1360 from zudwalex/azure_basics
...
Add AzureRTOS basic support
2021-09-27 08:39:15 +01:00
Alex Alashkin
d86ceecd8c
Add AzureRTOS basic support
2021-09-26 10:25:44 +03:00
yermin
8f693b92a7
makes it more readable
...
Signed-off-by: yermin <yermin@buaa.edu.cn >
2021-09-24 11:30:21 +08:00
tophatgeeks
6b1ff37cf3
Update README.md
...
I have gone through and edited for consistency, punctuation, wording, and grammar. If you have questions feel free to reach out. I fixed some spelling errors "if" instead of "is" "update" instead of "updatw", etc.
-Jordan Ramsey
2021-09-23 12:07:00 -04:00
Sergey Lyubka
c490ff8ae7
Fix typo
2021-09-22 20:38:28 +01:00
Sergey Lyubka
f73ebbf689
Fix #1354 - report correct errno in mg_open_listener()
2021-09-22 18:52:42 +01:00
Sergey Lyubka
1928ba9c1f
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-22 11:51:26 +01:00
Sergey Lyubka
ad3655fb92
Docs spelling
2021-09-22 11:51:16 +01:00
novlean
29e0158689
Merge pull request #1355 from cesanta/novlean-patch-1
...
2021
2021-09-21 18:07:33 +01:00
novlean
aaf55b6da0
2021
2021-09-21 18:02:11 +01:00
Sergey Lyubka
90a131bd29
Include ipv6 wrapping brackets [] in the result of mg_url_host()
2021-09-21 08:10:27 +01:00
Sergey Lyubka
8652006aea
Remove dead code
2021-09-20 12:26:09 +01:00
Sergey Lyubka
2139fbc4b7
Support multiple web roots
2021-09-20 12:24:44 +01:00
Sergey Lyubka
2b48e8b03a
Send suback
2021-09-18 20:56:56 +01:00
Sergey Lyubka
a7afea0963
Handle ipv4-mapped addresses
2021-09-18 19:38:59 +01:00
Sergey Lyubka
9d1e61de93
Update docs
2021-09-17 15:59:15 +01:00
Sergey Lyubka
9b6b1a68f4
Add MQTT version check
2021-09-17 14:02:29 +01:00
Sergey Lyubka
c7bd63ef53
Fix #1351 - squash warning
2021-09-17 11:07:20 +01:00
Sergey Lyubka
40b3382023
Enable WS data size check
2021-09-17 10:56:58 +01:00
Sergey Lyubka
a70c5e726d
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-16 11:17:02 +01:00
Sergey Lyubka
409fdaec59
Rename posix_* -> p_* to avoid build conflict on linux
2021-09-16 11:16:10 +01:00
Sergey Lyubka
372aa369c4
Merge pull request #1350 from zudwalex/mg_parameters_retval
...
Add parameters descriptions to documentation
2021-09-15 20:51:18 +01:00
Alex Alashkin
eb94704d8d
Add params and retvals
2021-09-15 22:18:44 +03:00
Sergey Lyubka
894a168833
Get rid of fs->realpath
2021-09-15 07:43:48 +01:00
Sergey Lyubka
f3eb466af3
Update docs
2021-09-15 07:43:24 +01:00
Sergey Lyubka
df848973dc
Fix unamalgamated target
2021-09-14 12:27:02 +01:00
Sergey Lyubka
f37e5ecc38
WS frame len sanity check
2021-09-14 10:26:03 +01:00
Sergey Lyubka
6316609a5f
Show log level
2021-09-13 13:48:02 +01:00
Sergey Lyubka
dca08d32bd
Fix URL
2021-09-13 13:47:49 +01:00
Sergey Lyubka
2b287f50f1
Add gitter badge
2021-09-02 10:28:16 +01:00
Sergey Lyubka
acf58972f7
Fix posix_open()
2021-09-02 10:20:55 +01:00
Sergey Lyubka
5bf5516b29
struct iobuf doc
2021-08-30 13:06:45 +01:00
Sergey Lyubka
40b99e3751
Print openssl error on TLS error
2021-08-30 11:45:30 +01:00
Sergey Lyubka
28a56370d4
Fix zeromem() call in mg_iobuf_del()
2021-08-30 11:39:19 +01:00
Sergey Lyubka
e3589577ed
Update OpenSSL handshake error codepath
2021-08-29 16:54:24 +01:00
Sergey Lyubka
38beb4cbc0
Update readme
2021-08-28 22:00:46 +01:00
Sergey Lyubka
167af7f160
docs update
2021-08-28 20:27:55 +01:00
Sergey Lyubka
7d91885413
Update docs
2021-08-28 11:16:45 +01:00
Sergey Lyubka
0de83157dc
Update docs
2021-08-28 08:52:41 +01:00
Sergey Lyubka
cc9639b3cb
Update docs
2021-08-28 08:48:47 +01:00
Sergey Lyubka
cb0ac1868f
Update docs
2021-08-28 08:46:01 +01:00
Sergey Lyubka
e653147119
Merge pull request #1344 from timgates42/bugfix_typo_priority
...
docs: fix simple typo, priorty -> priority
2021-08-28 08:37:26 +01:00
Sergey Lyubka
f3d15a0440
Update docs
2021-08-28 08:25:31 +01:00
Sergey Lyubka
0bc736d384
Update docs
2021-08-28 08:23:33 +01:00
Sergey Lyubka
3bf7b817f6
Update docs
2021-08-28 08:21:29 +01:00
Sergey Lyubka
477e48bf54
mg_iobuf_append -> mg_iobuf_add
2021-08-28 08:08:54 +01:00
Sergey Lyubka
913e730ec2
mg_iobuf_delete -> mg_iobuf_del
2021-08-28 07:16:38 +01:00
Sergey Lyubka
bd64043377
mg_comma -> mg_commalist
2021-08-28 06:54:56 +01:00
Tim Gates
9f827feeaa
docs: fix simple typo, priorty -> priority
...
There is a small typo in examples/stm32-freertos-tcp/stm32f7/core_cm7.h.
Should read `priority` rather than `priorty`.
2021-08-28 07:46:08 +10:00
Sergey Lyubka
714b7a8145
Handle WS fragmentation
2021-08-27 10:25:24 +01:00
Sergey Lyubka
7ba6fda236
Add stm32-nucleo-h743z and stm32-nucleo-f429z
2021-08-26 11:40:47 +01:00
Sergey Lyubka
fc9c454518
Add mg_check_ip_acl()
2021-08-25 07:59:31 +01:00
Sergey Lyubka
1c456fc2df
mg_next_comma_entry -> mg_comma
2021-08-23 16:54:58 +01:00
Sergey Lyubka
9b37ac384f
Merge pull request #1341 from lnksz/bugfix-1340-http_chunked
...
Fix #1340 : Long HTTP Chunks
2021-08-23 14:50:39 +01:00
Sergey Lyubka
99b279d5e5
Add examples/stm32-nucleo-f746z
2021-08-23 10:38:11 +01:00
Kristof Havasi
4d07a99ee2
Fix bug in long HTTP chunk handling
...
Due to a copy/paste error, the start of the payload in the latest parsed
chunk was compared to chunk-length of the terminating chunk (5 chars).
So only chunks were parsed as expected, which also had a single hex
digit length.
2021-08-23 08:50:58 +02:00
Kristof Havasi
f6f0e49de4
Add failing test for HTTP chunk
...
This test would have caught #1340 : handling chunks longer than 15 chars
2021-08-23 08:19:46 +02:00
Sergey Lyubka
07568a8f06
Docs nits
2021-08-22 10:51:40 +01:00
Sergey Lyubka
71e9019211
Docs nitpicks
2021-08-20 20:31:32 +01:00
Sergey Lyubka
0937213f4b
Merge pull request #1336 from zudwalex/freertos_lwip_support
...
Update FREERTOS + LWIP support
2021-08-12 12:57:06 +01:00
Sergey Lyubka
6c42350fcf
docs
2021-08-12 12:24:28 +01:00
Alex Alashkin
453d4be4d0
Update FREERTOS + LWIP support
2021-08-12 13:54:43 +03:00
Sergey Lyubka
104c4fab19
More docs
2021-08-11 19:24:33 +01:00
Sergey Lyubka
fd5eb2d3f9
Refactor mg_mkpipe()
2021-08-11 19:17:04 +01:00
Sergey Lyubka
8b770d2a0d
Fix #1334 - typo in mg_call(..MG_EV_WS_OPEN) call
2021-08-11 04:52:39 +01:00
Sergey Lyubka
b739aa89f1
Update readme
2021-08-09 09:43:21 +01:00
Sergey Lyubka
11c07470bb
Refactor UDP handling
2021-08-07 22:55:13 +01:00
Sergey Lyubka
76865cbe14
Fix STM32 build
2021-08-07 17:52:51 +01:00
Sergey Lyubka
b7ce8213d7
Better multithreading support: remove mg_socketpair, add mg_mkpipe() and mg_rmpipe()
2021-08-07 17:22:47 +01:00
Sergey Lyubka
86f43cd8d6
Refactor mg_socketpair and document MG_ENABLE_NATIVE_SOCKETPAIR
2021-08-06 10:23:08 +01:00
Sergey Lyubka
2407509ce0
More detailed environment questions
2021-08-05 10:49:24 +01:00
Sergey Lyubka
47ce072af7
Fix #1331 - add comment about order of operations in conn_close()
2021-08-05 10:39:24 +01:00
Sergey Lyubka
c2c6ff11ed
Fix #1329 - send MG_EV_WS_OPEN for server connections
2021-08-04 11:38:32 +01:00
Sergey Lyubka
9b18a6350a
Make ws_upgrade() respond with error if request is not and upgrade
2021-08-03 23:37:50 +01:00
Sergey Lyubka
a36050ab4b
Fix #1326 - spelling errors
2021-08-02 00:23:01 +01:00
Sergey Lyubka
568484f079
Fix #920 - add MQTT over Websocket client example
2021-08-01 14:10:21 +01:00
Sergey Lyubka
3ea4f1fda8
Merge pull request #1324 from ignacionr/fix/issue-1323
...
allow for in-url colon, when port is not specified
2021-07-31 22:30:04 +01:00
Sergey Lyubka
5366844581
Fix #1325 - squash gcc 10 warning, and optimise casts
2021-07-31 22:26:43 +01:00
Ignacio Rodriguez
e52a6184c4
test and fix
2021-07-30 12:34:55 -05:00
Sergey Lyubka
b40b1232cc
Enhance packed fs serving
2021-07-30 17:41:23 +01:00
Sergey Lyubka
3a46055e52
Better packed test
2021-07-30 13:19:20 +01:00
Sergey Lyubka
2af5d07467
Fix stm32 GA
2021-07-29 14:28:20 +01:00
Sergey Lyubka
c2176f969b
Implement FS virtualization
2021-07-29 14:21:20 +01:00
Sergey Lyubka
9346122c29
Add FS API layer
2021-07-28 21:11:07 +01:00
Sergey Lyubka
b98556a4dc
Enable mg_fopen_packed on ARM
2021-07-27 09:54:45 +01:00
Sergey Lyubka
55d102e450
Enable mg_fopen_packed in newlib
2021-07-27 09:50:11 +01:00
Sergey Lyubka
dfc22af10f
Run docker non-interactive
2021-07-26 18:18:29 +01:00
Sergey Lyubka
2d585474c1
Add riscv target, enhance arm target
2021-07-26 11:00:37 +01:00
Sergey Lyubka
53ee984eb7
Fix mg_prefix test
2021-07-26 09:26:52 +01:00
Sergey Lyubka
bdb747f9de
Fix mg_prefix test
2021-07-26 09:15:17 +01:00
Sergey Lyubka
299075c930
Add test for fopen_packed()
2021-07-26 09:05:34 +01:00
Sergey Lyubka
b0e0247b21
Add ascii to the packed data
2021-07-25 21:08:02 +01:00
Sergey Lyubka
35abd695cd
Add packed FS
2021-07-25 10:22:56 +01:00
Sergey Lyubka
df2ffd1187
Refactor serve dir even more
2021-07-24 22:00:37 +01:00
Sergey Lyubka
b378082ec4
Refactor mg_http_serve_dir()
2021-07-24 21:48:19 +01:00
Sergey Lyubka
fb4fae9174
Optimise file serving path
2021-07-24 21:23:52 +01:00
Sergey Lyubka
cddff2b1b8
Cleanup on riscv baremetal build
2021-07-24 11:40:52 +01:00
Sergey Lyubka
d6dbf831f7
Remove mg_stat
2021-07-24 10:35:48 +01:00
Sergey Lyubka
7e1d4325ec
Fail examples target if any example fails
2021-07-24 08:45:51 +01:00
Sergey Lyubka
2a2c17a232
Remove MG_ENABLE_STDIO and cleanup
2021-07-24 03:44:00 +01:00
Sergey Lyubka
d130c6f42d
Remove leftovers
2021-07-24 02:44:25 +01:00
Sergey Lyubka
a09238debd
Place config.h before arch*.h
2021-07-23 20:48:48 +01:00
Sergey Lyubka
328a87b02a
Remove mg_file_size()
2021-07-23 20:18:34 +01:00
Sergey Lyubka
529faa1172
MG_ENABLE_FS -> MG_ENABLE_STDIO
2021-07-23 19:47:26 +01:00
Sergey Lyubka
8e5efd4804
7.3 -> 7.4
2021-07-23 12:17:05 +01:00
Sergey Lyubka
32406b678b
Increase sntp test timeout
2021-07-22 23:03:20 +01:00
Sergey Lyubka
55e2077a46
Use mg_fopen only on win32
2021-07-22 22:46:33 +01:00
Sergey Lyubka
a771d6a19d
Add unicode filename
2021-07-22 20:16:50 +01:00
Sergey Lyubka
0d5d7bb26f
Keep directory listing compile-time option
2021-07-21 11:05:27 +01:00
Sergey Lyubka
3808dd3222
Update issue template
2021-07-21 10:31:48 +01:00
Sergey Lyubka
8fc94e12af
Add enable_dirlist to mg_http_serve_opts
2021-07-20 17:22:41 +01:00
Sergey Lyubka
824e33ef8a
Merge pull request #1319 from ignacionr/patch-1
...
The sanitiser pointed out this problem
2021-07-20 16:46:30 +01:00
Sergey Lyubka
655f9a9f79
Add Content-Type header to the SSI files
2021-07-20 11:33:38 +01:00
Ignacio Rodríguez
6ac6aa521c
The sanitiser pointed out this problem
...
And I believe it's right. Other-side-close should be done only for the 'A' (proxy-client-side) connection.
2021-07-20 00:04:05 -05:00
Sergey Lyubka
3982e065c8
Fix #1315 , fix #1317 - use #ifndef instead of #pragma once for compilers that do not support #pragma once
2021-07-19 09:04:18 +01:00
Sergey Lyubka
497b8027f5
Fix #1314 - expose local port for listeners
2021-07-19 08:47:38 +01:00
Sergey Lyubka
89757388c7
Disable SSL v1.1
2021-07-16 12:10:48 +01:00
Sergey Lyubka
77fae5c562
Fix #1298 - shadowing struct mg_str constructor
2021-07-15 02:18:32 +01:00
Sergey Lyubka
80fcba91c8
Fix #1297 - %p warning
2021-07-14 04:00:27 +01:00
Sergey Lyubka
39d64be581
Fix FD_CLOEXEC setting
2021-07-13 22:49:36 +01:00
Sergey Lyubka
2bfd30ab4b
Fix mac test
2021-07-13 20:49:19 +01:00
Sergey Lyubka
60004eb209
Fix mac test
2021-07-13 20:01:46 +01:00
Sergey Lyubka
db11897d71
Fix #1302 - set FD_CLOEXEC on sockets
2021-07-13 19:32:31 +01:00
Sergey Lyubka
5e466f9037
Fix #1294 - add more common mime types
2021-07-13 19:24:46 +01:00
Sergey Lyubka
6b2698a503
Squash warning in mg_random()
2021-07-13 18:07:38 +01:00
Sergey Lyubka
4788db7e00
Fix #1301 - use correct openssl version conditional for SSL_use_certificate_chain_file()
2021-07-13 18:05:57 +01:00
Sergey Lyubka
d9680df510
Support mbedtls 3.x.x
2021-07-13 17:28:07 +01:00
Sergey Lyubka
f20ee1f305
Open HTTP and HTTPS ports
2021-07-13 14:40:52 +01:00
cpq
302bf865f9
Fix #1310 - wrap _CRT_SECURE_NO_WARNINGS into #ifndef
2021-07-13 07:13:06 +01:00
Sergey Lyubka
03929dcdaa
Merge pull request #1306 from SimonNitzsche/patch-1
...
Fixed typo on README
2021-07-13 07:06:30 +01:00
cpq
89af2e9638
Merge branch 'master' of github.com:cesanta/mongoose
2021-07-13 06:58:52 +01:00
cpq
015586950f
Fix #1305 - add #ifdef __cplusplus for C++ linkage
2021-07-13 06:58:34 +01:00
Simon Nitzsche
9df261a0eb
Fixed typo on README
...
Added a dot to "etc" on the README
2021-07-04 17:40:18 +02:00
Sergey Lyubka
a2a3c84450
Merge pull request #1303 from Jasper-Ben/master
...
Makefile: change curly brackets to round brackets
2021-07-02 18:28:53 +01:00
novlean
6611348ebf
added customers references
2021-07-01 15:02:51 +01:00
Jasper Orschulko
e69ee90acf
Makefile: change curly brackets to round brackets
...
Esthetic change which replaces the curly brackets introduced by me in
commit b6ee9e637b with round brackets.
2021-06-30 21:46:58 +02:00
Sergey Lyubka
8f3554d08a
Merge pull request #1295 from Jasper-Ben/add_linux_lib_targets
...
Add static and dynamic lib targets to Makefile
2021-06-21 11:35:43 +01:00
Jasper Orschulko
b6ee9e637b
Makefile: add static and dynamic lib targets
2021-06-21 11:51:42 +02:00
cpq
f46453f80f
Squash warnings
2021-06-10 19:37:03 +01:00
cpq
3deafaea7f
Extend mg_mqtt_{pub,sub} by adding qos and retain
2021-06-10 19:27:19 +01:00
cpq
a15d518571
Add mg_mqtt_pubex
2021-06-10 19:15:50 +01:00
cpq
886a29d659
Fix #1292 - allow requests with missing protocol version, responses with no reason fields
2021-05-29 10:07:05 +01:00
cpq
e69de57def
Optimise mg_iobuf_append()
2021-05-29 09:46:50 +01:00
cpq
9d68e20dcc
Fix #1288 - better mg_iobuf_append allocation strategy
2021-05-29 09:44:07 +01:00
cpq
c0a8546330
Add MG_ARCH_FREERTOS_LWIP
2021-05-28 23:49:26 +01:00
cpq
4c0002e28a
Separate examples job
2021-05-28 19:05:10 +01:00
cpq
7c37d75bf4
Squash even more warnings
2021-05-28 18:57:47 +01:00
cpq
879261981f
Squash more warnings
2021-05-28 18:54:39 +01:00
cpq
838b0bcd27
Squash more warnings
2021-05-28 18:45:35 +01:00
cpq
736b8ad7b7
Fix #1285 - __builtin___snprintf_chk warning. Tighten test flags and refactor the code to squash all warnings
2021-05-28 18:30:42 +01:00
cpq
db27fae40e
Update issue template
2021-05-24 10:18:44 +01:00
cpq
594111a255
Update issue template
2021-05-24 10:16:33 +01:00
cpq
53a46a2739
Change issue template
2021-05-24 09:53:39 +01:00
Sergey Lyubka
eef7a55904
Merge pull request #1290 from lnksz/patch-1
...
Propose an issue template
2021-05-24 09:49:35 +01:00
Kristóf Havasi
a68fa5e6e0
Propose an issue template
...
As it is in the discussion of raised issues to have some extra iteration because of architecture, library version, and other meta information, an issue template could save these extra rounds and possibly reduce the number of duplicates by highlighting where one can check for answers.
This is just a sketch based on what notifications I got from mongoose in the past months. Feel free to change it.
2021-05-23 22:44:16 +02:00
cpq
7c0d126edc
Build with -DMG_ENABLE_FS=1
2021-05-19 08:10:38 +01:00
cpq
1a5e3d3151
Fix #1286
2021-05-19 00:19:21 +01:00
cpq
95ff6c56af
Update readme
2021-05-19 00:15:45 +01:00
cpq
e2ef392633
Update readme
2021-05-19 00:14:27 +01:00
cpq
dbc2356768
FreeRTOS-Plus-TCP fixes
2021-05-19 00:00:32 +01:00
cpq
47e5e984df
stm32f7 example starts on real h/w, with plus-TCP driver
2021-05-17 17:36:57 +01:00
cpq
0f32f50c50
Add missing files
2021-05-13 22:05:00 +01:00
cpq
606cc1f538
Build w/semihosting support
2021-05-13 22:04:29 +01:00
cpq
2bb11888d5
Build w/semihosting support
2021-05-13 22:03:46 +01:00
cpq
09b1d6aa72
Running two blinkers
2021-05-13 15:05:09 +01:00
cpq
72f0489ec2
Using nucleo-f746zg. Moved 3party libs to test/. Using headers from ST
2021-05-13 14:56:14 +01:00
cpq
7b39973065
docs
2021-05-12 11:44:15 +01:00
cpq
30b64483fd
docs
2021-05-12 11:39:46 +01:00
cpq
5369fb0376
Remove low-level lwip stubs
2021-05-12 11:06:19 +01:00
cpq
5fe34fd6c3
Remove MG_ENABLE_MGOS
2021-05-12 11:05:05 +01:00
Sergey Lyubka
0fbdda4d2e
Merge pull request #1284 from cesanta/stm32
...
Stm32
2021-05-12 10:28:43 +01:00
cpq
a98e980c8f
Nits to have tests pass
2021-05-12 09:25:21 +01:00
cpq
2b836504ab
rename
2021-05-12 08:44:16 +01:00
cpq
0de3f0d985
f1 build works
2021-05-12 08:43:34 +01:00
cpq
151e375091
FreeRTOS w/blink works
2021-05-11 20:44:14 +01:00
cpq
c44549bfa5
Blinky works
2021-05-11 18:05:03 +01:00
cpq
d6852f5e74
First stab
2021-05-11 09:12:06 +01:00
novlean
9173034b96
Update README.md
2021-05-04 17:03:53 +01:00
novlean
2888ab1f52
Merge pull request #1277 from cesanta/novlean-patch-1
...
more typos + some fixes
2021-05-04 17:02:55 +01:00
novlean
26b5416641
more typos + some fixes
2021-05-04 17:02:46 +01:00
novlean
8bcac7e955
Merge pull request #1276 from cesanta/novlean-patch-1
...
fixed typo + added few things
2021-05-04 16:54:28 +01:00
novlean
ea25e8129c
fixed typo + added few things
2021-05-04 16:54:16 +01:00
cpq
26cb44f9d9
Typo in readme
2021-05-04 13:55:45 +01:00
cpq
7a37a44433
Update README
2021-05-04 13:53:17 +01:00
cpq
a752f3f8c7
Update README
2021-05-04 13:46:44 +01:00
Sergey Lyubka
946e07644c
Merge pull request #1275 from panosto/master
...
Corrected small typo in docs
2021-04-29 19:26:46 +01:00
Panagiotis
497b26a249
Corrected small typo in docs
2021-04-29 18:16:33 +02:00
cpq
79aad7fabf
Put Range support back
2021-04-29 11:00:57 +01:00
cpq
7851930ac3
Fix #1256
2021-04-29 09:50:33 +01:00
cpq
758572872d
Fix #1255
2021-04-29 09:26:37 +01:00
cpq
111551477a
Integrate #1266
2021-04-29 09:17:24 +01:00
cpq
31c9e3fb7e
Make mg_random() weak, see #1269
2021-04-29 09:09:21 +01:00
cpq
7061b7202f
Integrate 1265
2021-04-29 08:49:23 +01:00
novlean
d88b6a3c95
Update README.md
2021-04-28 17:07:39 +01:00
novlean
cea2a62ee0
Added Schneider Electric case study & testimonial
2021-04-28 17:06:27 +01:00
cpq
35a8b8e8e8
TLS nits, more DNS logging
2021-04-22 15:21:16 +01:00
cpq
1b8624f135
Better log trace
2021-04-13 21:02:05 +01:00
cpq
e217066bf6
Squash warning
2021-04-13 19:42:47 +01:00
cpq
5430408218
Merge branch 'master' of github.com:cesanta/mongoose
2021-04-09 16:55:16 +01:00
cpq
d2744063a0
Remove unused MG_SWAPxx macros
2021-04-09 16:55:12 +01:00
Sergey Lyubka
03356616ef
Merge pull request #1259 from mcottrell1/fix-msvc-compile-errors
...
fixed msvc errors around VLAs when using TLS
2021-04-09 16:54:23 +01:00
Mark Cottrell
6ce2e48dd3
fixed msvc errors around VLAs
2021-04-09 08:11:16 -07:00
novlean
16a7ba6bf0
Added 4 new sections
...
Why Mongoose
Used to implement
Case Studies
Testimonials
2021-03-25 17:50:56 +00:00
cpq
e9d122f231
Stricter checks for mg_url_*()
2021-03-24 15:49:35 +00:00
cpq
0ae5c61759
More comments
2021-03-23 14:02:24 +00:00
cpq
691460c5fc
Add linux target to http-server example
2021-03-22 11:30:48 +00:00
cpq
ab1c924388
Better check in mg_iobuf_resize()
2021-03-22 11:30:29 +00:00
cpq
05050eba38
Squash warning in mg_random
2021-03-22 11:29:59 +00:00
cpq
912dd518bf
Tests for mg_to64()
2021-03-21 16:18:44 +00:00
cpq
e0395a9907
Merge branch 'master' of github.com:cesanta/mongoose
2021-03-21 16:14:56 +00:00
cpq
0051f23e12
Even stricted check in mg_to64()
2021-03-21 16:14:44 +00:00
novlean
a9bb8fa9fc
Update README.md
2021-03-19 14:02:23 +00:00
novlean
09f5d2fdae
Merge pull request #1247 from cesanta/novlean-patch-1
...
added video call offer
2021-03-19 14:01:45 +00:00
novlean
006a9d914c
added video call offer
2021-03-19 14:01:30 +00:00
cpq
9009cbc528
Adjust recv.len after stripping chunked body
2021-03-19 13:13:24 +00:00
cpq
a1862986b8
Better docstring for file upload example
2021-03-18 12:23:03 +00:00
cpq
cc2989a848
Merge branch 'master' of github.com:cesanta/mongoose
2021-03-18 12:01:32 +00:00
cpq
4deb95776f
Remove multipart example code
2021-03-18 11:59:23 +00:00
Sergey Lyubka
f195b27884
Merge pull request #1245 from panosto/mbedtls_parse_crt_and_key_from_buffer
...
mbedtls parse cert and key from buffer
2021-03-18 08:51:04 +00:00
panosto
5036a71334
mbedtls parse cert and key from buffer
2021-03-17 15:23:45 +01:00
cpq
531c47b47c
mg_to64 overflow protection
2021-03-17 13:46:50 +00:00
cpq
4dbb2da78f
Add form-upload example
2021-03-17 13:28:36 +00:00
cpq
41c1e0f08d
Squash truncation warning
2021-03-17 12:22:19 +00:00
cpq
e7b1905e49
Add -Wno-error=format-truncation for test++ build
2021-03-17 12:15:46 +00:00
cpq
e00265f855
Add -Wno-error=format-truncation for linux++ build
2021-03-17 12:11:05 +00:00
cpq
cd36708b6d
Fix tests
2021-03-17 07:46:39 +00:00
cpq
5bd22cb5e4
Add mg_http_next_multipart()
2021-03-17 07:43:29 +00:00
cpq
bc00d5159a
Add mg_http_next_part
2021-03-15 13:20:53 +00:00
cpq
bcb0874477
Add file upload code example
2021-03-15 09:36:27 +00:00
cpq
5326e8d212
Update docs
2021-03-15 09:18:02 +00:00
cpq
4528cc28ef
Add sizep param to mg_file_read()
2021-03-15 09:16:34 +00:00
cpq
381d7cce54
Do not call setsockopts() on a listening connection
2021-03-13 12:36:00 +00:00
cpq
2594e7b37a
Stricter MG_ARCH_CUSTOM and type conversions in sock.c
2021-03-13 12:34:26 +00:00
Sergey Lyubka
4356b953ca
Merge pull request #1238 from cesanta/novlean-patch-1
...
Fixed typos
2021-03-11 13:16:06 +00:00
cpq
e788853156
Fix typos
2021-03-11 13:15:53 +00:00
novlean
91ed6de166
Fixed typos
2021-03-11 13:01:45 +00:00
novlean
cf3aafc32e
added .
2021-03-11 10:16:17 +00:00
cpq
c2d7ff8179
Update readme
2021-03-10 13:44:32 +00:00
cpq
e5eaa1c633
Update readme
2021-03-10 13:42:46 +00:00
cpq
6366c832b0
Add struct mg_http_serve_opts::extra_headers
2021-03-10 07:56:14 +00:00
cpq
f326cbedbe
Fix doc example
2021-03-09 17:44:15 +00:00
cpq
5b272c2b5c
Bump HEAD to 7.3
2021-03-09 11:38:37 +00:00
cpq
452bcc68a4
Add mg_mqtt_next_unsub() signature
2021-03-09 11:29:53 +00:00
cpq
829827d46f
Add mg_mqtt_next_unsub
2021-03-09 09:54:02 +00:00
cpq
ff9d0e462e
Tiny refactor in walkchunks()
2021-03-09 08:22:52 +00:00
cpq
e84ea91a4a
Process chunked body before sending MG_EV_HTTP_MSG
2021-03-09 08:21:29 +00:00
cpq
2dcb10ef36
Less verbose test
2021-03-08 15:45:09 +00:00
cpq
99fa7f0851
2020 -> 2021
2021-03-08 15:44:57 +00:00
cpq
1b5cc341a5
Add streaming client support, MG_EV_HTTP_CHUNK
2021-03-08 15:41:16 +00:00
cpq
d50dc288cd
Add mg_crc32
2021-03-08 15:40:39 +00:00
cpq
060bb29cdc
Restore mg_mqtt_{ping,pong,disconnect}
2021-03-07 12:21:59 +00:00
cpq
366426e8bb
Avoid extra allocation for static HTTP handling
2021-03-07 11:56:20 +00:00
cpq
e710df4c80
Define WEAK to nothing on Cygwin
2021-03-04 14:25:50 +00:00
cpq
79e5841483
Fix QNX build
2021-03-04 11:09:57 +00:00
cpq
374ab4ecf0
Add struct mg_mgr::userdata
2021-02-28 16:40:27 +00:00
cpq
56980be48c
Do not reveal full root dir path
2021-02-17 16:07:18 +00:00
cpq
602c5c0866
Refactor mg_url_encode
2021-02-15 14:42:55 +00:00
cpq
7ce5009de1
Remove reduntant code
2021-02-15 14:42:22 +00:00
cpq
51e3a1304b
Fix TLS build
2021-02-13 10:45:27 +00:00
cpq
d5a1d5a5e8
Stricter realpath checks
2021-02-11 15:03:22 +00:00
cpq
ae5f6c0920
Increase conn label size 32 -> 50
2021-02-10 11:09:13 +00:00
cpq
0a9303bb07
Stricter mg_http_parse()
2021-02-09 21:16:33 +00:00
cpq
42bc7b1f47
Add "struct mg_http_message::head" attr
2021-02-09 13:27:17 +00:00
cpq
4844ed60bd
Remove fflush in logging
2021-02-09 00:16:13 +00:00
cpq
41f5daeb47
Fix mg_random
2021-02-08 19:43:01 +00:00
cpq
a3f8f33d50
Allow mbedtls CA being inline PEM
2021-02-08 17:50:00 +00:00
cpq
fd8db5c53a
Better unicode handling on win32
2021-02-07 22:43:49 +00:00
cpq
a2f027e798
Change mws binary link
2021-02-07 14:51:37 +00:00
novlean
dad5c8fe87
Update README.md
2021-02-05 16:56:06 +00:00
novlean
98783a41ba
Update README.md
2021-02-05 16:55:26 +00:00
cpq
1517d2985a
Update README
2021-02-04 10:40:33 +00:00
Sergey Lyubka
acc0564957
Merge pull request #1213 from csimons/drainig
...
README.md: fix typo: is_drainig -> is_draining
2021-02-03 08:30:55 +00:00
Christopher Simons
421bc126b5
README.md: fix typo: is_drainig -> is_draining
2021-02-02 22:17:15 -05:00
cpq
ed1a98c381
Remove debug logs
2021-02-03 02:19:17 +00:00
cpq
457d76b049
Fix #1211 - adjust ESP32 example to serve FS
2021-02-03 02:13:05 +00:00
cpq
6827972f71
Fix #1210 - on win32, open upload file in binary mode
2021-02-02 08:43:56 +00:00
cpq
7eb998891e
Show served dir in the start message
2021-02-01 00:02:33 +00:00
cpq
582fde5c6e
Fix #1209
2021-01-31 19:54:42 +00:00
cpq
d327ee9834
Improve SNI
2021-01-30 13:03:11 +00:00
cpq
31cf6f8969
https://localhost -> http://0.0.0.0
2021-01-29 13:18:34 +00:00
cpq
86b1053678
Add error check for iobuf allocation
2021-01-29 12:32:34 +00:00
cpq
6678e36278
Use openssl/ssl.h
2021-01-28 08:45:24 +00:00
cpq
5118355732
Use 64bit file ops even on 32bit systems
2021-01-26 17:43:31 +00:00
cpq
5b4b7f7dc5
Fix test
2021-01-26 17:01:43 +00:00
cpq
7614a8101f
Wrap util funcs that use FILE into MG_ENABLE_FS
2021-01-26 16:34:42 +00:00
cpq
3c851bcfc3
mg_file_write -> mg_file_printf
2021-01-26 16:30:44 +00:00
cpq
01691dafa0
Released 7.1, move HEAD to 7.2
2021-01-26 13:07:42 +00:00
cpq
8e52075636
Handle calloc failures
2021-01-26 12:16:58 +00:00
cpq
7200f079bf
Remove dead code
2021-01-25 14:43:56 +00:00
cpq
d155db81de
Add socks5 server example
2021-01-25 14:43:08 +00:00
Sergey Lyubka
25e3bbf039
Merge pull request #1200 from Davonter/master
...
Fix README.md mg_mgr_free
2021-01-25 10:37:35 +00:00
cpq
eecf3d854b
Show accepted IPv6 peer corrently
2021-01-25 10:35:45 +00:00
cpq
7c2499fc06
-D -> -v
2021-01-25 10:35:14 +00:00
cpq
1aa605c620
desktop-server -> http-server
2021-01-25 10:09:48 +00:00
cpq
66287ad6c1
TLS nits 2
2021-01-25 10:08:15 +00:00
cpq
9a19485454
TLS nits
2021-01-24 13:57:40 +00:00
cpq
7d67d578fd
TLS krypton compat
2021-01-23 17:47:51 +00:00
wangtun
960d3c7880
Fix README.md mg_mgr_free
2021-01-23 15:49:55 +08:00
cpq
9eabf3fa81
URL decoding URI
2021-01-21 17:14:08 +00:00
cpq
89beadd2ce
Squash warning in unit test
2021-01-21 10:24:49 +00:00
cpq
6ecb6c1500
Fix DNS timeout, add unit test
2021-01-21 10:00:18 +00:00
cpq
51bc5f70c5
Disable native socketpair by default, fix multithreaded win32 example
2021-01-21 09:12:49 +00:00
cpq
be62ac9c14
Add more docs
2021-01-20 11:28:47 +00:00
cpq
161c34384d
Enable SO_EXCLUSIVEADDRUSE on Win32. Better listdir response.
2021-01-20 11:10:02 +00:00
cpq
89784ab90a
Restore to a simple version
2021-01-19 14:21:50 +00:00
cpq
d83e547fa9
Make mg_url_port() return 80 for ws://
2021-01-18 18:39:22 +00:00
Sergey Lyubka
30d86928d5
Merge pull request #1191 from RiccardoDalFiume/master
...
FIX README mg_http_serve*
2021-01-17 11:18:32 +00:00
cpq
12c32d09fb
Pass mg_http_message to MG_EV_WS_OPEN
2021-01-17 11:16:19 +00:00
cpq
ae6fd6aa35
Add extra headers param to mg_ws_upgrade()
2021-01-16 22:48:43 +00:00
cpq
72d3a49352
Restore SO_EXCLUSIVEADDRUSE
2021-01-13 03:47:11 +00:00
cpq
87b62390b7
No static for linux
2021-01-13 03:10:42 +00:00
cpq
6c93446a1f
Better reuseaddr handling on Win32
2021-01-13 03:08:11 +00:00
cpq
83c106a857
UI for Win32
2021-01-13 03:07:51 +00:00
cpq
facb2846fd
Bump version
2021-01-13 03:07:38 +00:00
cpq
596c70d3dc
Add config file processing
2021-01-12 15:18:19 +00:00
Riccardo Dal Fiume
7beff0201d
FIX README mg_http_serve*
2021-01-12 11:28:41 +01:00
cpq
a4c9d1ecb7
Update mg_http_serve_file() doc
2021-01-07 16:21:01 +00:00
cpq
b7a79a556a
Add extra headers param to mg_http_serve_file
2021-01-07 12:48:20 +00:00
cpq
03ab9e4e0d
Update axios
2021-01-06 17:11:53 +00:00
cpq
7e855f5c8f
Add oss-fuzz badge
2021-01-05 18:10:01 +00:00
Sergey Lyubka
9e510d5831
Merge pull request #1185 from hakabahitoyo/master
...
Suppress error: cast from ‘void*’ to ‘int’ loses precision [-fpermissive] in MG_ENABLE_OPENSSL build.
2021-01-05 11:46:49 +00:00
Hakaba Hitoyo
1689a0d56b
Update mongoose.c.
2021-01-05 12:35:28 +09:00
cpq
9ff774e7df
Trigger test on pull requests
2021-01-04 12:02:55 +00:00
Hakaba Hitoyo
c78ad0b574
Supress error: cast from ‘void*’ to ‘int’ loses precision [-fpermissive]
2021-01-04 16:25:06 +09:00
cpq
117aeaa15d
Fix fd leak for cached static files
2021-01-03 09:39:46 +00:00
cpq
e135743efa
Fix example build
2021-01-03 08:55:00 +00:00
cpq
2c1324dc0a
Remove -r option
2021-01-03 08:43:56 +00:00
cpq
c7e09bd7b4
Add SSI include file=, include virtual=
2021-01-02 17:57:51 +00:00
cpq
86824795a0
Pass opts structure to mg_http_serve_dir()
2021-01-02 12:30:09 +00:00
cpq
1b0636c2d2
More checks in mg_ws_send
2021-01-02 12:20:08 +00:00
cpq
2f9d2bbdf6
Update readme
2020-12-29 18:15:06 +00:00
cpq
21a1b2c15c
Update readme
2020-12-29 17:59:05 +00:00
cpq
bdef3d6afd
Fix win98 test
2020-12-28 06:32:55 +00:00
cpq
a882aab30e
Add captive dns server example
2020-12-28 05:25:29 +00:00
cpq
788b577d65
Add README
2020-12-27 01:32:58 +00:00
cpq
71a22adc06
Add ESP8266 example
2020-12-27 01:29:42 +00:00
cpq
7d1ef2ffe8
Add mingw tests to actions
2020-12-25 19:28:05 +00:00
cpq
55f5f74658
Add mingw gcc and g++ tests
2020-12-25 19:24:51 +00:00
cpq
e1fd82bc46
Remove unused code
2020-12-25 15:04:43 +00:00
cpq
49b8480bfb
Add http-reverse-proxy example
2020-12-25 04:32:56 +00:00
cpq
b2ab484883
Fix #954
2020-12-24 19:10:54 +00:00
cpq
4c3b97be7d
Squash -DMG_ENABLE_FS=0 build warning
2020-12-24 18:48:28 +00:00
cpq
60e1b64455
Fix https://github.com/cesanta/mongoose/issues/1030
2020-12-24 17:01:49 +00:00
cpq
6bcd02bb1c
Enhance HTTP client example
2020-12-24 16:52:58 +00:00
cpq
66f302a613
Make DNS debug log less verbose
2020-12-24 16:52:33 +00:00
cpq
1716af6c72
Add HTTP client code
2020-12-24 16:52:12 +00:00
cpq
749326c83a
Add more mg_http_parse unit tests
2020-12-24 14:33:23 +00:00
cpq
9657577c00
Fix typo in fuzz test
2020-12-24 09:09:25 +00:00
cpq
9f5216d259
Add more fuzz tests
2020-12-24 09:07:55 +00:00
cpq
c8826e8f9c
Refactor mg_ntoa and mg_straddr
2020-12-24 08:05:54 +00:00
cpq
25bc13ef1e
Squash some warnings under mingw crosscompiler
2020-12-24 07:26:50 +00:00
cpq
4d123a15f9
Drop deprecated register keyword
2020-12-23 21:20:48 +00:00
cpq
2cf1b09767
Workaround for WIN32 C++ snprintf/vsnprintf/strdup calls
2020-12-23 21:05:46 +00:00
cpq
abfd81cb9d
Fix WS frame length encoding for len 0xffff
2020-12-23 16:18:49 +00:00
cpq
3895678bee
Use MG_EV_WS_CTL for WS control messages
2020-12-23 11:58:08 +00:00
cpq
e0a1feafe0
Fix localhost resolution
2020-12-23 10:15:09 +00:00
cpq
c75eb24eb8
Add proxy client example
2020-12-22 21:01:14 +00:00
cpq
c3aae185df
Add ipv6 server test
2020-12-22 10:16:31 +00:00
cpq
2e87783246
Add IPv6 client test
2020-12-22 09:44:59 +00:00
cpq
fbab767b9f
Fix mg_prefix job
2020-12-21 12:39:03 +00:00
cpq
7bc38b5eaa
Add examples build, fix prefix build
2020-12-21 12:33:27 +00:00
cpq
b93456f512
Do not create socket until resolved
2020-12-21 12:26:44 +00:00
cpq
ddb700eee5
Fix openssl build
2020-12-20 21:50:46 +00:00
cpq
1052ee0766
Fix openssl build, and add openssl test
2020-12-20 21:45:58 +00:00
cpq
29534218d7
IPv6 related refactoring
2020-12-20 16:55:33 +00:00
cpq
d7abd53062
Always send MG_EV_CONNECT on TCP connect
2020-12-18 15:13:19 +00:00
cpq
aede72fa37
Refactor HTTP client
2020-12-18 14:29:30 +00:00
cpq
b0a5165b44
Uload coverage
2020-12-18 11:47:56 +00:00
cpq
4919f792f2
Make build badge a link
2020-12-18 11:32:59 +00:00
cpq
d5927f5d50
Remove travis - migrated to Github Actions
2020-12-18 11:31:31 +00:00
cpq
e68330e045
Rename workflow
2020-12-18 11:26:17 +00:00
cpq
b5d5b3763f
Add workflow badge
2020-12-18 11:24:36 +00:00
cpq
b6a6687c1e
Rename workflow
2020-12-18 11:24:06 +00:00
cpq
3843b670a5
Fix typo
2020-12-18 11:14:21 +00:00
cpq
249efdd378
Add windows test
2020-12-18 11:12:08 +00:00
cpq
18ce1669fc
Add mac test
2020-12-18 11:09:03 +00:00
cpq
e8d3b8030e
Install mbedtls
2020-12-18 10:56:35 +00:00
Sergey Lyubka
a752abf318
Create test.yml
2020-12-18 10:41:27 +00:00
cpq
d3ebcaf5d2
Remove unneeded defines that break vc2015 build
2020-12-18 09:48:28 +00:00
cpq
0abb8322d9
Disable noisy debug
2020-12-18 09:48:05 +00:00
cpq
99ed58ec4d
Better docstrings
2020-12-18 09:08:28 +00:00
cpq
04450ec659
Update http server example to showcase SSL
2020-12-18 09:01:14 +00:00
cpq
82a378e519
Add extra param to http_reply()
2020-12-17 22:47:55 +00:00
cpq
29d31ba919
More boundary checks for mg_dns_parse()
2020-12-17 19:14:17 +00:00
cpq
4519ea568d
Add conditional for SSL_use_certificate_chain_file()
2020-12-17 12:12:46 +00:00
cpq
9f88f31f01
Add timer example
2020-12-17 11:44:30 +00:00
cpq
4bdea2b467
Add README to the esp32 example
2020-12-17 11:24:28 +00:00
cpq
2252a74cd7
Note on UDP
2020-12-17 11:19:13 +00:00
cpq
d1fa7b88e0
Disable brew update
2020-12-16 14:05:36 +00:00
cpq
9ecf42578c
Fix screenshot link
2020-12-16 10:54:47 +00:00
cpq
754fc25924
Add description & screenshots
2020-12-16 10:54:09 +00:00
cpq
d9551c75b1
Refactor MQTT parsing
2020-12-16 10:14:00 +00:00
cpq
8d45cf6972
Add mqtt-server example
2020-12-15 20:29:47 +00:00
cpq
f176e1ae59
Handle more mime types
2020-12-15 11:58:30 +00:00
cpq
fa8f62fb5d
Squash warnings under linux
2020-12-14 14:05:01 +00:00
cpq
0c142f20d7
Using linux for docker tests
2020-12-14 13:09:56 +00:00
cpq
b641fc6b79
Add esp32 example
2020-12-14 12:58:27 +00:00
cpq
1252a61479
More docs
2020-12-14 09:36:46 +00:00
cpq
5f631c0b96
More docs
2020-12-14 09:35:03 +00:00
cpq
348c579521
Add dns test case
2020-12-14 09:31:23 +00:00
cpq
7ce9cdf0b9
More docs
2020-12-14 09:31:03 +00:00
cpq
09beadb98a
Fix c++ fuzzer build
2020-12-13 16:56:30 +00:00
cpq
5b265a76bd
Add minor case to fuzzer
2020-12-13 16:33:46 +00:00
cpq
c5a4a1c6f2
Remove debug leftover
2020-12-13 00:37:04 +00:00
cpq
88ada54045
More tests
2020-12-12 20:38:09 +00:00
cpq
c5b1c08d05
Use MSG_NONBLOCKING for recv/send
2020-12-12 16:48:47 +00:00
cpq
a0765ade6b
Use -DMG_ENABLE_LINES for fuzzer build
2020-12-12 14:23:28 +00:00
cpq
54250f5fbf
Rename, use hyphen
2020-12-12 10:22:45 +00:00
cpq
f3f397f31e
Add MQTT client example
2020-12-12 10:03:19 +00:00
cpq
d806ed5d5f
Better coverage
2020-12-11 22:58:50 +00:00
cpq
37e9a2ee95
Fix C++ build error
2020-12-11 18:26:54 +00:00
cpq
7ad6a08002
Fix C++ build error
2020-12-11 18:21:29 +00:00
cpq
90686ee5c9
Add ws examples
2020-12-11 17:35:58 +00:00
cpq
85c5577955
mg_dns_parse_name() recursion protection
2020-12-11 14:02:52 +00:00
cpq
30d4a1ad0f
Fix mg_sntp_parse()
2020-12-11 13:16:51 +00:00
cpq
1b551741b8
Fix mg_url_decode fuzz
2020-12-11 09:35:50 +00:00
cpq
369f44adfa
Add version.h
2020-12-10 17:46:26 +00:00
cpq
763f4551d5
More log messages
2020-12-10 17:42:59 +00:00
cpq
42d7865e14
Pre-built desktop server
2020-12-10 17:39:40 +00:00
cpq
cf62702f08
Switch to hivemq
2020-12-10 16:36:24 +00:00
cpq
14ccd78782
Update README
2020-12-10 14:21:38 +00:00
cpq
6c4b5efd98
Add restful and client example
2020-12-10 13:26:05 +00:00
cpq
05a43c563c
Update READMEs
2020-12-08 16:53:35 +00:00
cpq
94d2e86b60
More docs
2020-12-08 16:26:17 +00:00
cpq
d1b8f9e01f
Fuzz-test mg_http_var and base64
2020-12-07 18:52:40 +00:00
cpq
228acefa36
Fix native socketpair call
2020-12-07 10:55:50 +00:00
cpq
d1d8a77bf6
Use socketpair syscall when available
2020-12-07 10:25:28 +00:00
cpq
7ea3293aba
More tests
2020-12-07 08:54:58 +00:00
cpq
082a498afd
Fix badges
2020-12-07 08:08:21 +00:00
cpq
866c987409
Tuning test
2020-12-07 05:46:47 +00:00
cpq
1d0e65d17a
Tuning test
2020-12-07 05:39:07 +00:00
cpq
136a37ef73
Tuning test
2020-12-07 05:18:07 +00:00
cpq
0ce49b5c71
Tuning test
2020-12-07 05:08:21 +00:00
cpq
490ad3834b
Tuning test
2020-12-07 05:00:27 +00:00
cpq
bcc62c96c8
Tuning test
2020-12-07 04:56:50 +00:00
cpq
15d6cb3065
Tuning test
2020-12-07 04:44:23 +00:00
cpq
a490660b38
Tuning test
2020-12-07 04:19:26 +00:00
cpq
72019b7427
Tuning test
2020-12-07 04:18:29 +00:00
cpq
21c0024a2f
Tuning test
2020-12-07 03:59:42 +00:00
cpq
d7a02d13e4
Add test++ linx++
2020-12-07 03:47:37 +00:00
cpq
cb220837b9
Tuning test
2020-12-07 01:27:44 +00:00
cpq
ddaae51d42
Tuning test
2020-12-07 01:12:21 +00:00
cpq
629e55f97d
Tuning test
2020-12-07 01:00:35 +00:00
cpq
909ebad276
Install deps
2020-12-06 23:32:15 +00:00
cpq
cb7743fa39
Move tests -> test
2020-12-06 23:19:56 +00:00
cpq
6197842bca
Merge branch '7.0'
2020-12-06 22:52:11 +00:00
cpq
77d461dcbf
Remove travis build
2020-12-06 22:51:32 +00:00
cpq
47b6060910
Add docs
2020-12-06 21:12:05 +00:00
cpq
47d3fe5af6
Add travis build
2020-12-05 11:58:32 +00:00
cpq
6691a2fdad
Add badges
2020-12-05 11:46:12 +00:00
cpq
746f56f42a
README update
2020-12-05 11:41:23 +00:00
cpq
87de05881c
Add travis build
2020-12-05 11:34:58 +00:00
cpq
f2fba1d200
7.0 refactor
2020-12-05 11:26:32 +00:00
Sergey Lyubka
34d4fb8cf0
Merge pull request #1157 from rojer/qq
...
Add mg_next_query_string_entry_n() and mg_url_decode_n()
2020-10-26 13:25:31 +00:00
Deomid Ryabkov
be64f81eee
Add mg_next_query_string_entry_n() and mg_url_decode_n()
...
Move to mg_util.h so encode and decode are next ot each other.
Pull out mg_next_list_entry_n() for advanced use cases.
Add unit tests.
2020-10-24 22:53:50 +01:00
Sergey Lyubka
9fe1c93c9b
Merge pull request #1143 from rojer/cs_log_lock
...
Add cs_log_{lock,unlock}
2020-08-28 20:46:37 +01:00
Deomid Ryabkov
a4b6d58b24
Add cs_log_{lock,unlock}
...
In implementatiosn that have preemptive scheduelrs these can be implemented
to ensure logging from different threads is properly serialized.
2020-08-28 20:29:13 +01:00
Sergey Lyubka
86f391c701
Merge pull request #1139 from rojer/warns
...
Fix warnings and sync line numbers of unamalgamated sources
2020-08-20 00:45:02 +01:00
Sergey Lyubka
36de38bd11
Merge pull request #1138 from rojer/1135
...
Add missing range check in mg_get_http_header()
2020-08-20 00:44:36 +01:00
Deomid Ryabkov
a308872c88
Fix warnings and sync line numbers of unamalgamated sources
2020-08-19 22:02:50 +01:00
Deomid Ryabkov
a369160296
Add missing range check in mg_get_http_header()
...
h/t BushraAloraini
Fixes https://github.com/cesanta/mongoose/issues/1135
2020-08-19 21:48:45 +01:00
Sergey Lyubka
0a09b46c94
Merge pull request #1128 from rojer/amalgam
...
Sync src with amalgamated versions
2020-07-12 15:32:42 +01:00
Deomid Ryabkov
b0a1cd7b0d
Sync src with amalgamated versions
...
Now src contains exactly what's embedded in mongoose.c and .h, nothing more.
Added `tools/amalgam.sh` to aamlgamate both files at once.
There are no functional changes to mongoose.c, .h in this PR, only slight filename changes.
2020-07-08 02:08:49 +01:00
novlean
73a2b92278
Merge pull request #1124 from cesanta/novlean-patch-1
...
added MWS white paper
2020-06-24 17:08:49 +01:00
novlean
c3bb5bd89e
added MWS white paper
...
Download “9 Things NOT to do when embedding a web server” white paper.
2020-06-24 17:08:35 +01:00
Sergey Lyubka
d22ff2fce7
Really revert 4880069
2020-06-11 19:08:55 +01:00
Sergey Lyubka
fee2980d95
Merge branch 'master' of github.com:cesanta/mongoose
2020-06-11 19:04:45 +01:00
Sergey Lyubka
d6693ed360
Revert 4880069
2020-06-11 19:04:24 +01:00
Sergey Lyubka
4880069775
Fix #1112
2020-06-11 18:38:42 +01:00
Sergey Lyubka
5d217a1262
Merge branch 'dev' of github.com:cesanta/mongoose into dev
2020-06-11 18:29:58 +01:00
Sergey Lyubka
f778d22eac
Make it possible to override default FS update algorithm
...
PUBLISHED_FROM=774a111548da97bd9d195e177b5fb66b0fd66135
2020-06-11 18:27:48 +01:00
Sergey Lyubka
3aa76dcaec
Subst CREDPARAMS
...
PUBLISHED_FROM=545e8dff4ea0bef061c893252c613e3429f56184
2020-06-11 18:27:46 +01:00
Deomid "rojer" Ryabkov
4680573a6b
Fixes for -pedantic build mode
...
PUBLISHED_FROM=d0a15356cf047e579c74869ce3e8fe813752e8c7
2020-05-23 15:55:27 +00:00
Deomid "rojer" Ryabkov
95fcb261eb
Fix processing of keep-alive requests when chunks are consumed
...
PUBLISHED_FROM=136ce2ed4f143d7ee246e5fd1078c431e205bb3a
2020-05-22 23:07:38 +00:00
Sergey Lyubka
5867c67da2
Allow OpenSSL session reuse on 2-way SSL, integrate https://github.com/cesanta/mongoose/pull/877
...
PUBLISHED_FROM=6e2568b963869d062dd51b590f8e536d043c4ca2
2020-05-22 18:56:31 +00:00
Sergey Lyubka
80d74e9e34
Merge branch 'dev'
2020-05-21 16:45:34 +01:00
Sergey Lyubka
43a0b500f5
6.17 -> 6.18
...
PUBLISHED_FROM=7893a216b1f7e86e845122eb425e4fed271244b4
2020-05-21 16:42:09 +01:00
Sergey Lyubka
3d53ed17fb
Allow OpenSSL session reuse on 2-way SSL, integrate https://github.com/cesanta/mongoose/pull/877
...
PUBLISHED_FROM=6e2568b963869d062dd51b590f8e536d043c4ca2
2020-05-21 16:17:14 +01:00
Sergey Lyubka
4ea452307e
Update certs used for SSL test
...
PUBLISHED_FROM=2236ecf7fe06bdaf9a89e697b83ff69e1f8c805c
2020-05-21 16:17:12 +01:00
Deomid "rojer" Ryabkov
e61f20f1ed
Convert amalgam.py to Python 3
...
No mongoose.{c,h} diffs
PUBLISHED_FROM=a995a6d6548a914087969e28908f4e8c9ef1d379
2020-05-09 10:48:41 +00:00
Sergey Lyubka
ca11f5ab49
Fix OpenSSL error issue
...
PUBLISHED_FROM=a3bcdb68f48a4de4a4f55b4399792fdd5211c88d
2020-05-02 11:19:29 +00:00
Sergey Lyubka
000d24d31a
Add http proxy client example
...
PUBLISHED_FROM=443a0d3db63df1b78555a9fa4eff808bef3a9a01
2020-03-25 16:32:49 +00:00
Sergey Lyubka
ef92f2e9c5
Integrate cesanta/dev#1062 - Fix dereferencing in mg_http_free_proto_data_endpoints
...
PUBLISHED_FROM=47fd1a4de07d2c53c994d29c88ac1d3a7f61c1a0
2020-02-21 14:30:21 +00:00
Sergey Lyubka
4e89eac8dd
Integrate cesanta/dev#1074 - Fix typedef bool for MSC
...
PUBLISHED_FROM=f52fe15edd617d9f1ba2aa4051c116e79671554d
2020-02-21 14:24:50 +00:00
Sergey Lyubka
b015e33ea5
Integrate https://github.com/cesanta/mongoose/pull/1096 - dir listing nits
...
PUBLISHED_FROM=a343bd61f98cbcc0f8cab02a62b912e494c27601
2020-02-14 08:30:56 +00:00
Sergey Lyubka
96e762d4a1
Change contributions section
...
PUBLISHED_FROM=676548efdb09989c300693a81dd592fe1cd987b0
2020-02-14 08:30:54 +00:00