diff options
| author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-02-15 16:37:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-15 16:37:41 +0100 |
| commit | c7535950b6de086fce741809728129c79288dee8 (patch) | |
| tree | 016b274136e8f656d420f6bda79740dfc3fb09f7 /ext/flash/socket.rs | |
| parent | 4104a674c7955eb7811b241b2e18453ac96faaf5 (diff) | |
feat(flash): add 2nd param to handler to get remote address (#17633)
Closes #17583
Diffstat (limited to 'ext/flash/socket.rs')
| -rw-r--r-- | ext/flash/socket.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/flash/socket.rs b/ext/flash/socket.rs index 27906e74e..cf9501634 100644 --- a/ext/flash/socket.rs +++ b/ext/flash/socket.rs @@ -29,6 +29,7 @@ pub struct Stream { pub parse_done: ParseStatus, pub buffer: UnsafeCell<Vec<u8>>, pub read_lock: Arc<Mutex<()>>, + pub addr: std::net::SocketAddr, } impl Stream { |
