Skip to content
Commit e1e50bdd authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: lib: http_server: Simplify HTTP2 frame header parsing



* Remove unneeded variable.
* Use system utilities to read big endian numbers instead of parsing
  manually.
* Remove `payload` member from the http_frame structure. It's not used
  for anything useful, and could actually be misleading, as in case of
  large frames, where not entire frame is parsed at once it will point
  to incorrect location.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 0c985887
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment