-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Update to hyper 0.12 #88
Conversation
d692afc
to
b3a57cc
Compare
b3a57cc
to
e3c70ca
Compare
Wow awesome! I'll dig into both these changes starting with hyperlocal. This is a hide weight off my shoulders |
No problem, thanks for writing such a great library! Here's a few extra notes on this PR
|
heads up published hyperlocal with the hyper version upgrades in hyperlocal@0.5.0 |
Hi, is there anything I can do to help this move forward? In particular, I'm interested in the handling of the 304 status code which I've run into as well... |
Also, I gave this branch a try but my app hangs on startup, presumably when trying to connect to the docker daemon over a Unix socket. I haven't investigated much yet but I'll see if I can figure out what's wrong. |
So I did a bit of digging. The "good" news is I can reproduce it simply by running the shiplift's examples, i.e. I think I've tracked down the code that hangs to this line: 1b8e837#diff-ec7d691b5cafdc631a44bf41efa29e95R114 The The fact that it works for I'll keep investigating a bit, but any help is welcome :) |
I've updated shiplift to Hyper 0.12.
The biggest problem was the
hyperlocal
dependency, which hasn't been updated in several months.One issue caused by this is the fact that
hyper::Uri
cannot parse unix socket URIs starting with a/
."unix:///foo".parse().unwrap()
will always trigger a parse error.In order to update this crate to 0.12,
hyperlocal
must also be updated to hyper 0.12. I've done that in softprops/hyperlocal#11, which has not landed yet.This merge request cannot be merged until the hyperlocal PR has been merged and released to crates.io.
I also added support for the
304 Not Modified
status code, which I encountered from Docker whilst creating containers.