net: rename gitno_connection_data to git_net_url
"Connection data" is an imprecise and largely incorrect name; these structures are actually parsed URLs. Provide a parser that takes a URL string and produces a URL structure (if it is valid). Separate the HTTP redirect handling logic from URL parsing, keeping a `gitno_connection_data_handle_redirect` whose only job is redirect handling logic and does not parse URLs itself.
Showing
src/net.c
0 → 100644
src/net.h
0 → 100644
tests/network/redirect.c
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment