-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Replace "unix" by "http+unix" for PROTOCOL #17771
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit I misread the pr I see that "unix" is still supported.
Is this really worth doing? I'd prefer if we could get host and port merged in to an ADDRESS value and then we'd be able to detect if we need to use a unix or a tcp port by the ADDRESS. Then protocol can drop all of the unix variants. |
I may be missing something, but a ADDRESS value wouldn't be sufficient, as you still need to specify if that's FCGI or HTTP (or a future protocol), no ? |
Yes you would still need the protocol field but the weird +unix variants would be unnecessary |
Yeah, I agree, this would be better. having each potential protocol being double is not elegant and would make doc more complex quite fast if a new protocol is added (eg, something to replace FastCGI). |
Keep note that |
This change is fine to me. zeripath's suggestion about "get host and port merged in to an ADDRESS" is pretty good. So should we wait for the new work about unified ADDRESS, or get this PR merged first? (I marked this PR as |
I feel that the ADDRESS change would requires a longer design discussion. |
I rebased, but I think it requires a quick re-review |
@zeripath @techknowlogick how do you think? |
Bump. If still no objection in 2 days, maybe we can get this PR merged. |
yeah I think we should merge as is and address the address issue at another point. |
This comment has been minimized.
This comment has been minimized.
So do you want to remove the |
Fixes #9318