-
-
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 |
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: