mirror of https://github.com/MISP/MISP
new: [sync] Enable compression for server sync
parent
253ab5ede3
commit
c5f0aa19f1
|
@ -12,7 +12,7 @@ class SyncTool
|
|||
*/
|
||||
public function setupHttpSocket($server = null, $timeout = false, $model = 'Server')
|
||||
{
|
||||
$params = array();
|
||||
$params = ['compress' => true];
|
||||
if (!empty($server)) {
|
||||
if (!empty($server[$model]['cert_file'])) {
|
||||
$params['ssl_cafile'] = APP . "files" . DS . "certs" . DS . $server[$model]['id'] . '.pem';
|
||||
|
|
Loading…
Reference in New Issue