You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Janet janet_port = janet_table_get(options, janet_ckeywordv("port"));
long port = 80;if (janet_checktype(janet_port, JANET_NUMBER)) {
port = (long)janet_unwrap_integer(janet_port);
}
was intended to supply a default port (80) if no port was specified, which it does, but in so doing it makes port a required option for all non-http requests.
Prior to #12 we could already specify a port, like so:
Hello,
Prior to #12 this code worked:
Post PR #12 it instead errors with "SSL Connection Error"
I believe that this (from #12)
was intended to supply a default port (80) if no port was specified, which it does, but in so doing it makes port a required option for all non-http requests.
Prior to #12 we could already specify a port, like so:
Which to me feels like the more natural place to do so.
Could we return to curl determining the default port if not specified?
The text was updated successfully, but these errors were encountered: