summaryrefslogtreecommitdiff
path: root/src/LibsslTLSSession.h
Commit message (Collapse)AuthorAgeFilesLines
* WinTLS: Fix hang because of buffered received dataTatsuhiro Tsujikawa2016-01-301-0/+1
| | | | | | | | | | | | | WinTLSSession buffers received decrypted data into its own buffer. If read is requested, it copies the data from its buffer. But if requested buffer size is less than decrypted buffer, some of the data is left in the buffer. Previously, we had no facility to check the existence of this pending data. If this data is the last requested data from remote server, we may end up waiting for read event even if we have already data in our buffer, which may cause hang. This commit fixes this issue by introducing function to return the buffered length in TLSSession. SocketCore also provides the same function, which delegates to TLSSession object.
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-3/+3
|
* Move warn logic into SocketCoreNils Maier2014-12-141-3/+4
| | | | | Also fiddle a bit with the WinTLS implementation, forcing "strong" crypto only for > SSLv3.
* Use CXX11_OVERRIDETatsuhiro Tsujikawa2013-07-061-9/+10
|
* AppleTLS: Implement AppleTLS and Apple Message DigestNils Maier2013-04-051-18/+15
|
* Abstract TLS session implementationTatsuhiro Tsujikawa2013-04-031-0/+74
Now TLS session object is abstracted as TLSSession class. Currently, we have GNUTLS and OpenSSL implementations.