Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tiny-http/tiny-http
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.11.0
Choose a base ref
...
head repository: tiny-http/tiny-http
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.12.0
Choose a head ref
  • 7 commits
  • 22 files changed
  • 6 contributors

Commits on Mar 25, 2022

  1. Add support for UNIX sockets

    Breaking change.
    
    * Implement a new module `connection`, which abstracts `std::net` types into ones that can use
      `std::os::unix::net` types on Unix platforms.
    * Change `ServerConfig::addr` to a new, abstracted type and add `http_unix` method.
      `http` and `https` methods are unchanged and should still work.
    * `Request::remote_addr` now returns `Option<&SocketAddr>`. This is `Some` for TCP servers and
      `None` for UNIX servers (since UNIX remote sockets are almost always unnamed).
    ColonelThirtyTwo committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    789e1c1 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. Update log dependency to 0.4.4

    Some valid versions of log 0.4.x don't work with Rust 2018 idioms so
    update the version specifier here to require at least 0.4.4
    bradfier committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    b9d9e8a View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Use ^1 zeroize

    This PR allows the dependency on `zeroize` to float amongst whatever stable version might be in use by the project including this library. Not allowing it to float leads to incompatibilities with widely-used crates like `x25519-dalek` and `rsa`, which have older versions on pre-1.5 versions of `zeroize`.
    nhynes authored and bradfier committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    dd9c8dd View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

  1. Remove the 'static requirement on TestRequest::path

    With 'static, one can only use static string slices, which makes it
    impossible to test with urls generated at runtime, such as ones
    generated by a fuzzer.
    
    This change is backwards-compatible, because it only relaxes the
    requirements on `with_path`, and although the type of the field changed,
    that field is not exposed.
    
    This doesn't incur an extra copy either. The copy was already there,
    it only got moved out of `into` and into `with_path` now.
    ruuda authored and bradfier committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    f0fce7e View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. remove unused url dependency, switch to httpdate

    put the test back
    
    format
    esheppa committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    c2a38ad View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Merge pull request #228 from esheppa/use-httpdate

    Reduce dependencies, switch to `httpdate` crate
    bradfier authored Oct 5, 2022
    Configuration menu
    Copy the full SHA
    87b00a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. Prepare for 0.12.0 release

    bradfier committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    212b1c4 View commit details
    Browse the repository at this point in the history
Loading