mbedtls/programs/ssl
Manuel Pégourié-Gonnard 6e7aaca146 Move MTU setting to SSL context, not config
This setting belongs to the individual connection, not to a configuration
shared by many connections. (If a default value is desired, that can be handled
by the application code that calls mbedtls_ssl_set_mtu().)

There are at least two ways in which this matters:
- per-connection settings can be adjusted if MTU estimates become available
  during the lifetime of the connection
- it is at least conceivable that a server might recognize restricted clients
  based on range of IPs and immediately set a lower MTU for them. This is much
easier to do with a per-connection setting than by maintaining multiple
near-duplicated ssl_config objects that differ only by the MTU setting.
2018-08-20 10:37:23 +02:00
..
CMakeLists.txt Fix whitespace in CMakeLists.txt 2015-06-25 10:59:57 +02:00
dtls_client.c Correct the printf message of the DTLS handshake. 2017-10-06 11:58:50 +01:00
dtls_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
mini_client.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_client1.c Fix typo in platform macro defines for examples 2018-06-14 23:01:55 +01:00
ssl_client2.c Move MTU setting to SSL context, not config 2018-08-20 10:37:23 +02:00
ssl_fork_server.c Fix typo in platform macro defines for examples 2018-06-14 23:01:55 +01:00
ssl_mail_client.c Merge remote-tracking branch 'public/pr/1198' into development 2018-07-24 17:20:17 +01:00
ssl_pthread_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_server2.c Move MTU setting to SSL context, not config 2018-08-20 10:37:23 +02:00
ssl_server.c Fix minor code style issues 2018-05-15 09:21:57 +01:00