In do_response() limit the amount we read in for the hostname
In do_response() limit the amount we read in for the hostname

Limit the amount we can read in from /etc/hostname to 4095
(BUF_SIZE - 1). This will avoid any possible buffer overflows.

Signed-off-by: Andrew Clayton <02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@digital-domain.net>

ac000/websocket_demo,ac000/websocket_demo