Richard Levitte
ab69ac00f3
Refactoring BIO: Adapt s_client and s_server
...
s_socket.c gets brutally cleaned out and now consists of only two
functions, one for client and the other for server. They both handle
AF_INET, AF_INET6 and additionally AF_UNIX where supported. The rest
is just easy adaptation.
Both s_client and s_server get the new flags -4 and -6 to force the
use of IPv4 or IPv6 only.
Also, the default host "localhost" in s_client is removed. It's not
certain that this host is set up for both IPv4 and IPv6. For example,
Debian has "ip6-localhost" as the default hostname for [::1]. The
better way is to default |host| to NULL and rely on BIO_lookup() to
return a BIO_ADDRINFO with the appropriate loopback address for IPv4
or IPv6 as indicated by the |family| parameter.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2016-02-03 20:36:49 +01:00
..
1998-12-21 10:52:47 +00:00
2011-03-16 11:50:33 +00:00
2016-01-14 13:02:51 -05:00
2016-02-02 23:24:12 -05:00
2016-02-03 18:08:16 +01:00
2015-10-12 22:31:00 +01:00
2016-02-01 12:46:58 +01:00
2000-10-16 22:56:10 +00:00
2016-01-13 17:55:17 -05:00
2016-01-13 17:55:17 -05:00
2015-12-16 16:14:49 -05:00
2015-10-30 17:21:42 -04:00
2016-01-25 21:19:59 +01:00
1998-12-21 10:56:39 +00:00
2016-01-19 09:57:15 -05:00
2011-12-08 14:44:05 +00:00
2016-01-20 19:04:26 -05:00
2015-12-13 21:31:03 -05:00
2015-12-14 23:06:14 +00:00
2016-01-06 12:07:26 -05:00
2000-08-02 09:04:44 +00:00
2000-08-02 09:04:44 +00:00
2000-08-02 09:04:44 +00:00
2015-11-09 22:48:41 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2016-01-13 17:55:17 -05:00
2016-01-13 17:55:17 -05:00
2015-12-13 20:13:49 -05:00
1998-12-21 10:56:39 +00:00
2016-01-12 01:00:31 -05:00
2016-02-01 15:11:18 +00:00
2016-02-01 15:11:18 +00:00
2016-01-12 13:52:22 +01:00
2015-12-16 16:14:49 -05:00
2015-04-24 15:26:15 -04:00
2015-10-23 19:52:08 +02:00
2015-11-09 22:48:41 +00:00
2016-01-06 12:07:26 -05:00
2011-03-19 10:58:14 +00:00
2015-04-24 15:26:15 -04:00
2016-01-29 16:56:07 -05:00
2015-11-09 22:48:41 +00:00
2016-01-20 19:04:26 -05:00
2016-01-27 19:05:50 -05:00
2016-01-19 09:57:15 -05:00
2015-11-20 13:40:53 +00:00
2016-02-02 23:24:12 -05:00
2015-12-16 16:14:49 -05:00
2000-10-16 22:56:10 +00:00
2016-01-13 17:55:17 -05:00
2016-01-13 17:55:17 -05:00
2015-10-12 22:31:00 +01:00
2016-01-12 01:00:31 -05:00
2016-01-20 19:04:26 -05:00
2015-12-13 20:13:49 -05:00
2015-10-12 22:31:00 +01:00
2016-02-02 23:24:12 -05:00
2015-11-21 14:37:24 +01:00
2009-09-06 15:49:46 +00:00
2016-01-11 17:50:42 +00:00
2016-01-11 17:50:42 +00:00
2016-01-12 01:00:31 -05:00
2015-12-16 16:14:49 -05:00
2016-01-20 03:24:59 +00:00
1998-12-21 10:56:39 +00:00
1998-12-21 10:52:47 +00:00
2015-12-13 20:13:49 -05:00
2016-02-02 23:24:12 -05:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2016-02-03 20:36:49 +01:00
2016-02-03 19:40:32 +01:00
2016-02-03 20:36:49 +01:00
2016-02-03 20:36:49 +01:00
2016-02-03 20:36:49 +01:00
2015-10-05 09:25:06 +02:00
2011-12-08 14:44:05 +00:00
2011-12-08 14:44:05 +00:00
1998-12-21 10:56:39 +00:00
2016-01-11 10:03:27 +00:00
2016-01-20 19:04:26 -05:00
2016-01-31 09:42:53 -05:00
2015-11-09 22:48:41 +00:00
2016-01-22 15:06:21 -05:00
1998-12-21 10:52:47 +00:00
2015-04-24 15:26:15 -04:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2015-12-07 17:40:20 +01:00
2009-09-07 17:57:18 +00:00
2016-01-20 19:04:33 -05:00
2015-10-30 17:21:42 -04:00
2015-12-30 14:54:29 +01:00
2015-04-24 15:26:15 -04:00
2016-01-30 16:23:44 +01:00