25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

http_bind webserver TLS fail on Chrome (thanks to Adam Langley)(EJAB-1530)

This commit is contained in:
Badlop 2012-01-19 13:08:11 +01:00
parent 3573fbcd21
commit 944c15a969

View File

@ -430,7 +430,8 @@ static ErlDrvSSizeT tls_drv_control(ErlDrvData handle,
if (res <= 0)
die_unless(SSL_get_error(d->ssl, res) == SSL_ERROR_WANT_READ,
"SSL_do_handshake failed");
} else {
}
if (SSL_is_init_finished(d->ssl)) {
size = BUF_SIZE + 1;
rlen = 1;
b = driver_alloc_binary(size);