acatangiu 3c5d9407d3 Add kill switch functionality
Added shutdown event-fd acting as a kill switch actionable from
outside the micro-http server.

Needed to be able to break out of the inner epoll_wait on demand.

This can be used to signal the micro-http server running on a
dedicated thread that it needs to shut down.

Co-authored-by: acatangiu <adrian.catangiu@gmail.com>
Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
2023-08-24 17:56:59 +01:00
2020-01-30 15:21:04 +02:00
2020-03-24 18:22:44 +02:00
2023-01-27 09:51:25 +02:00
2023-08-24 17:56:59 +01:00
2020-07-23 18:17:33 +03:00
2020-01-30 15:21:04 +02:00
2022-06-13 09:39:48 +03:00
2023-01-11 11:27:26 +02:00
2022-11-22 12:15:22 +02:00
2020-03-24 18:22:44 +02:00
2020-03-24 18:22:44 +02:00
2022-06-13 09:39:48 +03: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.

As micro-http uses std::os::unix this crates only supports Unix-like targets.

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%