hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
218 stars 20 forks source link

Use only a single thread #85

Closed hjr3 closed 7 years ago

hjr3 commented 7 years ago

This is testing much faster than using multiple threads (due to the lack of mutex lock contention for the pool). I was also able to remove rustful from the management API scope so we only have one version of hyper.

I have a few open items to fix:

yanns commented 7 years ago

Can we also remove the dependencies.rustful dependency in cargo.toml?

hjr3 commented 7 years ago

@yanns the test-server.rs code uses rustful. i added a note to fix or remove that so we can remove the rustful dependency.

yanns commented 7 years ago

@hjr3 OK thx for the explanation. Then we can at least move the dependency to dev-dependencies. rustful?

hjr3 commented 7 years ago

@yanns yes, I will either move the rustful dep to dev-deps or remove the need for the dep prior to merge.

hjr3 commented 7 years ago

one step closer!