mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
*Web: bug fix - default HTTPS port number
*Web: added ugly hack to get rid of SSL memory leaks git-svn-id: svn://ultimatepp.org/upp/trunk@3553 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
96c2c70e11
commit
33a280f1fc
5 changed files with 62 additions and 24 deletions
|
|
@ -20,7 +20,8 @@ bool HttpsClient::CreateClientSocket()
|
|||
return false;
|
||||
}
|
||||
}
|
||||
if(!SSLClientSocket(socket, *ssl_context, socket_host, socket_port, true, NULL, 0, false)) {
|
||||
if(!SSLClientSocket(socket, *ssl_context, socket_host,
|
||||
socket_port ? socket_port : DEFAULT_HTTPS_PORT, true, NULL, 0, false)) {
|
||||
error = Socket::GetErrorText();
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue