Liu Jiang c9ffb90aeb Handle ErrorKind::Interrupted when doing stream IO
When doing IO with the underlying stream object, we should handle
the special case of ErrorKind::Interrupted, otherwise the connection
will be closed incorrectly.

Quotation from Rust doc:
An error of the [`ErrorKind::Interrupted`] kind is non-fatal and the
read operation should be retried if there is nothing else to do.

Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2020-04-27 09:41:16 +03:00
2020-01-30 15:21:04 +02:00
2020-03-24 18:22:44 +02:00
2020-01-30 15:21:04 +02:00
2020-01-30 15:21:04 +02:00
2020-01-27 12:28:50 +02:00
2020-03-30 13:52:34 +03:00
2020-03-24 18:22:44 +02:00
2020-03-24 18:22:44 +02:00
2020-03-24 18:22:44 +02:00
2020-03-24 18:22:44 +02:00

micro-http

This is a minimal implementation of the HTTP/1.0 and HTTP/1.1 protocols. This HTTP implementation is stateless thus it does not support chunking or compression.

The micro-http implementation is used in production by Firecracker.

Contributing

To contribute to micro-http, checkout the contribution guidelines.

Releases

New micro-http versions are released via the GitHub repository releases page. A history of changes is recorded in our changelog.

Policy for Security Disclosures

If you suspect you have uncovered a vulnerability, contact us privately, as outlined in our security policy document; we will immediately prioritize your disclosure.

Description
No description provided
Readme Apache-2.0 331 KiB
Languages
Rust 100%