-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to open device and start HTTP server before notifying the user
We try to open the device and start the HTTP server to handle requests before sending the startup message to the calling process. Before this modification, the startup message was always sent before opening the disk and the start of the HTTP server. And it could cause several invalid HTTP requests if no server was reachable on any machine. The goal is to quickly notify the calling process and to be sure to always have a running server before sending requests. We try to prevent HTTP errors like "Destination Host Unreachable". Signed-off-by: Ronan Abhamon <[email protected]>
- Loading branch information
Showing
1 changed file
with
94 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters