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:
parent
3573fbcd21
commit
944c15a969
@ -430,7 +430,8 @@ static ErlDrvSSizeT tls_drv_control(ErlDrvData handle,
|
|||||||
if (res <= 0)
|
if (res <= 0)
|
||||||
die_unless(SSL_get_error(d->ssl, res) == SSL_ERROR_WANT_READ,
|
die_unless(SSL_get_error(d->ssl, res) == SSL_ERROR_WANT_READ,
|
||||||
"SSL_do_handshake failed");
|
"SSL_do_handshake failed");
|
||||||
} else {
|
}
|
||||||
|
if (SSL_is_init_finished(d->ssl)) {
|
||||||
size = BUF_SIZE + 1;
|
size = BUF_SIZE + 1;
|
||||||
rlen = 1;
|
rlen = 1;
|
||||||
b = driver_alloc_binary(size);
|
b = driver_alloc_binary(size);
|
||||||
|
Loading…
Reference in New Issue
Block a user