Bug fix: when using tls, if a stanza is bigger than the buffer of 4096 in event.c, the stanza will not be read as select will return 0 on the ssl socket and the data will be in ssl buffers. Partial fix, only for Linux for now

This commit is contained in:
Vlad-Mihai Sima
2012-01-01 20:09:18 +01:00
parent bdd70fcfaf
commit 511606835d
5 changed files with 25 additions and 3 deletions

View File

@@ -68,6 +68,11 @@ int tls_error(tls_t *tls)
return 0;
}
int tls_pending(tls_t *tls)
{
return 0;
}
int tls_read(tls_t *tls, void * const buff, const size_t len)
{
return -1;