We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
see
https://chromium.googlesource.com/chromium/src/net/+/refs/heads/main/socket/udp_socket_posix.cc
//setsockopt(IP_DONTFRAG)issupportedonmacOSfromBigSur #elifBUILDFLAG(IS_MAC) if(!base::mac::IsAtLeastOS11()){ returnERR_NOT_IMPLEMENTED; } intval=1; if(addr_family_==AF_INET6){ intrv= setsockopt(socket_,IPPROTO_IPV6,IPV6_DONTFRAG,&val,sizeof(val)); //IP_DONTFRAGisnotsupportedonv4mappedaddresses. returnrv==0?OK:MapSystemError(errno); } intrv=setsockopt(socket_,IPPROTO_IP,IP_DONTFRAG,&val,sizeof(val)); returnrv==0?OK:MapSystemError(errno); ```
The text was updated successfully, but these errors were encountered:
@gcxfd do you mean you would like a function that sets this flag? If so, such a change would be welcome.
Sorry, something went wrong.
I have put a patch to add this in: #487
Only tested on Linux.
I have put a patch to add this in: #487 Only tested on Linux.
Can you please send a pull requests?
No branches or pull requests
see
https://chromium.googlesource.com/chromium/src/net/+/refs/heads/main/socket/udp_socket_posix.cc
The text was updated successfully, but these errors were encountered: