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.