Skip to content
Commit 2d0e7bc7 authored by Robert Lubos's avatar Robert Lubos Committed by Alberto Escolar
Browse files

samples: net: http_server: Fix assertion on dynamic upload abort



The buffer pointer provided to the dynamic handler  should be verified
after checking the transaction status. In case upload was aborted and
underlying connection closed, the callback will get
HTTP_SERVER_DATA_ABORTED status w/o a pointer to any data.

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