You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS: send / recv of more than INT_MAX bytes fail with EINVAL #7476
macOS rejects socket send/recv lengths above INT_MAX with EINVAL instead of transferring fewer bytes. Fix: cap the length at INT_MAX on macOS.
Should this be done just for the Socket type or for all send/recv calls is up for discussion.
The fix, "[stdlib] Share the macOS read and write length cap with sockets", has landed in Modular's internal repository. This issue closed automatically when it landed, before the change is public.
It will be in the nightly of 20 November 2026 (Mojo 1.3.0.dev2026112005, MAX 26.8.0.dev2026112005) and later builds, and in the next stable releases, Mojo 1.3 and MAX 26.8.
The commit reaches main here with that nightly's export.
If you still see the problem in that nightly or later, please comment here and we will reopen it.
Activity
obadafidii commentedon Nov 15, 2026
Hi @NathanSWard has this been internally fixed or can I pick this up?
modularbot commentedon Nov 19, 2026
The fix, "[stdlib] Share the macOS read and write length cap with sockets", has landed in Modular's internal repository. This issue closed automatically when it landed, before the change is public.
It will be in the nightly of 20 November 2026 (Mojo
1.3.0.dev2026112005, MAX26.8.0.dev2026112005) and later builds, and in the next stable releases, Mojo 1.3 and MAX 26.8.The commit reaches
mainhere with that nightly's export.If you still see the problem in that nightly or later, please comment here and we will reopen it.