Add setting for unix socket response buffer size

On networks with about 200 upnp devices, search type 3 (all) truncates the full response.  Adding a configuration setting that allows for building minissdpd to have a larger buffer for the response.
This commit is contained in:
ted shroyer 2015-05-26 11:50:14 -05:00
parent f4f21897e2
commit 0c2ea99a32
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@
/* Maximum number of network interface we can listen on */
#define MAX_IF_ADDR 8
/* The size of unix socket response buffer */
#define RESPONSE_BUFFER_SIZE (1024 * 4)
/* Uncomment the following line in order to make minissdpd
* listen on 1.2.3.4:1900 instead of *:1900
* Note : it prevents broadcast packets to be received,