This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/1983] socket(s, 1) said to discard sent data
- From: "a.herefishyfishies at yahoo dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 28 Aug 2012 22:17:09 +0000
- Subject: [Bug manual/1983] socket(s, 1) said to discard sent data
- Auto-submitted: auto-generated
- References: <bug-1983-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=1983
herefishy <a.herefishyfishies at yahoo dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |a.herefishyfishies at yahoo
| |dot com
--- Comment #3 from herefishy <a.herefishyfishies at yahoo dot com> 2012-08-28 22:17:09 UTC ---
I am not so sure the manual is wrong, especially for a remote socket vs. on on
the LAN.
Please refer to my bug report, with sample client and server code. By actual
test it demonstrates that, at least for data sizes around 4K bytes, data is
lost unless the connection is deliberately held open by a sleep(1) before
close(socket). This was the case for Linux/CentOS but not Solaris, and was MUCH
more prone to happen on a remote host but not as often (very rarely) on the
local LAN.
http://sourceware.org/bugzilla/show_bug.cgi?id=14500
Examples and statistics are included with the above linked bug report.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.