mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[MSAFD]
- Handle SO_SNDBUF in WSPSetSockOpt so that it doesn't fall through to wshtcpip and result in "unknown level: 65536". - Added more trace messages. See issue #5477 for more details. svn path=/trunk/; revision=54643
This commit is contained in:
parent
2116571788
commit
f27f17fb97
1 changed files with 12 additions and 0 deletions
|
@ -2203,7 +2203,19 @@ WSPSetSockOpt(
|
|||
sizeof(struct linger));
|
||||
return 0;
|
||||
|
||||
case SO_SNDBUF:
|
||||
if (optlen < sizeof(DWORD))
|
||||
{
|
||||
*lpErrno = WSAEFAULT;
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
/* TODO: The total per-socket buffer space reserved for sends */
|
||||
AFD_DbgPrint(MIN_TRACE,("Setting send buf to %x is not implemented yet\n", optval));
|
||||
return 0;
|
||||
|
||||
default:
|
||||
AFD_DbgPrint(MIN_TRACE,("Unknown optname %x\n", optname));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue