mariadb/libmysqld
unknown 0b2a28f5cf BUG#9678: Client library hangs after network communication failure
(back-port to 4.0)

Socket timeouts in client library were used only on Windows.
Additionally, in 4.0 write operations erroneously set read timeout.

The solution is to use socket timeouts in client library on all
systems were they are supported, and to differentiate between read
and write timeouts.

No test case is provided because it is impossible to simulate network
failure in current test suite.


include/violite.h:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
libmysqld/lib_vio.c:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
sql/net_serv.cc:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
vio/viosocket.c:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
  Implement socket timeouts on POSIX systems.
2006-09-18 22:02:06 +04:00
..
examples - added missing copyright headers to several Makefile.am's (noticed 2005-04-19 17:00:05 +02:00
copyright Added all changes from old 4.0 version: 2001-04-11 13:04:03 +02:00
embedded_priv.h New SET syntax & system variables. 2002-07-23 18:31:22 +03:00
lib_sql.cc Additional fix for #12177 (stderr isn't closed) 2005-07-28 17:18:24 +05:00
lib_vio.c BUG#9678: Client library hangs after network communication failure 2006-09-18 22:02:06 +04:00
libmysqld.c Fix for bug #10226 (mysql_get_client_version not implemented) 2005-07-28 19:25:48 +05:00
libmysqld.def Fix to make Windows compilation smoother 2004-05-26 21:40:27 +05:00
libmysqld.rc Adding binary version information for debug/release version of libmysqld.dll 2004-08-25 02:04:45 -03:00
Makefile.am All 'Makefile's must use '$(AR)' (not just 'ar') because the variable may contain options. 2004-08-24 19:05:42 +02:00
resource.h Adding binary version information for debug/release version of libmysqld.dll 2004-08-25 02:04:45 -03:00