diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-07-17 20:33:52 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-07-17 20:33:52 -0700 |
| commit | 4dcfdd65318b706e139658842c9f406e906a8003 (patch) | |
| tree | 5dde4b98eb307a30957adb402a7a98c9e9623596 /docs | |
| parent | 8545c4181e0f28c93296bb461de19b2b9c207c24 (diff) | |
| download | nng-4dcfdd65318b706e139658842c9f406e906a8003.tar.gz nng-4dcfdd65318b706e139658842c9f406e906a8003.tar.bz2 nng-4dcfdd65318b706e139658842c9f406e906a8003.zip | |
fixes #954 large message fails with no error message
This removes the default 1MB limit on maximum receive sizes.
Applications intended for deployment in insecure or hostile
environments should choose a sensible default for NNG_OPT_RECVMAXSZ.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/man/nng_options.5.adoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/man/nng_options.5.adoc b/docs/man/nng_options.5.adoc index 449eea4d..278055c5 100644 --- a/docs/man/nng_options.5.adoc +++ b/docs/man/nng_options.5.adoc @@ -190,6 +190,9 @@ large message, without sending any data. This option can be set for the socket, but may be overridden for on a per-dialer or per-listener basis. + +IMPORTANT: Applications on hostile networks should set this to a non-zero +value to prevent denial-of-service attacks. ++ NOTE: Some transports may have further message size restrictions. [[NNG_OPT_RECVTIMEO]] |
