Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pingora-core/src/protocols/l4/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ impl AsRawSocket for RawStream {
fn as_raw_socket(&self) -> std::os::windows::io::RawSocket {
match self {
RawStream::Tcp(s) => s.as_raw_socket(),
// Virtual stream does not have a real socket, return INVALID_SOCKET (!0)
RawStream::Virtual(_) => !0,
}
}
}
Expand Down
Loading