Commit Graph

815 Commits

Author SHA1 Message Date
hniksic 74fbb03b10 [svn] Use bool type for boolean variables and values. 2005-06-22 12:38:10 -07:00
hniksic 19a1ffb2e9 [svn] Check for the C99 bool type and define it if missing. 2005-06-22 10:51:29 -07:00
hniksic e911bc2943 [svn] Remove the "lockable boolean" setting for passive_ftp. 2005-06-21 18:56:02 -07:00
hniksic 40c07f3e04 [svn] Use bitfields for booleans in struct cookie to save space. 2005-06-21 18:45:08 -07:00
hniksic 80c3fa1223 [svn] Also depend on config.h. 2005-06-21 18:32:32 -07:00
hniksic 976cc5bfca [svn] Define the IF_DEBUG macro. 2005-06-21 18:26:22 -07:00
hniksic 6895126a68 [svn] Fix crash with --no-cookies. 2005-06-21 18:06:48 -07:00
hniksic b317cb1c6d [svn] Expect existence of C89 functions, as well as of select and gettimeofday. 2005-06-21 18:01:12 -07:00
hniksic 63dcf343f1 [svn] Remove manual tracking of dependencies; instead, force a recompile when a header
file changes.
2005-06-21 16:21:48 -07:00
hniksic 38bc0295d4 [svn] Trivially rename "mapping" to "cell" and "non-empty" to "occupied" to
avoid confusion.
2005-06-20 08:00:39 -07:00
hniksic 7d48e6d057 [svn] Use #elif where appropriate to make chaining of #if ... #else ...
more readable.
2005-06-19 18:37:23 -07:00
hniksic 908d7a4bce [svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers. 2005-06-19 16:03:27 -07:00
hniksic 277e840a0f [svn] Remove K&R support. 2005-06-19 15:34:58 -07:00
hniksic 9000d2b527 [svn] Fix "lockable boolean" error message. 2005-06-19 07:08:09 -07:00
hniksic 613719687c [svn] Fix broken --save-headers. 2005-06-18 07:13:16 -07:00
hniksic 1805044ecd [svn] When -E is in use, check for file existence after appending ".html" to the
name and modify the file name if necessary.
2005-06-17 15:06:26 -07:00
hniksic e2e349b2ca [svn] Stop using AI_ADDRCONFIG. 2005-06-17 09:48:29 -07:00
hniksic 876cd95a6e [svn] Improve error message so it names the more useful values first. 2005-06-16 03:51:14 -07:00
hniksic 4206f96614 [svn] Gettext-ize previously missed messages.
By Benno Schulenberg.
2005-06-15 13:26:37 -07:00
hniksic 4f22c2f567 [svn] Handle invalid response to PWD gracefully. 2005-06-15 13:11:50 -07:00
hniksic 73ca5d585b [svn] Remove trailing comma from enums; older compilers don't support them. 2005-06-15 13:08:48 -07:00
hniksic 71911ea593 [svn] Check for a recent gcc version before using the statement-as-expression
extension.
2005-05-30 11:44:20 -07:00
hniksic eeacdb2ebc [svn] Don't attempt to "skip short body" if we're issuing a HEAD request (in which
case the response head is not followed by a body).
2005-05-30 07:29:01 -07:00
hniksic 0840de6605 [svn] Allow --header to contain ",". 2005-05-30 06:31:24 -07:00
hniksic 1b49b07598 [svn] Mark the content from the <link src="..."> tag as expecting HTML.
Submitted by Andreas Beckmann.
2005-05-27 06:53:47 -07:00
hniksic 5771564c9c [svn] Document the origin of the "cookie date" format. 2005-05-24 07:16:27 -07:00
hniksic 724e2f84be [svn] Report exact command name alongside the "display name". 2005-05-21 06:36:43 -07:00
hniksic 1aca2ff28e [svn] Remove unnecessary casts to time_t. Insert the cast from -1 to time_t,
needed on systems with unsigned time_t.
2005-05-18 10:22:28 -07:00
hniksic af7e522e91 [svn] Don't clobber the file when -c is specified and the first attempt
to retrieve the file fails.
2005-05-17 05:53:08 -07:00
hniksic 05a000a477 [svn] Don't clobber the file when -c fails in the first attempt. 2005-05-17 02:01:31 -07:00
hniksic a039ae12fe [svn] Print all issues with a certificate. 2005-05-16 13:32:55 -07:00
hniksic 430f5f3b1e [svn] Don't xfree() the line returned by ftp_response if the returned code is not
FTPOK.
2005-05-16 08:19:12 -07:00
hniksic 20e79ab0fa [svn] Don't free the non-existent opt.ftp_acc. Free the SSL-related stuff. 2005-05-16 08:09:07 -07:00
hniksic 6664409baa [svn] Consistently print \n at the end of the "Length" line. 2005-05-16 05:41:29 -07:00
hniksic 2307fcc5c2 [svn] Announce the beginning and the end of the SSL handshake when in debug mode.
Avoid the use of the %p format.
2005-05-14 12:36:30 -07:00
hniksic c1ba8c2111 [svn] Would forget to close the connection when keep_alive was not used. 2005-05-14 12:24:22 -07:00
hniksic 91a8357dfa [svn] Document the code that decides whether "*" matches ".". 2005-05-13 04:54:53 -07:00
hniksic 3d9eadee53 [svn] Use the %d format to print port number, which is int. 2005-05-12 09:24:33 -07:00
hniksic 47b8598349 [svn] Don't rewrite "https://host" to "ftp://https//host" when SSL is not used. 2005-05-12 04:45:05 -07:00
hniksic c2bc8982b7 [svn] Tell the user about --no-check-certificate. 2005-05-11 08:52:27 -07:00
hniksic b4c06e1dd8 [svn] Always use SSL_VERIFY_NONE, so that the handshake finishes even if the
certificate is invalid.  That way ssl_check_server_identity can provide
better diagnostics on why the verification failed.
2005-05-11 04:14:42 -07:00
hniksic 4054865a00 [svn] Support wildcards for matching of hosts against common names presented by
the TLS certificate.
2005-05-11 00:58:57 -07:00
hniksic 159a1a923d [svn] Print certificate subject and issuer. 2005-05-10 14:16:00 -07:00
hniksic c17e1b6396 [svn] Correctly pass pointers to hash_table_get_pair. 2005-05-10 12:07:57 -07:00
hniksic 5feb3f6696 [svn] Check for the server's identity after the SSL handshake. 2005-05-10 08:17:37 -07:00
hniksic 764e695fe1 [svn] Simplify cert. verification. Allow SSL_write to perform partial writes. 2005-05-09 10:21:10 -07:00
hniksic ee18acce0a [svn] Check for wildcards in unescaped URL path. 2005-05-08 10:52:26 -07:00
hniksic 79c4490734 [svn] Re-alphabetize the command list. Have run_command correctly interpret
the new return value of parse_line.
2005-05-08 10:28:19 -07:00
hniksic 0b49b79bb7 [svn] Remove unnecessary assignments to silence warnings from Borland C. 2005-05-08 09:25:42 -07:00
hniksic 1fab70a664 [svn] Fix warnings reported by gcc -Wstrict-prototypes -Wmissing-prototypes. 2005-05-08 02:58:39 -07:00