The maximum size really is a most the size of a single IP packet,
it is the assumption on which the code is designed. The request must
be in the first packet on the connection.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
bool hostDenied = false;
struct timeval timeout;
fd_set read_fds;
- char req_buffer[1024];
+ char req_buffer[1024]; /* maximum size is the size of an IP packet */
char * req = req_buffer;
ssize_t rx_count = 0;
unsigned int send_what = 0;