Giuseppe Scrivano
a528894d13
Merge remote-tracking branch 'origin/master' into parallel-wget
2013-07-12 00:16:23 +02:00
Tim Ruehsen
91f0f99e9a
gnutls: honor connect timeout
2013-07-12 00:07:05 +02:00
Tomas Hozza
c78caecbb4
Document missing options and fix --preserve-permissions
...
Added documentation for --regex-type and --preserve-permissions
options.
Fixed --preserve-permissions to work properly also if downloading a
single file from FTP.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-11 22:01:43 +02:00
Tomas Hozza
8760123cee
Set sock variable to -1 if no persistent conn exists
...
Wget should set sock variable to -1 if no persistent
connection exists. Function persistent_available_p()
tests persistent connection but if test_socket_open()
fails it closes the socket but will not set sock variable
to -1. After returning from persistent_available_p()
it is possible that sock has still value of already
closed connection.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-11 20:50:42 +02:00
Tomas Hozza
c9c0e4c641
Fix using deadcode and possible use of NULL pointer
...
Fix for deadcode in unique_create() so that "opened_name" parameter is
always initialized to a valid string or NULL when returning from
function.
Fix for redirect_output() so that "logfile" is not blindly used in
fprintf() call and checked if it is not NULL.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-10 23:04:25 +02:00
Giuseppe Scrivano
7bb672a487
doc: fix error with texinfo 5.
2013-07-04 10:25:23 +02:00
Darshit Shah
747023c476
Mention libmetalink in list of required utilities
2013-07-02 19:33:55 +02:00
Giuseppe Scrivano
29cf6bb9d1
Merge remote-tracking branch 'origin/master' into parallel-wget
2013-07-02 11:14:29 +02:00
Darshit Shah
9e0d87a248
Download response body data for all requests
2013-06-27 20:07:47 +02:00
Ciprian Vieru
6a2d67b583
Add HTML5 media tags to list of known tags and attributes
2013-06-25 23:49:03 +02:00
Giuseppe Scrivano
3595b9de52
configure: by default disable threads and metalink
2013-06-23 21:53:41 +02:00
Giuseppe Scrivano
2d1196b116
Define PCONN_LOCK when threads are not used.
2013-06-23 21:46:25 +02:00
Giuseppe Scrivano
74d5c8bfb7
Fix possible race condition
2013-06-23 21:16:13 +02:00
Giuseppe Scrivano
fec5bb9e93
Merge remote-tracking branch 'origin/master' into parallel-wget
2013-06-23 18:33:06 +02:00
Ángel González
49f6d0ded8
Cleanup cmd_string_uppercase
2013-06-22 14:06:06 +02:00
Tim Ruehsen
4df7703d62
fix segfault in ftp.c (ftp_loop_internal)
2013-06-22 13:22:24 +02:00
Dave Reisner
7f43748544
Fix error in texi2pod intriduced with Perl 5.18
2013-06-22 13:13:10 +02:00
Ray Satiro
9d35f87218
MinGW compatibility fixes
2013-06-16 22:55:38 +02:00
Darshit Shah
90896e3314
Follow RFC 2616 and httpbis specifications when handling redirects
2013-06-16 22:31:16 +02:00
Bykov Aleksey
5ce9389384
Removing "Could not open temporary WARC manifest file." issue in Win builds
2013-06-04 20:36:42 +02:00
Jochen Hein
5f48ec1500
Remove double empty space from string.
2013-06-03 21:31:20 +02:00
Bykov Aleksey
8560182d57
Changed fopen mode
2013-05-22 19:20:17 +02:00
Ray Satiro
8e5038747b
MinGW compatibility fixes
2013-05-22 00:16:58 +02:00
Giuseppe Scrivano
82126ccb67
dist: add some missing files.
2013-05-19 23:34:38 +02:00
Giuseppe Scrivano
ced4c1de82
Merge remote-tracking branch 'origin/master' into parallel-wget
2013-05-19 16:50:07 +02:00
Tim Ruehsen
099d8ee3da
replaced read_whole_file() by getline()
2013-05-17 20:19:02 +02:00
Tim Ruehsen
e976d4f3dc
src/utils.c cleanup
2013-05-12 21:41:07 +02:00
Darshit Shah
ccd369d5f2
Fix typo in documentation.
2013-05-12 19:57:32 +02:00
Dmitry Bogatov
027d9f385d
Non-functionality improvement in src/http.c.
...
Pulled `request_set_method` functionality into `request_new`
to ensure these functions always called in right order.
2013-05-12 19:28:22 +02:00
Giuseppe Scrivano
83837b0606
NEWS: cite last change
2013-05-06 22:53:07 +02:00
mancha
ae80fd2ec7
gnutls: do not abort on non-fatal alerts during handshake
...
Signed-off-by: mancha <mancha1@hush.com>
2013-05-06 22:52:13 +02:00
Darshit Shah
277785fa2a
Fix issue when converting string to uppercase
2013-05-05 01:34:47 +02:00
Gijs van Tulder
52dd6da6e0
Keep the same method on a 307 redirect
2013-05-02 23:04:31 +02:00
Giuseppe Scrivano
550457bcad
Fix crash when receiving a HTTP redirect upon a POST request
...
The crash was introduced by a recent commit.
2013-05-02 21:57:20 +02:00
Giuseppe Scrivano
8dc52c6eaa
doc: add documentation for --accept-regex and --reject-regex
2013-04-28 22:41:24 +02:00
Darshit Shah
54fd8de415
Improve output in case of --post-{file,body} commands.
2013-04-24 21:08:33 +02:00
Gijs van Tulder
81409cb9c8
Remove old reference to opt.post_data.
2013-04-23 22:02:29 +02:00
Giuseppe Scrivano
04fcd759fd
Ensure that each thread uses a different socket
2013-04-21 23:12:56 +02:00
Giuseppe Scrivano
e9058befae
Merge branch 'master' into parallel-wget
...
Conflicts:
src/init.c
src/main.c
2013-04-21 21:11:53 +02:00
Giuseppe Scrivano
0e6f1c2dac
doc: add documentation for mega dot style.
2013-04-14 14:43:16 +02:00
Gijs van Tulder
7df4b05f0b
warc: Follow the guidelines for metadata records
...
Do not use the same UUID for the manifest and arguments records.
Write the manifest as a metadata record, not as a resource.
2013-04-14 14:01:01 +02:00
Giuseppe Scrivano
bc2891f307
NEWS: cite --method.
2013-04-14 13:15:13 +02:00
Darshit Shah
6c30653a1a
Add a generic --method command to set a method in HTTP Requests.
...
Add supplementary --body-data and --body-file commands to send BODY Data.
Signed-off-by: Darshit Shah <darnir@gmail.com>
2013-04-14 12:57:58 +02:00
Gijs van Tulder
edbeaa0c4e
warc: correctly write the field length in the skip length field
2013-04-06 20:57:47 +02:00
Darshit Shah
e3b3ea5120
Add test to ensure correct return code on --post-file failure
...
Signed-off-by: Darshit Shah <darnir@gmail.com>
2013-03-14 21:38:40 +01:00
Darshit Shah
50238e49b9
Make wget abort if --post-file does not exist
...
Signed-off-by: Darshit Shah <darnir@gmail.com>
2013-03-14 21:19:13 +01:00
Darshit Shah
6443581d72
Fix behaviour to match RFC 6265 on encountering domain mismatch.
2013-02-24 22:15:32 +01:00
Ilim Ugur
c1a44a16ef
Fix bug due to ambiguous variable name.
2013-02-07 22:25:56 +01:00
Tim Ruehsen
3be7e0a53c
fix --secure-protocol=SSLv2/SSLv3
2012-12-23 01:40:53 +01:00
Giuseppe Scrivano
5a0f05423a
Fix a tight-loop when a recursion level is used.
2012-12-09 22:04:58 +01:00