Retrieve the optional file associated with a Request

The sever is now able to get any optional file descriptor that might
have been sent over with the bytes related to a request. This patch
leverages this ability by extending the Request structure with an
optional File, which might have been received from the byte stream.

With the Request containing an optional File, we give the consumers of
this crate the possibility to receive a file descriptor associated with
the HTTP request.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2021-07-13 10:56:18 +02:00
committed by georgepisaltu
parent 3c4cc3aa91
commit 9517a30037
3 changed files with 34 additions and 4 deletions

View File

@@ -1 +1 @@
{"coverage_score": 93.1, "exclude_path": "", "crate_features": ""}
{"coverage_score": 92.8, "exclude_path": "", "crate_features": ""}