Using 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 14:31:18 -05:00
parent 0c2ea99a32
commit 72f09b6582
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ void processRequest(struct reqelem * req)
const unsigned char * p;
int type;
struct device * d = devlist;
unsigned char rbuf[4096];
unsigned char rbuf[RESPONSE_BUFFER_SIZE];
unsigned char * rp = rbuf+1;
unsigned char nrep = 0;
time_t t;