Changeset 238:067fd23852a8 for uwsgi.c
Legend:
- Unmodified
- Added
- Removed
-
uwsgi.c
r237 r238 670 670 socket_type_len = sizeof (int); 671 671 if (!getsockopt (3, SOL_SOCKET, SO_TYPE, &socket_type, &socket_type_len)) { 672 if (socket_type == AF_INET || socket_type == AF_UNIX) {672 if (socket_type == SOCK_STREAM) { 673 673 fprintf (stderr, "...fd 3 is a socket, i suppose this is a graceful reload of uWSGI, i will try to do my best...\n"); 674 674 is_a_reload = 1;
