Skip to content

connectdata: remove primary+secondary ip_quadruple#17960

Closed
icing wants to merge 6 commits intocurl:masterfrom
icing:rm-conn-ipqauds
Closed

connectdata: remove primary+secondary ip_quadruple#17960
icing wants to merge 6 commits intocurl:masterfrom
icing:rm-conn-ipqauds

Conversation

@icing
Copy link
Contributor

@icing icing commented Jul 18, 2025

Since the content varies during connection setup and while doing it (eyeballing), remove these strcut from connectdata and replace use with querying the connection filters. Those keep that information already.

Change the info logging of established connections to also give the local address and port.

else
#endif
DEBUGASSERT(Curl_conn_http_version(data, conn) == 20);
DEBUGASSERT(Curl_conn_http_version(data, conn) == 20);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, the line belongs to the else branch, depending on config. I wonder if there is a way to make this more clear. Perhaps dulicate the line to make it more explicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure myself how this is supposed to work/what is exactly checked. But that is outside of what this PR changes. I'd like to keep this out of here.

@icing icing requested a review from bagder July 18, 2025 12:48
icing added 6 commits July 28, 2025 16:22
Since the content varies during connection setup and
while doing it (eyeballing), remove these strcut from
`connectdata` and replace use with querying the connection
filters. Those keep that information already.

Change the info logging of established connections to also
give the local address and port.
@icing icing force-pushed the rm-conn-ipqauds branch from a221035 to 8f4d106 Compare July 28, 2025 14:31
@icing icing requested a review from bagder July 30, 2025 05:49
@bagder bagder closed this in 83da4d9 Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants

Comments