diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-08-01 13:00:53 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-08-01 13:00:53 +0400 |
commit | e665b0aab220943787f42aa12690ff8f5e46f135 (patch) | |
tree | 2322fde4f99bbccdf2fe89b75805be4a1c4389e9 /winsup/w32api | |
parent | 01d9574ddd98856285c85b6f71a0066685fe4790 (diff) |
* fhandler.h (fhandler_socket::recv_internal): Add bool parameter.
Add regparm attribute.
* fhandler_socket.cc (fhandler_socket::read): Call recv_internal with
second parameter set to false.
(fhandler_socket::readv): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recv_internal): Convert use_recvmsg from local
variable to parameter. Use as request for using WSARecvMsg. Only
fail if WSARecvMsg can't be loaded and wsamsg->Control.len > 0,
otherwise use WSARecv{From}. Restrict dwFlags to MSG_PEEK when using
WSARecvMsg.
(fhandler_socket::recvmsg): Prefer using WSARecvMsg. Change priority
of tests for not using WSARecvMsg. Call recv_internal with second
parameter set accordingly.
Diffstat (limited to 'winsup/w32api')
0 files changed, 0 insertions, 0 deletions