mariadb/vio
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
..
docs Fixed searching after ssl directories. 2002-09-05 16:17:08 +03:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am - added missing file vio_priv.h to source distribution 2003-08-27 12:26:21 +02:00
test-ssl.c Added patches from Novell 2004-05-25 22:00:14 +03:00
test-sslclient.c Fixes for Netware 2003-01-28 08:38:28 +02:00
test-sslserver.c - Applied some portability fixes for SGI IRIX/MipsPro compiler 2004-06-22 17:35:34 +02:00
vio.c Fixes bug #5588. vio_was_interrupted() function was added to detect 2005-08-30 19:19:28 +04:00
vio_priv.h vio ssl structure renames (to get rid of ending _) 2003-08-27 02:51:39 +03:00
viosocket.c BUG#9678: Client library hangs after network communication failure 2006-09-18 22:02:06 +04:00
viossl.c Always call vio_in_addr() so that thd->remote is 2005-01-25 12:06:55 -08:00
viosslfactories.c Added patches from Novell 2004-05-25 22:00:14 +03:00
viotest-ssl.c Fixes for Netware 2003-01-28 08:38:28 +02:00
viotest-sslconnect.cc Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00
viotest.cc Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00