apple/swift-nio-extras
NIOWritePCAPHandler crashes if used with UNIX Domain Sockets
开放
#92 创建于 2020年6月12日
good first issuekind/bug
仓库指标
- 星标
- (250 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
When using NIOWritePCAPHandler with UNIX Domain Sockets, it crashes.
That's because UNIX Domain Sockets don't have IP addresses and ports.
If the user passes a fakeLocal/RemoteAddress, everything's good but we should just have a default one in case the user doesn't.