cpq
5aebed95a4
Fix VC98 build
2023-02-12 10:41:51 +00:00
cpq
bf9d69ab56
Add struct mg_queue and API, change examples/multi-threaded, add tests
2023-02-11 13:24:26 +00:00
cpq
a4430dd49d
Split mg_*printf* functions into src/printf.c/h
2023-02-10 15:47:23 +00:00
cpq
2e16a10720
Fix ifp->eport init
2023-02-09 18:39:14 +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
cpq
2c62e58dbd
Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_
2023-02-07 21:35:37 +00:00
cpq
9dc86aa77d
Kill ARP cache, kill qprofile
2023-02-07 14:26:03 +00:00
Sergio R. Caprile
5d7a080e39
Remove %I and %A
2023-02-02 16:28:24 -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
736a78faed
Merge pull request #2007 from cesanta/rl
...
Better error handling for RL NET
2023-02-01 18:23:13 -03:00
cpq
1612e1d142
Better error handling for RL NET
2023-02-01 13:59:47 +00:00
Sergio R. Caprile
99dbbc7f39
Do not use %I %A in MIP
2023-01-31 14:37:00 -03:00
Sergio R. Caprile
54c651f7e2
Add mg_print_mac()
2023-01-31 13:31:46 -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
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
Hakaba Hitoyo
382362668e
bugfix openssl tls sni
2023-01-22 14:27:44 +09:00
Sergio R. Caprile
7fc6be9f39
Fix FreeRTOS arch includes on newlib platforms
2023-01-20 18:09:21 -03:00
cpq
82d702fedc
mg_url_encode() 0-terminate the destination
2023-01-16 15:05:04 +00:00
cpq
da5e8e9778
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:19:49 +00:00
cpq
3d75d71767
Do not show response handler in the rpc.list result
2023-01-08 06:38:08 +00:00
cpq
57a5c0ba38
Add TinyUSB example
2022-12-19 14:31:54 +00:00
cpq
c0f15d50d6
Squash cppcheck warn
2022-12-09 09:29:34 +00: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
cpq
b01989f041
Fix #1888 : add %I *printf specifier for IP address. Remove mg_ntoa, mg_straddr
2022-12-03 14:27:07 +00:00
Sergio R. Caprile
a80a003865
Add stdlib.h to includes in FreeRTOS arch
2022-11-24 10:15:03 -03: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
cpq
a39b7ddbac
Fix fuzzer use-after-poison READ 1
2022-11-11 15:03:48 +00:00
cpq
804a3bf380
Fix #1801 - report ipv4 accepted address for ipv4 listeners
2022-11-11 14:01:17 +00:00
cpq
abfac8aa40
Expose mip guts
2022-11-09 19:25:40 +00:00
cpq
28a4778187
Endianness test
2022-11-09 09:20:15 +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
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
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
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
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
cpq
7ab81d3805
Add mg_hello()
2022-10-28 10:57:06 +01:00
Sergey Lyubka
03284ba046
Merge pull request #1810 from cesanta/zephyresp
...
Support Zephyr on ESP32
2022-10-25 17:22:47 +01: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