Skip to content

transport.reuse_linux.go 文件 transport.SetReuseOpt 方法中 syscall.SO_REUSEADDR 应该是 syscall.SO_REUSEPORT 吧? #7

Description

@scalalpc

大佬你好,我前几天在avformat项目提了这个issue,在这里也提一下:

你好,我在 lkm 代码中看到按CPU核心数绑定socket,调用 avformat 的 transport.SetReuseOpt,设置了 syscall.SO_REUSEADDR,这个按核心数貌似没什么意义?
transport.reuse_windows.go 文件同上。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions