From 2252a74cd7eb4d4f9fd1f6f5a0167e67e29d6d17 Mon Sep 17 00:00:00 2001 From: cpq Date: Thu, 17 Dec 2020 11:19:13 +0000 Subject: [PATCH] Note on UDP --- docs/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/README.md b/docs/README.md index 030fdbb8..99e6f773 100644 --- a/docs/README.md +++ b/docs/README.md @@ -227,6 +227,10 @@ Here is a list of build constants and their default values: |`MG_MAX_RECV_BUF_SIZE` | (3 * 1024 * 1024) | Maximum recv buffer size | |`MG_MAX_HTTP_HEADERS` | 40 | Maximum number of HTTP headers | +NOTE: `MG_IO_SIZE` controls the maximum UDP message size, see +https://github.com/cesanta/mongoose/issues/907 for details. If application +uses large UDP messages, increase the `MG_IO_SIZE` limit accordingly. + ## Minimal HTTP server This example is a simple static HTTP server that serves current directory: