Added the net-priority configuration option.

That option allows setting the protocol-defined priority (via SO_PRIORITY)
for the UDP and TCP sockets, per user/group or globally.
This commit is contained in:
Nikos Mavrogiannopoulos
2013-12-09 14:40:55 +01:00
parent 74a566c540
commit 6cb553e9a8
11 changed files with 73 additions and 12 deletions
+1
View File
@@ -151,6 +151,7 @@ typedef struct worker_st {
size_t rx_per_sec;
size_t tx_per_sec;
unsigned net_priority;
struct http_req_st req;
} worker_st;