Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp: honor dscp settings, fixes #4067
  • Loading branch information
perexg committed Nov 4, 2016
1 parent 203af79 commit 0736ebc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/htsp_server.c
Expand Up @@ -3225,6 +3225,9 @@ htsp_serve(int fd, void **opaque, struct sockaddr_storage *source,

// Note: global_lock held on entry

if (config.dscp >= 0)
socket_set_dscp(fd, config.dscp, NULL, 0);

tcp_get_str_from_ip((struct sockaddr*)source, buf, 50);

memset(&htsp, 0, sizeof(htsp_connection_t));
Expand Down

0 comments on commit 0736ebc

Please sign in to comment.