Skip to content

v0.1.0

Choose a tag to compare

@hominsu hominsu released this 24 Jan 09:51
· 28 commits to main since this release
4ddef84

Chore

  • add README.md and update Cargo.toml
  • update LICENSE
  • refactor HTTP client to use hyper-util
    • Refactor HTTP handling in http/mod.rs to use hyper_util::client::legacy::Client.
    • Change HTTP connection handling to use Client::builder with specified executor and HTTP1 settings.

New Features

  • add config into HttpProxy
  • impl Default for Config
  • add Connector
  • implement HTTP proxy server functionality
    • Implement an HTTP proxy with CONNECT method support
  • Add a serve module that handles incoming connections, and graceful shutdowns

Other

  • rename

Refactor

  • graceful shutdown
    • Refactor run function to use tokio::select! for concurrent task management.
    • Implement graceful shutdown using watch::channel and Arc.
    • Modify shutdown_signal function to accept a Sender for graceful shutdown.
  • HTTP connector error handling
    • Refactor the HttpConnector to use the new error type.
    • Update the HttpConnector to handle errors more gracefully.
    • Change the HTTP client to use the new HttpConnector.
  • improve configuration management
    • Moved configuration parameters (debug, bind, concurrent) to a central config file.
    • Refactored configuration loading and management.
    • Separated configuration reading from other functions.
  • improve HTTP proxy and server
    • Refactor proxy to use Tokio runtime.
    • Use graceful shutdown for the serve future.
  • rename http::error enum items
  • application for error handling and configuration

Commit Statistics

  • 16 commits contributed to the release over the course of 13 calendar days.
  • 16 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Add README.md and update Cargo.toml (720bc84)
    • Update LICENSE (1ee1f2a)
    • Graceful shutdown (6e42dc5)
    • Add config into HttpProxy (be27e5c)
    • Impl Default for Config (9acce5f)
    • HTTP connector error handling (53332e0)
    • Add Connector (ba49e5a)
    • Refactor HTTP client to use hyper-util (e6c73b8)
    • Improve configuration management (40eecaa)
    • Improve HTTP proxy and server (852180d)
    • Rename http::error enum items (61f14ba)
    • Implement HTTP proxy server functionality (2aafc2c)
    • Implement basic HTTP proxy functionality (0f1d786)
    • Application for error handling and configuration (bc94018)
    • Rename (584e02f)
    • Initial commit (84b545f)