apple/swift-nio-extras
NIOWritePCAPHandler crashes if used with UNIX Domain Sockets
Open
#92 opened on Jun 12, 2020
good first issuekind/bug
Repository metrics
- Stars
- (250 stars)
- PR merge metrics
- (PR metrics pending)
Description
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.