fetch: hardcode HTTPS port and fallback to /etc/services for other unknown ports.

This commit is contained in:
Juan RP
2014-08-25 16:07:47 +02:00
parent bc92b387cb
commit 25e8002737
3 changed files with 8 additions and 2 deletions

View File

@ -34,6 +34,7 @@
#define FTP_DEFAULT_PORT 21
#define HTTP_DEFAULT_PORT 80
#define HTTPS_DEFAULT_PORT 443
#define FTP_DEFAULT_PROXY_PORT 21
#define HTTP_DEFAULT_PROXY_PORT 3128