-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
hyper/http 1.0 bumps #1352
hyper/http 1.0 bumps #1352
Conversation
WIP Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
Hey @clux - seeing this is help wanted, can you suggest specifics? Do you want someone to take over this PR? |
rustls also has a breaking change w.r.t. dangerous features - should just exist now. Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
@aviramha sorry, have not had time to think about this until today. appreciate the initiative. after looking at it a bit tonight, i am thinking that it's worrying how the scope of this upgrade keeps growing; more and more libs are piling on breaking changes (e.g. rustls 0.22) - and if we wait for the hole ecosystem (currently missing hyper-socks2) then we might put ourselves in a bad spot. if you are able to help out on the fringes with in the meantime, i plan on spending some time this week to try to get this to compile (insofar as possible - taking out hyper-socks2 if necessary). |
I started by creating an issue to see if author would accept PRs or we need to fork |
ark0f/hyper-socks2#14 |
Signed-off-by: clux <[email protected]>
Let me know if any more help is needed! |
Signed-off-by: clux <[email protected]>
going to experiment some more in this direction tomorrow Signed-off-by: clux <[email protected]>
Thanks a lot for the help! Your PR has at least unblocked it from a dependency standpoint. Currently the main thing we need to decide is what interface to make work to in terms of the actual
then in will be experimenting more with an Buffer<BoxService<Request<Bytes>, Response<BodyStream<Bytes>>, BoxError>, Request<Bytes>> tomorrow.. ..but getting some very difficult error messages from client/mod.rs (even in just |
You're welcome. I appreciate your work :) I'm going to be a bit radical, which might be because I'm ignorant but why do we need The or I think I now understand why we need it, but can't we make the Body generic? or maybe use |
trying to focus on the streaming part first Signed-off-by: clux <[email protected]>
Yeah, I am trying to go down a inner: Buffer<
BoxService<Request<Bytes>, Response<BodyStream<BoxBody<Bytes, BoxError>>>, BoxError>,
Request<Bytes>,
>, which does get Now.. the problem is more to get the various |
Signed-off-by: clux <[email protected]>
… builder + mod Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
ok... i am going to give up on this in its current form. it's too painful for me to overcome the pain threshold of actually battling with what amounts to a few compiles a day with this method so will stop pretending to myself that i'll get to this "any day now" because it's just DoSing myself from working on kube instead. some things that are problematic that i've found:
imo a less painful way forward for someone could be to make a PoC basic client first (outside the kube codebase) and make that work first with single simple query first, rather than commenting out everything here to make it compile because you just end up substituting one giant confusing compiler error (referencing some trait bound not found 3 steps down the line) for another. then gradually increase complexity, and functionality. it doesn't need to do everything, but at some point it needs to do both basic requests and streams and http ugrades. tower and generic wrappers can come later. hopefully someone smarter than me can help out with this because i need to step away from this and do some more productive issue management (and this is not a good use of my time atm). |
WIP for #1351. Still failing. See comments in #1351.