Skip to content
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

Add supported for scoped IPv6 link-local address #160

Merged
merged 2 commits into from
Jul 28, 2024
Merged

Add supported for scoped IPv6 link-local address #160

merged 2 commits into from
Jul 28, 2024

Conversation

notroj
Copy link
Owner

@notroj notroj commented Jul 28, 2024

No description provided.

notroj added 2 commits July 28, 2024 14:05
* src/ne_socket.c (ne_iaddr_set_scope, ne_iaddr_get_scope):
  New functions.

* src/ne_socket.h: Declare above; note that ne_iaddr_cmp() ignores
  scopes.

* macros/neon.m4 (NEON_COMMON_CHECKS): Check for if_nametoindex &
  if_indextoname functions, <net/if.h>.

* src/neon.vers: Add new functions for 0.34.

* test/uri-tests.c (parse): Test parsing RFC 6874 syntax.

* src/ne_uri.c (ne_uri_parse): Comment updates only.

* test/socket.c (scopes): Add minimal tests.
in ne_session_create(); but omit the zone ID in Host: headers used
over the wire due to the omission from RFC 9110.

* doc/ref/sess.xml, doc/using.xml,
  src/ne_session.h (ne_session_create): Update docs accordingly.

* src/ne_session.c (set_hostinfo): Parse and handle scoped literal v6
  addresses, but strip the zone from the stored hostname.
@notroj notroj merged commit 532ba27 into master Jul 28, 2024
170 of 194 checks passed
@notroj notroj deleted the scope-ids branch July 28, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant