Embedded Web Server
This release adds fixes and improvements, and more examples. NOTE: this release has an issue with TLS receive path. If your application receives large chunks of data over TLS, consider switching to HEAD, or keep on 7.12, or wait for the next release in May, 15.
fn_data
from the event handler signaturemg_file_read()
signature to now return struct mg_str
mg_wakeup()
to improve interaction in multi-threaded environmentsmg_split
replacing mg_span
mg_json_get_tok
as a helper for parsing JSON stringsmg_fs_ls()
as a helper for listing directoriesThis release adds fixes and improvements, and more examples
mg_mkpipe()
This release adds fixes and improvements, and improved support for STM32Cube and ARM Keil MDK
mg_remove_double_dots()
with a path check function: mg_path_is_sane()
Notice: The back-to-back socket pipe mg_mkpipe()
deprecation has been postponed, it will be deprecated in Mongoose 7.12 release.
This release adds fixes and improvements, new examples, and improved support for STM32Cube and ARM Keil MDK
This release adds fixes and improvements, mainly on the TCP/IP stack; new examples, and support for new embedded targets
c->is_resp
flag for the server-side HTTP connections, for correctly handling pipelined requests that can span several event handler invocationsMG_HTTP_MAX_HEADERS
from 40 to 30 to reduce embedded stack usageMG_ARCH
in mongoose_custom.h
mg_*xprintf
formatting functions, https://mongoose.ws/documentation/#mg_xprintf-mg_vxprintf
mg_pfn_t
primitiveMG_EV_HTTP_CHUNK
handling, made it more robust and resilientmg_log_set(level)
: debug level
is now an int
, not const char *
FD_SETSIZE
restrictionsmg_ws_printf()
.gz
handling for static filesmg_http_serve_opts::page404
for custom 404 handlingmg_mkpipe()
MG_ARCH_RTX
Keil MDK RTX supportMG_ARCH_NEWLIB
MG_ARCH_TIRTOS
TI RTOS supportMG_ENABLE_CUSTOM_MILLIS
for custom uptime functionsmg_check_ip_acl()
mg_wakeup()
- added ability to pass specific data to the mongoose taskmg_mqtt_pub()
and mg_mqtt_sub()
- using struct mg_str
instead of struct mg_str *
mg_fs_fat
mg_http_upload()
- added FS parameterstruct mg_fs
- open and close calls accept void *
, not struct mg_fd *
mg_url_port()
struct mg_tls
, in order to let TLS code to read certs from any FSint64_t
for millisecond values in timers and for mg_millis()
mg_time()
and usleep()
MG_HTTP_INDEX
build var, default to "index.html", to let user to change directory index fileMG_CUSTOM_TLS
build flag, to enable any 3rd party TLS library integration (or make tweaks to existing integrations)opts.root_dir = "/path1,/uri1=/some/other/path"
. See https://github.com/cesanta/mongoose/commit/2139fbc4b78da492a468baedaf960964f88d7131
realpath()
from the virtualised FS API