Skip to content
Commit b7091ed4 authored by Matt Rodgers's avatar Matt Rodgers Committed by Benjamin Cabé
Browse files

net: http_server: serve resources only for their defined services



Ensure that HTTP resources can only be served to a client connected on
the specific service(s) that the resource was registered against using
the HTTP_RESOURCE_DEFINE macro.

This allows different resources to be registered to different services,
for example to make some resources only available via an HTTPS service
and not via unencrypted HTTP.

Signed-off-by: default avatarMatt Rodgers <mrodgers@witekio.com>
parent 3c88970c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment