diff options
author | Gaƫl PORTAY <gael.portay@gmail.com> | 2014-03-19 15:56:13 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-03-19 16:10:18 +0100 |
commit | 47f8e99e78c3e415b32ffb692c9b150929432dc1 (patch) | |
tree | 27cabee086d00c81fad5cd2bf47b735f7298f558 /src | |
parent | ff25f437a5f684b43893f4526b30a4b06421ee38 (diff) |
polarssl: fix possible handshake timeout issue in multi.
Because of the socket is unblocking, PolarSSL does need call to getsock to
get the action to perform in multi environment.
In some cases, it might happen we have not received yet all data to perform
the handshake. ssh_handshake returns POLARSSL_ERR_NET_WANT_READ, the state
is updated but because of the getsock has not the proper #define macro to,
the library never prevents to select socket for input thus the socket will
never be awaken when last data is available. Thus it leads to timeout.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions