Skip to content

Deprecate System.udpMaxSegments#3541

Merged
Lukasa merged 2 commits intoapple:mainfrom
glbrntt:deprecate-udp-max-segments
Mar 9, 2026
Merged

Deprecate System.udpMaxSegments#3541
Lukasa merged 2 commits intoapple:mainfrom
glbrntt:deprecate-udp-max-segments

Conversation

@glbrntt
Copy link
Copy Markdown
Contributor

@glbrntt glbrntt commented Mar 9, 2026

Motivation:

System.udpMaxSegments purports to expose the value of UDP_MAX_SEGMENTS. However this doesn't appear to be part of the UAPI so it always returns nil.

Modifications:

  • Deprecate System.udpMaxSegments
  • Remove the C shim
  • Update tests

Result:

After your change, what will change.

Motivation:

System.udpMaxSegments purports to expose the value of UDP_MAX_SEGMENTS.
However this doesn't appear to be part of the UAPI so it always returns
nil.

Modifications:

- Deprecate `System.udpMaxSegments`
- Remove the C shim
- Update tests

Result:

After your change, what will change.
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Mar 9, 2026
@Lukasa Lukasa enabled auto-merge (squash) March 9, 2026 14:52
@Lukasa Lukasa merged commit 57a73c6 into apple:main Mar 9, 2026
51 of 55 checks passed
@glbrntt glbrntt deleted the deprecate-udp-max-segments branch March 9, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants