Changeset 6720:9170240f1241 in nginx


Ignore:
Timestamp:
10/03/16 12:58:29 (3 years ago)
Author:
Maxim Dounin <mdounin@…>
Branch:
default
Phase:
public
Message:

Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks.

Removed NGX_HAVE_REUSEPORT from the signature accordingly.

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/core/ngx_connection.h

    r6719 r6720  
    7070    unsigned            ipv6only:1;
    7171#endif
    72 #if (NGX_HAVE_REUSEPORT)
    7372    unsigned            reuseport:1;
    7473    unsigned            add_reuseport:1;
    75 #endif
    7674    unsigned            keepalive:2;
    7775
  • src/core/ngx_module.h

    r6719 r6720  
    7373
    7474#define NGX_MODULE_SIGNATURE_9   "1"
    75 
    76 #if (NGX_HAVE_REUSEPORT)
    7775#define NGX_MODULE_SIGNATURE_10  "1"
    78 #else
    79 #define NGX_MODULE_SIGNATURE_10  "0"
    80 #endif
    8176
    8277#if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER)
  • src/http/ngx_http_core_module.h

    r6719 r6720  
    7373    unsigned                   ipv6only:1;
    7474#endif
    75 #if (NGX_HAVE_REUSEPORT)
    7675    unsigned                   reuseport:1;
    77 #endif
    7876    unsigned                   so_keepalive:2;
    7977    unsigned                   proxy_protocol:1;
  • src/stream/ngx_stream.h

    r6719 r6720  
    5656    unsigned                       ipv6only:1;
    5757#endif
    58 #if (NGX_HAVE_REUSEPORT)
    5958    unsigned                       reuseport:1;
    60 #endif
    6159    unsigned                       so_keepalive:2;
    6260    unsigned                       proxy_protocol:1;
Note: See TracChangeset for help on using the changeset viewer.