-
Notifications
You must be signed in to change notification settings - Fork 183
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
Make Transport covered by semver #952
Comments
Hi @algesten I lately worked extensively with the ureq crate (3.0.0-rc4) to implement both In the code you can see I am implementing a custom To e.g retrieve input I read the buffer from ureq and send it to the read-stream from the Arti connection. Implementing I hope that by sharing my implementation I provided some extra insight on how I am also looking forward to a notice about when |
@NielDuysters thank you! Very nice feedback indeed. I promise to notify you on any developments on the semver status. I'll make a point of pinging you if there are any breaking changes coming along in Connector/Transport/Resolver. They will not happen in patch releases. Only minor. |
We were able to migrate to the upstream The transport API allowed us to:
One thing that does not concern us but could be impactful to some other users: there doesn't appear currently to be any way to pass per-request configuration to a transport beyond the currently available config flags (for example wanting to disable keepalive for a specfic request). I'm not sure what a API for that would look like. |
Nice!
Feels like you should be able to wrap
Also note that there is now another way to do that.
I think generally
You could maybe use http crate extensions API to squirrel away bespoke config. Thanks for the feedback! |
Thanks, I didn't see that. But what we need to modify is not the
Yes, I looked into that, but currently the
I moved to doing that. It works fine but it's harder to make work with dependencies that expect to be given a
Thanks. Keeping that in mind for the future! |
I think socket2 has a way to convert back/forth between |
It currently sits under
unversioned
to reserve our rights to break compatibility. This issue serves as a place holder for discussion of what needs to happen to move it out fromunversioned
.The list of currently known things to do:
Transport
is to implement by someone outside of ureq crate. Ideally someone would try publishing a crate likeureq-mbedtls
to provide an alternative TLS implementation, orureq-uds
for unix domain sockets instead of the regular built-inTcpSocket
.LazyBuffers
? There's an implicit contract for how to use it correctly, and it is quite complicated. It would be interesting to explore design patterns or even radically other architectural ideas of how to make the contract explicit.The text was updated successfully, but these errors were encountered: