diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-07-01 13:16:17 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-07-01 13:16:17 +0400 |
commit | 975a630109864fdb17fe3ea17365be512213a45c (patch) | |
tree | 47a8a738b77309ce4eec67d734a2e17ec8af6cd5 /winsup/w32api | |
parent | b4fa8164748f263f152f8ec26bf361fa2d364737 (diff) |
* fhandler.h (class fhandler_socket): Add class members and methods
to store and retrieve the SO_RCVBUF and SO_SNDBUF sizes.
* fhandler_socket.cc (fhandler_socket::dup): Duplicate new members.
(fhandler_socket::send_internal): Check for SO_SNDBUF size and
restrict send to 1 byte less per KB 823764. Leave loop immediately
if WSASendMsg has been used.
* net.cc (fdsock): Change comment again. Set buffer sizes to 65536.
Store values in fhandler_socket.
(cygwin_setsockopt): Store SO_RCVBUF and SO_SNDBUF sizes in
fhandler_socket.
(cygwin_sendto): Drop call to sig_dispatch_pending.
(cygwin_recvfrom): Ditto.
(cygwin_recvmsg): Ditto.
(cygwin_sendmsg): Ditto.
Diffstat (limited to 'winsup/w32api')
0 files changed, 0 insertions, 0 deletions