summaryrefslogtreecommitdiff
path: root/src/net.c
Commit message (Collapse)AuthorAgeFilesLines
* net: rename gitno_connection_data to git_net_urlEdward Thomson2019-06-101-0/+184
"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.