equal
deleted
inserted
replaced
283 }; |
283 }; |
284 return http; |
284 return http; |
285 end |
285 end |
286 |
286 |
287 local default_http = new({ |
287 local default_http = new({ |
288 sslctx = { mode = "client", protocol = "sslv23", options = { "no_sslv2", "no_sslv3" } }; |
288 sslctx = { mode = "client", protocol = "sslv23", options = { "no_sslv2", "no_sslv3" }, alpn = "http/1.1" }; |
289 suppress_errors = true; |
289 suppress_errors = true; |
290 }); |
290 }); |
291 |
291 |
292 return { |
292 return { |
293 request = function (u, ex, callback) |
293 request = function (u, ex, callback) |