mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-58915 search_solr: connection to solr can use blocked hosts
This commit is contained in:
parent
d8e9a23c48
commit
402a8e7a7a
@ -1192,7 +1192,8 @@ class engine extends \core_search\engine {
|
||||
return $this->curl;
|
||||
}
|
||||
|
||||
$this->curl = new \curl();
|
||||
// Connection to Solr is allowed to use 'localhost' and other potentially blocked hosts/ports.
|
||||
$this->curl = new \curl(['ignoresecurity' => true]);
|
||||
|
||||
$options = array();
|
||||
// Build the SSL options. Based on pecl-solr and general testing.
|
||||
|
Loading…
x
Reference in New Issue
Block a user