-
Notifications
You must be signed in to change notification settings - Fork 179
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
network: address (+domain) attributes have confusingly inconsistent meanings #206
Comments
@Oberon00 could you please propose specific changes you'd like to see? |
I mentioned some specific points I think are odd, and overall there is a lack of symmetry. One concrete suggestion I can add: Move the current source/destination.address to source/destination.socket.address. Add a new source/destination.address that is equivalent to client/server.address. Of course before that, client.address should be made symmetrical to server.address. (For example add to server.address: "When observed from the client side, and when communicating through an intermediary, server.address SHOULD represent server address behind any intermediaries (e.g. proxies) if it's available.", or remove the equivalent from client.addrress) |
this is done now (#244) |
I created #254 for this |
|
I've opened #255 for this |
@Oberon00 can you check that I've accurately captured your remaining concerns about client/server/source/destination in these issues (and we can close this issue)? |
@Oberon00 it would be really helpful if you could take another pass and confirm that your concerns are covered by the 4 issues above, thx! |
Hi, I will take a look by tomorrow at the same time |
Going over the conventions again I think indeed all the old points are addressed or captured in issues! Thank you @trask! I added two PRs for two of the open issues. I also found these points, but they probably don't justify keeping the issue open:
Feel free to close this issue here. |
It seems that server/client.socket.address are equivalent to source/destination.address while there is no attribute with equivalent meaning of server/client.address for source/destination (most closely seems to be source/destination.domain, which also exists under server/client.socket, but which seems to be defined solely for DNS names (why?), while server/client.address is more generic)
The
*.address
attributes:The closely related
*.domain
attributes:This seems all rather messy to me, there is barely any any attribute pair with the symmetry I would have expected.
CC @lmolkova @jsuereth
I feel like this should be addressed before stabilization (though the HTTP-specific meaning is hopefully clear enough given the additional context there so I wouldn't say it's a blocker for stabilizing HTTP -- might want to add a note that details regarding proxy address semantics might change though)
The text was updated successfully, but these errors were encountered: