Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/options.cfa

    r40a64f78 r329e26a  
    3535
    3636        { // socket
    37                 8080, // port
    38                 10,   // backlog
    39                 1024  // buflen
     37                8080,  // port
     38                10,    // backlog
     39                1024,  // buflen
     40                false  // reuseport
    4041        },
    4142
     
    5253
    5354void parse_options( int argc, char * argv[] ) {
    54         // bool fixedfd = false;
    55         // bool sqkpoll = false;
    56         // bool iokpoll = false;
    5755        unsigned nentries = 0;
    5856        bool isolate = false;
     
    7068                {'\0', "shell",          "Disable interactive mode", options.interactive, parse_setfalse},
    7169                {'\0', "accept-backlog", "Maximum number of pending accepts", options.socket.backlog},
     70                {'\0', "reuseport",      "Use acceptor threads with reuse port SO_REUSEPORT", options.socket.reuseport, parse_settrue},
    7271                {'\0', "request_len",    "Maximum number of bytes in the http request, requests with more data will be answered with Http Code 414", options.socket.buflen},
    7372                {'\0', "seed",           "seed to use for hashing", options.file_cache.hash_seed },
Note: See TracChangeset for help on using the changeset viewer.