Skip to content

Commit

Permalink
BB
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Nov 30, 2022
1 parent ebf5fef commit cb09703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5519,7 +5519,7 @@ void *rtsp_listen_loop(__attribute((unused)) void *arg) {
#endif


if (setsockopt(conn->fd, SOL_OPTION, TCP_KEEPIDLE, (void *)&keepAliveIdleTime, sizeof(keepAliveIdleTime))) {
if (setsockopt(conn->fd, SOL_OPTION, KEEP_ALIVE_OR_IDLE_OPTION, (void *)&keepAliveIdleTime, sizeof(keepAliveIdleTime))) {
debug(1,"can't set the keepidle wait time");
}

Expand Down

0 comments on commit cb09703

Please sign in to comment.