mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
spicy-redis: Add some commands and touch up parsing
This commit is contained in:
parent
22bda56af3
commit
f0e9f46c7c
21 changed files with 200 additions and 114 deletions
|
@ -12,6 +12,7 @@ export Zeek_Redis::ZeekServerData;
|
|||
|
||||
on RESP::ClientData if ( Redis::is_set(self) ) -> event Redis::set_command($conn, $is_orig, Redis::make_set(self.command));
|
||||
on RESP::ClientData if ( Redis::is_get(self) ) -> event Redis::get_command($conn, $is_orig, Redis::make_get(self.command));
|
||||
on RESP::ClientData if ( Redis::is_auth(self) ) -> event Redis::auth_command($conn, $is_orig, Redis::make_auth(self.command));
|
||||
|
||||
# All client data is a command
|
||||
on RESP::ClientData -> event Redis::command($conn, $is_orig, self.command);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue