ossrs/srs

fd leak when fork: forgot to set FD_CLOEXEC for the fd received from accept

YueHonghui opened this issue · 3 comments

Forgot to set FD_CLOEXEC for the accepted fd, which will result in fd leakage when FORK FFMPEG.

TRANS_BY_GPT3

Can I submit a patch? git format-patch origin/develop will do, I haven't looked at this ioctl for a long time.

TRANS_BY_GPT3

Submitting a patch won't... Does submitting a PR work?

TRANS_BY_GPT3

PR is better than patch, haha.
😄

TRANS_BY_GPT3