zephyr/samples/net
Paul Sokolovsky 7558ce8cdb mbedtls: Add CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN
This value allows to set max payload length of a TLS protocol
message, and passed thru to mbedTLS as MBEDTLS_SSL_MAX_CONTENT_LEN
setting. The only safe value is 16384, which translates to 32KB
of RAM required just for mbedTLS input/output buffers. Any other
value can be configured *only* per a particular application
(e.g. knowing that it won't pass more than spefific amount of
data at once and/or won't connect to a server with a long cert
chain). Previosuly, we had quite an adhoc and inflexible config
with random values for that setting, based on protocol.

Note that while the safe value is 16384, "backward compatible"
default of 1500 is used (good for DTLS on the other hand).

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-03-18 09:38:22 -07:00
..
coap_client samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
coap_server samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
coaps_client samples: net: Remove references to ZoAP 2018-03-09 20:25:37 -05:00
coaps_server samples: net: Remove references to ZoAP 2018-03-09 20:25:37 -05:00
common kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
dhcpv4_client doc: getting_started: Support multi-OS instructions 2018-01-18 16:53:31 -05:00
dns_resolve samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
echo_client samples: net: Add config and enable CI for OpenThread on nRF52840 2018-01-29 22:42:03 -05:00
echo_server samples: net: Add config and enable CI for OpenThread on nRF52840 2018-01-29 22:42:03 -05:00
http_client mbedtls: Add CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 2018-03-18 09:38:22 -07:00
http_server mbedtls: Add CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 2018-03-18 09:38:22 -07:00
irc_bot samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
leds_demo samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
lwm2m_client doc: getting_started: Support multi-OS instructions 2018-01-18 16:53:31 -05:00
mbedtls_dtlsclient cmake: Ported mbedTLS to use Zephyr interface libraries 2018-01-02 22:09:01 -05:00
mbedtls_dtlsserver mbedtls: Switch default MBEDTLS_CFG_FILE to config-mini-tls1_2.h 2018-02-15 12:35:31 -05:00
mbedtls_sslclient cmake: Ported mbedTLS to use Zephyr interface libraries 2018-01-02 22:09:01 -05:00
mdns_responder samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
mqtt_publisher mbedtls: Add CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 2018-03-18 09:38:22 -07:00
nats samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
rpl-mesh-qemu sample: net: RPL mesh sample over QEMU 2018-02-20 14:47:14 +02:00
rpl-node samples: rpl: do not build when assert is enabled 2018-01-09 11:13:08 -05:00
sntp_client samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
sockets samples: net: echo_async: Better error and write handling 2018-03-02 16:50:41 +01:00
syslog_net samples: net: syslog: Remote syslog service example 2018-03-15 15:19:46 +02:00
telnet doc: getting_started: Support multi-OS instructions 2018-01-18 16:53:31 -05:00
throughput_server net: samples: throughput_server: Decrease buffer count 2018-02-10 09:20:42 +02:00
wpan_serial usb: Rename SYS_LOG_USB to SYS_LOG_USB_DEVICE 2018-01-17 18:53:05 -05:00
wpanusb tests: samples: Exclude nrf52840_pca10056 from wpanusb sample 2018-03-15 12:39:53 +01:00
ws_console samples/tests: net: websocket: Fix yaml files 2018-03-15 16:29:01 -05:00
ws_echo_server samples/tests: net: websocket: Fix yaml files 2018-03-15 16:29:01 -05:00
zperf net: samples: Reduce net pkt RAM usage 2018-03-16 14:45:24 -07:00
net.rst doc: add labels to net sample docs for linking 2017-04-04 19:52:06 +00:00