-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Cargo release 0.9.0 #66
Comments
Just poking here in hopes this simply got buried. I'd be happy to help with maintenance or anything needed to get a new release out. |
Hi there. I'm testing this and when I run the server and then the client I get any ideas @iamjpotts ? |
Note I do get a listening server and a response on the client. I just didn't understand the semantics of the error reported, if it is an error or not ect |
What operating system? Can you provide a minimum repro code snippet? |
osx
this is me running the examples in that live in the repo from the usage docs https://github.com/softprops/hyperlocal?tab=readme-ov-file#usage |
I am able to reproduce the issue on osx 14 (Sonoma) but not Ubuntu 20.04.
|
If in the example client I add a There are very few references to For the If not, I may be at the limit of my knowledge of |
#67 treats the disconnect as a success, but I am not sure this is the proper approach. It turns out that |
@fussybeaver what are your thoughts on the behavior of |
I can reproduce this behaviour on an OSX machine. If I add https://docs.rs/hyper/latest/hyper/server/conn/http1/struct.Builder.html#method.half_close |
A similar issue was reported in #61 for version 0.8.0 (the currently published version of the crate that is several years old). I suspect, though waiting for confirmation, that the individual who reported the issue in #61 is also on OSX. This seems to be a behavior of OSX and some other operating systems (excluding Linux and Windows) - that if the client closes the connection, the server will get an A very old Node.js PR mentions this: nodejs/node@d5b32246fb The
Basically |
@fussybeaver I did not see any change in behavior on OSX on the server when setting When you set |
@iamjpotts I realise after adjusting the There's a comment in the hyper_util codebase around keep alive and unsafe raw file pointer handling: https://github.com/hyperium/hyper-util/blob/61724d117163adf2195c701fa8e06f5c22c0a64d/src/client/legacy/connect/http.rs#L680-L682 |
I'm currently working on a crate named |
I could get behind that.. or if @iamjpotts takes over the regular maintenance/release of this crate, since it works fine. A stable and compatible connection pooling implementation would be quite useful, as hyper_util's one has issues... |
Interesting. What are the issues with hyper_util's Client? |
Also, I don't see why the server part of hyperlocal shouldn't be removed or at least deprecated. As far as I've seen, it's trivial to bind to unix instead of tcp in hyper v1 |
There is/(was?) a race condition in the Hyper connection pool that was carried over from the pre-1.x Hyper versions, possibly there's some movement to fix it lately, but as yet not sure it works, as documented here: hyperium/hyper#2312 As to your later question, I think the crate is mainly on life support and needs a revival / new maintainer |
I do not have any particular affinity to I thought it would be good to keep maintaining an existing crate if the current maintainer wants to continue shepherding it and publishing releases. It seems ready for a If |
Hi folks, sorry for the delay. I just pushed up 0.9.0 to crates.io. |
Happy to see this crate integrate with the latest Hyper release in #65 . This is working well with my testing. Is there any remaining work to publish to crates.io ?
Would be keen to see a 0.9.0 release. Grateful for any time spent on this.
@softprops
The text was updated successfully, but these errors were encountered: