You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swlynch99
changed the title
Resp protocol parser when given a command ending with a newline
Resp protocol parser crashes when given a command ending with a newline
Feb 2, 2023
Fixes issue #40 by correcting the logic when a LF is received instead of a CRLF.
Adds unit tests.
---------
Co-authored-by: Sean Lynch <[email protected]>
To reproduce,
netcat
to connect to the resp port and type outThis will cause pelikan to panic and crash. The root cause is this line here: https://github.com/pelikan-io/pelikan/blob/main/src/protocol/resp/src/request/mod.rs#L89
The text was updated successfully, but these errors were encountered: