mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
Merge 0.12->trunk
This commit is contained in:
commit
9327c4342a
1 changed files with 3 additions and 0 deletions
|
@ -317,6 +317,9 @@ local function request(self, u, ex, callback)
|
|||
if ex and ex.use_dane ~= nil then
|
||||
use_dane = ex.use_dane;
|
||||
end
|
||||
if not sslctx then
|
||||
error("Attempt to make HTTPS request but no 'sslctx' provided in options");
|
||||
end
|
||||
end
|
||||
|
||||
if self.pool then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue