public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14500] socket data is truncated for data length ~ 4-5 K
       [not found] <bug-14500-131@http.sourceware.org/bugzilla/>
@ 2012-08-20 22:57 ` a.herefishyfishies at yahoo dot com
  2012-08-20 22:59 ` a.herefishyfishies at yahoo dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: a.herefishyfishies at yahoo dot com @ 2012-08-20 22:57 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14500

--- Comment #1 from herefishy <a.herefishyfishies at yahoo dot com> 2012-08-20 22:57:00 UTC ---
Created attachment 6595
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6595
C client to test the server

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14500] socket data is truncated for data length ~ 4-5 K
       [not found] <bug-14500-131@http.sourceware.org/bugzilla/>
  2012-08-20 22:57 ` [Bug libc/14500] socket data is truncated for data length ~ 4-5 K a.herefishyfishies at yahoo dot com
@ 2012-08-20 22:59 ` a.herefishyfishies at yahoo dot com
  2013-01-15 10:46 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: a.herefishyfishies at yahoo dot com @ 2012-08-20 22:59 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14500

--- Comment #2 from herefishy <a.herefishyfishies at yahoo dot com> 2012-08-20 22:58:50 UTC ---
Created attachment 6596
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6596
php client also can be used to test the server

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14500] socket data is truncated for data length ~ 4-5 K
       [not found] <bug-14500-131@http.sourceware.org/bugzilla/>
  2012-08-20 22:57 ` [Bug libc/14500] socket data is truncated for data length ~ 4-5 K a.herefishyfishies at yahoo dot com
  2012-08-20 22:59 ` a.herefishyfishies at yahoo dot com
@ 2013-01-15 10:46 ` schwab@linux-m68k.org
  2013-01-15 11:14 ` fweimer at redhat dot com
  2014-06-17  5:57 ` fweimer at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-15 10:46 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14500

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> 2013-01-15 10:46:27 UTC ---
glibc is not involved in socket I/O, so if anything is wrong it is either the
test program or the kernel.

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14500] socket data is truncated for data length ~ 4-5 K
       [not found] <bug-14500-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-01-15 10:46 ` schwab@linux-m68k.org
@ 2013-01-15 11:14 ` fweimer at redhat dot com
  2014-06-17  5:57 ` fweimer at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2013-01-15 11:14 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14500

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> 2013-01-15 11:14:21 UTC ---
(In reply to comment #0)
>     //send a request
>     nbytes = send(s, msg, n, 0); //some request
>     if (nbytes < 0) {perror("send");return 1;}

You should check the value of nbytes.

Closing a streaming socket which still has unread data will abort the
connection.  Connection aborts are delivered out of order.  Perhaps this is
what you're seeing.  (Stevens' UNIX Network Programming covers this corner case
quite well.)

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14500] socket data is truncated for data length ~ 4-5 K
       [not found] <bug-14500-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-01-15 11:14 ` fweimer at redhat dot com
@ 2014-06-17  5:57 ` fweimer at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17  5:57 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=14500

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-17  5:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-14500-131@http.sourceware.org/bugzilla/>
2012-08-20 22:57 ` [Bug libc/14500] socket data is truncated for data length ~ 4-5 K a.herefishyfishies at yahoo dot com
2012-08-20 22:59 ` a.herefishyfishies at yahoo dot com
2013-01-15 10:46 ` schwab@linux-m68k.org
2013-01-15 11:14 ` fweimer at redhat dot com
2014-06-17  5:57 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).