micro_http: gracefully handle EINTR

EINTR errors should not break the HttpServer requests loop,
they are internally consumed and reported as no events rather
than requests errors.

Signed-off-by: Adrian Catangiu <acatan@amazon.com>
Signed-off-by: YUAN LYU <lyuyuan92@gmail.com>
This commit is contained in:
Adrian Catangiu
2020-03-17 23:25:09 +02:00
committed by Adrian Catangiu
parent 7eb11b44cb
commit d288940391
2 changed files with 6 additions and 4 deletions
+1
View File
@@ -109,6 +109,7 @@
//! }
//! ```
extern crate libc;
extern crate utils;
mod common;