mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user