mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[0.4.13] Revert "[MSAFD] Implement socket options SO_SNDBUF and SO_RCVBUF"
To avoid CORE-15804 MSTSC fails to connect with error "ERROR: Bad packet header"
This reverts commit 0.4.12-dev-752-g
6bc61f63f1
.
like last release
This commit is contained in:
parent
c722bc867e
commit
45dbb08422
1 changed files with 4 additions and 30 deletions
|
@ -2866,21 +2866,8 @@ WSPSetSockOpt(
|
|||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
SetSocketInformation(Socket,
|
||||
AFD_INFO_SEND_WINDOW_SIZE,
|
||||
NULL,
|
||||
(PULONG)optval,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
GetSocketInformation(Socket,
|
||||
AFD_INFO_SEND_WINDOW_SIZE,
|
||||
NULL,
|
||||
&Socket->SharedData->SizeOfSendBuffer,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
/* TODO: The total per-socket buffer space reserved for sends */
|
||||
ERR("Setting send buf to %x is not implemented yet\n", optval);
|
||||
return NO_ERROR;
|
||||
|
||||
case SO_RCVBUF:
|
||||
|
@ -2890,21 +2877,8 @@ WSPSetSockOpt(
|
|||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
SetSocketInformation(Socket,
|
||||
AFD_INFO_RECEIVE_WINDOW_SIZE,
|
||||
NULL,
|
||||
(PULONG)optval,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
GetSocketInformation(Socket,
|
||||
AFD_INFO_RECEIVE_WINDOW_SIZE,
|
||||
NULL,
|
||||
&Socket->SharedData->SizeOfSendBuffer,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
/* TODO: The total per-socket buffer space reserved for receives */
|
||||
ERR("Setting receive buf to %x is not implemented yet\n", optval);
|
||||
return NO_ERROR;
|
||||
|
||||
case SO_ERROR:
|
||||
|
|
Loading…
Reference in a new issue