diff options
author | Ron Yorston <rmy@pobox.com> | 2018-03-15 10:32:23 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-03-15 10:39:20 +0000 |
commit | 7cc082e2370da69c8783812c251190d316ce82b3 (patch) | |
tree | 8a6224f8dd28fb1ffd3e6ef111efcc8b82f429b8 /include | |
parent | f011d7284d8cabe5d453b43d4df44d0423db22c8 (diff) | |
download | busybox-w32-7cc082e2370da69c8783812c251190d316ce82b3.tar.gz busybox-w32-7cc082e2370da69c8783812c251190d316ce82b3.tar.bz2 busybox-w32-7cc082e2370da69c8783812c251190d316ce82b3.zip |
wget: add support for https
Allow wget to support https URLs. Changes are:
- Add mingw_popen2 which uses a named pipe to allow bidirectional
communication with a child process;
- Modify ssl_client to accept a WIN32 handle instead of a file
descriptor as an argument;
- Allow tls_get_random to open /dev/urandom;
- Using the above changes implement a WIN32 version of spawn_ssl_client
in wget.
This closes GitHub issue #75.
Also, enable authentication in wget.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 386540b37..e56e8f03d 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -111,6 +111,7 @@ int mingw_rename(const char*, const char*); | |||
111 | 111 | ||
112 | FILE *mingw_popen(const char *cmd, const char *mode); | 112 | FILE *mingw_popen(const char *cmd, const char *mode); |
113 | int mingw_popen_fd(const char *cmd, const char *mode, int fd0, pid_t *pid); | 113 | int mingw_popen_fd(const char *cmd, const char *mode, int fd0, pid_t *pid); |
114 | int mingw_popen2(const char *cmd, pid_t *pid); | ||
114 | int mingw_pclose(FILE *fd); | 115 | int mingw_pclose(FILE *fd); |
115 | #undef popen | 116 | #undef popen |
116 | #undef pclose | 117 | #undef pclose |