mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-13 16:32:56 +00:00
## Problem Storage controller uses unencrypted HTTP requests for safekeeper management API. - Closes: https://github.com/neondatabase/cloud/issues/24836 ## Summary of changes - Replace `hyper0::server::Server` with `http_utils::server::Server` in safekeeper. - Add HTTPS handler for safekeeper management API.
14 lines
430 B
Rust
14 lines
430 B
Rust
pub mod endpoint;
|
|
pub mod error;
|
|
pub mod failpoints;
|
|
pub mod json;
|
|
pub mod request;
|
|
pub mod server;
|
|
pub mod tls_certs;
|
|
|
|
extern crate hyper0 as hyper;
|
|
|
|
/// Current fast way to apply simple http routing in various Neon binaries.
|
|
/// Re-exported for sake of uniform approach, that could be later replaced with better alternatives, if needed.
|
|
pub use routerify::{RequestServiceBuilder, RouterBuilder, RouterService, ext::RequestExt};
|