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
ensure that partial reads from recv don't trip up rendering (#469)
* ensure that partial reads from recv don't trip up rendering
* Fixed logic & applied styling standard
* Now that we are allowing `short reads`, we need to not re-zero `resp` in
the loop
* We need to cast `&resp` for the `recv` call in order to advance the memory
address as expected
* We should handle `EINTR` `errno`s
* We need to break if an unexpected response type/etc. is received
* In order to later prevent following the `if (ret <=0)` path
---------
Co-authored-by: David Hummel <6109326+hummeltech@users.noreply.github.com>
0 commit comments