Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cmd/http_handlers.pony
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use "files"
use "json"
use ssl_crypto = "ssl/crypto"
use lori = "lori"
use ssl_net = "ssl/net"

use uri = "uri"

type QueryResult is (Array[JSONObject val] iso | QueryError)
Expand All @@ -23,7 +23,7 @@ class val HTTPGet
"""

let _auth: lori.TCPConnectAuth
let _ssl_ctx: ssl_net.SSLContext val
let _ssl_ctx: lori.SSLContext val
let _notify: PonyupNotify
let _connect_timeout_ms: U64
let _query_timeout_ms: U64
Expand All @@ -38,7 +38,7 @@ class val HTTPGet
=>
_auth = lori.TCPConnectAuth(auth)
_ssl_ctx =
recover val ssl_net.SSLContext .> set_client_verify(false) end
recover val lori.SSLContext .> set_client_verify(false) end
_notify = notify
_connect_timeout_ms = connect_timeout_ms
_query_timeout_ms = query_timeout_ms
Expand Down Expand Up @@ -129,7 +129,7 @@ actor _QueryConnection is courier.HTTPClientConnectionActor

new create(
auth: lori.TCPConnectAuth,
ssl_ctx: ssl_net.SSLContext val,
ssl_ctx: lori.SSLContext val,
host: String,
port: String,
request_path: String,
Expand Down Expand Up @@ -291,7 +291,7 @@ actor _DownloadConnection is courier.HTTPClientConnectionActor

new create(
auth: lori.TCPConnectAuth,
ssl_ctx: ssl_net.SSLContext val,
ssl_ctx: lori.SSLContext val,
host: String,
port: String,
request_path: String,
Expand Down
2 changes: 1 addition & 1 deletion corral.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"locator": "github.com/ponylang/courier.git",
"version": "0.8.0"
"version": "0.9.0"
},
{
"locator": "github.com/ponylang/uri.git",
Expand Down
Loading