1Add this line after upgrade:
2
3lws_plat_set_socket_options(struct lws_vhost *vhost, int fd, int unix_skt)
4{
5    int max_retry = 2;
6    if (setsockopt(fd, IPPROTO_TCP, TCP_SYNCNT, &max_retry, sizeof(max_retry)) < 0) {
7        return 1;
8    }