Commit Graph

1397 Commits

Author SHA1 Message Date
Merinov Nikolay 37c85ecba3 Fix problem with IDN and UTF-8 encoding. 2011-07-26 09:27:08 +02:00
Giuseppe Scrivano f90ca4e54a Parse URLs read from a file. 2011-06-08 11:32:34 +02:00
Giuseppe Scrivano 67d81d15a5 Fix ChangeLog entry. 2011-06-05 14:11:49 +02:00
Giuseppe Scrivano 00723a80f1 Define max 2011-05-24 11:13:04 +02:00
Adrien Nader d7991738d6 Set stdout mode to binary under Windows. 2011-05-23 21:56:44 +02:00
Giuseppe Scrivano 3fb4d068a7 Avoid a small buffer when retrieving a file. 2011-05-23 20:27:42 +02:00
Giuseppe Scrivano cd81370afe Fix error messages under Windows. 2011-05-23 20:24:20 +02:00
Ray Satiro 4a685764a8 Ensure sockets are not blocking after a select under Windows. 2011-05-15 21:59:50 +02:00
Ray Satiro 53427a9b76 openssl: Prevent loops on read errors. 2011-05-15 16:54:58 +02:00
Giuseppe Scrivano ee6021a3b0 Fix GCC warnings. 2011-04-24 13:03:48 +02:00
Giuseppe Scrivano df99868cb1 Update src/ChangeLog. 2011-04-24 12:57:18 +02:00
Daniel Manrique 0db305126b Set exit status when invalid host given 2011-04-23 15:31:41 -04:00
Giuseppe Scrivano 366dbedf1b gnutls: use the blocking socket. 2011-04-19 14:40:21 +02:00
Giuseppe Scrivano 87a176daa7 Use futimens instead of utimes. 2011-04-19 12:33:46 +02:00
Giuseppe Scrivano a50931df8c Use mkdir module from gnulib. 2011-04-19 11:31:25 +02:00
Giuseppe Scrivano 179dacd735 Use utimes instead of utime. 2011-04-18 14:37:42 +02:00
Giuseppe Scrivano 1eb1e76e9a Fix build error. 2011-04-18 14:32:14 +02:00
Giuseppe Scrivano 8d764f3ac6 Use correctly FIONBIO values. 2011-04-17 13:07:01 +02:00
Giuseppe Scrivano b0a3d43014 openssl: make openssl_peek non-blocking. 2011-04-13 13:57:37 +02:00
Cristian Rodrwuez cbe8eb725b openssl: Use SSLv2 only when available. 2011-04-11 11:08:39 +02:00
Giuseppe Scrivano c09d62159b Remove tight loop around gnutls_record_recv. 2011-04-07 12:56:51 +02:00
Giuseppe Scrivano 0424cb1aed Allow X509 v1 certificates. 2011-04-07 12:55:42 +02:00
Ray Satiro 96c3ec36c2 gnutls: Check for the GNUTLS_E_AGAIN return code. 2011-04-07 12:25:39 +02:00
Giuseppe Scrivano d18b9749d9 Fix a bug recently introduced in wgnutls_peek. 2011-04-07 12:02:07 +02:00
Giuseppe Scrivano 6dca252c60 openssl: Retry to read if a non-blocking socket returns immediately. 2011-04-04 16:56:51 +02:00
Giuseppe Scrivano 4d564bd630 Ensure FD_TO_SOCKET is defined under Windows. 2011-04-04 16:46:38 +02:00
Giuseppe Scrivano 99e9291da3 Silent compiler warning under Windows. 2011-04-04 12:52:35 +02:00
Giuseppe Scrivano 1cba1a7659 Fix openssl detection under Windows. 2011-04-04 00:13:53 +02:00
Giuseppe Scrivano b1acde223f Fix build under Windows. 2011-04-03 20:23:31 +02:00
Giuseppe Scrivano ca244196f1 Make wgnutls_peek non blocking. 2011-04-03 02:15:22 +02:00
Giuseppe Scrivano 28db25933b Now --no-parent doesn't fetch wrong files if HTTP and HTTPS are used together. 2011-03-31 01:37:12 +02:00
Giuseppe Scrivano 1f883393c8 Add new line to some debug messages. 2011-03-31 00:51:35 +02:00
Giuseppe Scrivano 244b732e0a Silent compiler warning. 2011-03-21 13:41:41 +01:00
Giuseppe Scrivano 024683705d Silent compiler warning. 2011-03-21 13:14:20 +01:00
Giuseppe Scrivano 3a62674582 Fix some memory leaks. 2011-03-11 15:25:58 +01:00
Filipe Brandenburger e219e587b3 Support HTTP/1.1 307 redirects keep request method. 2011-03-03 14:02:25 +01:00
Filipe Brandenburger bb6a72caea Do not adjust the extension if the file ends in .htm. 2011-03-02 10:57:44 +01:00
Gilles Carry 09bc5b5787 Use stderr instead of stdout to prompt password. 2011-02-24 09:40:31 +01:00
Steven Schubiger e076a6d39d Move duplicated code in http.c to a function 2011-02-23 10:37:48 +01:00
Filipe Brandenburger e52cd21256 Initialize `total_downloaded_bytes'. 2010-12-10 23:55:54 +01:00
Giuseppe Scrivano cdfd8a8e91 If -nc and -k are used at the same time, use only the latter 2010-12-09 13:27:17 +01:00
Jessica McKellar 8e742d05cf Make the help message clearer. 2010-12-07 10:46:42 +01:00
Giuseppe Scrivano 8c33c34bf6 Remove md5 from build info information. 2010-12-02 11:50:26 +01:00
Giuseppe Scrivano 9ae052b1e2 Remove redundant guard. 2010-12-01 13:15:13 +01:00
Giuseppe Scrivano 334a8e9027 Convert a static local buffer to be allocated dinamically. 2010-12-01 12:47:30 +01:00
Reza Snowdon 20a64d03d8 Exit immediately if the system config file cannot be parsed. 2010-11-29 15:24:48 +01:00
Giuseppe Scrivano 8aa378bd9e Revert 2444. 2010-11-22 18:04:42 +01:00
Giuseppe Scrivano f97c9ac8e7 Fix typo in src/ChangeLog file. 2010-11-22 15:17:01 +01:00
Giuseppe Scrivano 2aa2a913c3 On a network error, attempt to resume the download, not restart it. 2010-11-21 22:56:20 +01:00
Giuseppe Scrivano a2596ccf21 Fix an infinite loop with error message '<filename> has sprung into existence' 2010-11-19 17:14:21 +01:00