You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
917 B

  1. From a2991e22434352a3114bf437674070a135b723fd Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Sun, 27 May 2018 13:38:27 -0700
  4. Subject: [PATCH] portcheck: Switch to HTTPS
  5. Useful for testing TLS verification.
  6. ---
  7. libtransmission/rpcimpl.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/libtransmission/rpcimpl.c b/libtransmission/rpcimpl.c
  10. index 46fd3192c..dcd96df59 100644
  11. --- a/libtransmission/rpcimpl.c
  12. +++ b/libtransmission/rpcimpl.c
  13. @@ -1455,7 +1455,7 @@ portTest (tr_session * session,
  14. struct tr_rpc_idle_data * idle_data)
  15. {
  16. const int port = tr_sessionGetPeerPort (session);
  17. - char * url = tr_strdup_printf ("http://portcheck.transmissionbt.com/%d", port);
  18. + char * url = tr_strdup_printf ("https://portcheck.transmissionbt.com/%d", port);
  19. tr_webRun (session, url, portTested, idle_data);
  20. tr_free (url);
  21. return NULL;
  22. --
  23. 2.17.0