Revision: 7288

Author:   muggenhor
Date:     2009-05-03 15:16:34 +0000 (Sun, 03 May 2009)

Log Message:
Change write_all such that it will always return "size" or -1 (error)

 * Check for write_all() == -1 (error) instead of "< 0" and "!= size" to
   see whether sending has failed.
 * Don't just mark sockets as "invalid" on error (by setting them to
   NULL), close them as well.
 * Give decent error messages on write failure (most likely a disconnect)

Addresses #435

Modified Paths:

This was sent by the collaborative development platform, the 
world's largest Open Source development site.

Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3.
Warzone2100-commits mailing list

Reply via email to