mongoose/examples
Dmitry Frank b9b20c6494 Implement mg_http_parse_header2()
Which is a replacement of (deprecated) `mg_http_parse_header`, but,
similarly to `asprintf`, allocates a new buffer if the client-provided
one is not large enough.

Also use it throughout mongoose code, and thus some header-related
limitations are removed; in particular,
https://github.com/cesanta/mongoose/issues/813 is fixed.

CL: Mongoose Web Server: Deprecate `mg_http_parse_header()` and implement `mg_http_parse_header2()` instead, which allocates a new buffer if the client-provided one is not large enough (similarly to `asprintf`).
CL: Mongoose Web Server: Fix limitations of header value lengths, e.g. when parsing authentication headers such as nonce, etc.

PUBLISHED_FROM=c75b1bbbbdb294ea85075ce69b1368f115fdd1ef
2018-02-07 23:04:29 +00:00
..
api_server Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
big_upload Fix memory leak in big_upload example 2018-01-30 12:51:15 +00:00
captive_dns_server Mongoose examples fixes 2017-02-20 10:05:57 +00:00
CC3200 Use 8k iobuf limit for aws 2017-12-02 21:26:35 +00:00
coap_client Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
coap_server Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
connected_device_1 Update logo in connected_device examples 2017-02-13 14:05:04 +00:00
connected_device_2 Update logo in connected_device examples 2017-02-13 14:05:04 +00:00
connected_device_3 Update logo in connected_device examples 2017-02-13 14:05:04 +00:00
connected_device_4 Update logo in connected_device examples 2017-02-13 14:05:04 +00:00
cookie_auth Implement mg_http_parse_header2() 2018-02-07 23:04:29 +00:00
dll Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
ESP32_IDF Add simple mongoose/esp32 example (w/out mOS) 2017-03-29 13:53:25 +00:00
ESP8266_RTOS Fix esp8266 rtos example build 2017-05-05 10:25:41 +00:00
http_client Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
mbed Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
mcast_udp_server Ensure not to overflow buf in udp server example 2018-01-30 20:39:50 +00:00
mqtt_broker Remove redundant initialization 2018-01-30 19:39:08 +00:00
mqtt_client Nitpick for MQTT example 2017-07-14 10:52:37 +00:00
mqtt_over_websocket_server Add mqtt_over_websocket_server example 2017-08-24 10:34:35 +00:00
MSP432/ccs Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
multithreaded Add mg multithreaded example 2017-05-02 15:55:53 +00:00
netcat Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
nRF51 Fix DISABLE_MD5 and DISABLE_SHA1 naming 2017-03-21 10:24:11 +00:00
nRF52 Fix DISABLE_MD5 and DISABLE_SHA1 naming 2017-03-21 10:24:11 +00:00
NXP_K64 Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
NXP_LPC4088 Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
PIC32 Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
publish_subscribe Improve err handling in pubsub example 2018-01-30 20:39:51 +00:00
restful_client Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
restful_server Unbind things from v7 2017-10-18 16:05:25 +00:00
restful_server_s3 Do not prefix successfulresponse with "Error: " 2017-02-13 15:05:11 +00:00
reverse_proxy Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
settings_panel_for_a_device Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
simple_crawler Mongoose examples fixes 2017-02-20 10:05:57 +00:00
simplest_web_server Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
simplest_web_server_ssl Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
sntp_client Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
socks_server Initial socks5 client & server implementation 2017-10-18 14:05:13 +00:00
STM32F4_CC3100 Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
tcp_echo_server Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
timers Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
TM4C129/ccs Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
udp_client Add UDP client example 2018-02-06 13:34:33 +00:00
udp_echo_server Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
websocket_chat websocket_chat added MG_EV_HTTP_REQUEST 2017-04-14 12:57:30 +00:00
websocket_chat_client Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
WinCE/http_server Revert "Stop publish examples to mongoose repo" 2017-02-06 14:08:59 +00:00
examples.mk Fix MQTT SUBSCRIBE parsing 2017-10-30 15:34:22 +00:00
Makefile Add simple mongoose/esp32 example (w/out mOS) 2017-03-29 13:53:25 +00:00