Changeset 238:067fd23852a8 for uwsgi.c

Show
Ignore:
Timestamp:
02/15/10 12:09:18 (6 months ago)
Author:
roberto@…
Branch:
default
Message:

more getsockopt fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • uwsgi.c

    r237 r238  
    670670        socket_type_len = sizeof (int); 
    671671        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) {  
    673673                        fprintf (stderr, "...fd 3 is a socket, i suppose this is a graceful reload of uWSGI, i will try to do my best...\n"); 
    674674                        is_a_reload = 1;