hurl | Simple gopher and http(s) client. |
| download: http://git.y1.nz/archives/hurl.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit b6b313880e857ecf04f6d41ef54ca452b804d1dd parent 65cc503083a2c47fb8a3c04c1ec2374bd6bf00e9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 10 Nov 2019 14:28:09 +0100 allow to connect to HTTPS on non-standard (443) port Diffstat:
| M | hurl.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hurl.c b/hurl.c @@ -501,7 +501,7 @@ main(int argc, char **argv) errx(1, "tls set ciphers failed: %s", tls_config_error(tls_config)); } - if (!strcmp(u.proto, "https")) + if (!u.port[0] && !strcmp(u.proto, "https")) memcpy(u.port, "443", 4); statuscode = https_request(); } else if (!strcmp(u.proto, "http")) {
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.