-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
fixed VirtioSocketConnection impl #80
Conversation
Because (*VirtioSocketConnection).Conn.LocalAddr() and (*VirtioSocketConnection).LocalAddr() are different. RemoteAddr method too.
Do you have more details about this bug? In short, I don't understand what the problem was, the code before this PR looks correct to me :( |
Your example is mistaken. |
This also works as expected? If defined, the methods from the |
Yes, Instead of returning an interface, the library returns the struct as is. The standard Go library does not return address information in vsock format. Therefore, you need to create your own library in the same way as this one. Before the modification, the address information available from the exported I'm committing to this library in my spare time (because not my main work for this) and I hate doing this explanation so much because it's a waste of my time. And Some people just make bad issues and it's unpleasant for me. 😢 Why do I need to elaborate on this to such people? I want to focus on the issues I need to work on now. (However, @cfergeau You have been a contributor for a long time, so I explained.) |
Thanks a lot for coping with me, this is appreciated! This is the part I was missing. It's not a technical issue you were solving, you were improving the external API. I thought there was a bug I did not see! For what it's worth, this can also be solved with:
This way, you don't need to reimplement Read/Write/Close/...
I know it annoys you, but you have similar expectations when someone contributes external code. If something is not clear to you, you will ask for clarifications, or ask for a detailed issue. This is good, but a side effect is that sometimes people will be looking for clarifications regarding your code. |
Thank you for everything you do for me too. I don't intend to modify the code you have presented as it is a matter of writing preference.
I am not at all uncomfortable explaining this to people outside the crc members. I feel bad because of an issue that someone makes on a personal emotional level.
|
Because (*VirtioSocketConnection).Conn.LocalAddr() and (*VirtioSocketConnection).LocalAddr() are different. RemoteAddr method too.