summaryrefslogtreecommitdiff
path: root/src/http.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into parallel-wgetparallel-wgetDarshit Shah2014-09-141-1/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/http.c testenv/Makefile.am testenv/Test--https.py testenv/Test--spider-r.py testenv/Test-Content-disposition-2.py testenv/Test-Content-disposition.py testenv/Test-Head.py testenv/Test-O.py testenv/Test-Parallel-Proto.py testenv/Test-Post.py testenv/Test-Proto.py testenv/Test-auth-basic-fail.py testenv/Test-auth-basic.py testenv/Test-auth-both.py testenv/Test-auth-digest.py testenv/Test-auth-no-challenge-url.py testenv/Test-auth-no-challenge.py testenv/Test-auth-retcode.py testenv/Test-auth-with-content-disposition.py testenv/Test-c-full.py testenv/Test-cookie-401.py testenv/Test-cookie-domain-mismatch.py testenv/Test-cookie-expires.py testenv/Test-cookie.py testenv/conf/__init__.py testenv/conf/authentication.py testenv/conf/expect_header.py testenv/conf/expected_files.py testenv/conf/expected_ret_code.py testenv/conf/files_crawled.py testenv/conf/hook_sample.py testenv/conf/local_files.py testenv/conf/reject_header.py testenv/conf/response.py testenv/conf/send_header.py testenv/conf/server_files.py testenv/conf/urls.py testenv/conf/wget_commands.py testenv/misc/colour_terminal.py testenv/server/http/http_server.py testenv/test/base_test.py testenv/test/http_test.py
| * Plug memory leaksDarshit Shah2014-07-241-1/+9
| |
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2014-07-171-12/+11
|\ \ | |/ | | | | | | | | Conflicts: src/Makefile.am src/wget.h
| * Fix indentation and remove excess variableDarshit Shah2014-07-051-11/+10
| |
| * Remove unused error codesDarshit Shah2014-07-051-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2014-06-221-12/+9
|\ \ | |/ | | | | | | | | Conflicts: src/progress.c src/retr.c
| * Fix a problem with ISA server proxyGiuseppe Scrivano2014-06-161-7/+3
| |
| * ftp: Replace main() with main in comments.Giuseppe Scrivano2014-06-121-1/+1
| |
| * Remove trailing empty linesGiuseppe Scrivano2014-06-121-1/+0
| |
| * Drop usage of strncpyGiuseppe Scrivano2014-06-121-3/+5
| |
* | Merge remote-tracking branch 'origin/master' into parallel-wgetDarshit Shah2014-06-091-48/+60
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: README.checkout configure.ac src/build_info.c.in src/ftp.c src/http.c src/main.c src/options.h src/progress.c src/retr.c src/retr.h
| * Whitespace and formatting changes.(Aesthetic only)Darshit Shah2014-05-301-28/+28
| | | | | | | | | | | | | | | | | | | | This commit makes lots of whitespace only changes. It has been ensured that this commit does not make any changes to the functioning of the program. The only changes that have been made are: * Remove trailing whitespaces * Convert tabs to spaces * Fix indentation issues in the code * Other aesthetic changes to the formatting of comments
| * More progress bar aesthetic changesDarshit Shah2014-05-301-2/+2
| | | | | | | | | | | | | | This commit introduces two new changes to how the progress bar looks: 1. Support the --progress=bar:noscroll option which will prevent the filename from scrolling in the progress bar 2. Print human readable value for the amount already downloaded for any file
| * Fix compiler warningsTim Ruehsen2014-05-121-18/+16
| |
| * Plug memory leakBenjamin Goose2014-05-101-0/+1
| |
| * Add --show-progress to force display progress barDarshit Shah2014-05-011-5/+2
| | | | | | | | | | | | | | | | | | This is a relatively large commit that implements two major features: 1. Implement --show-progress switch to force the display of the progress bar in any verbosity level 2. Edit the implementation of the progress bar so that the filename is displayed in the same line.
| * fixed 204 response handling, added new Test-204.pxTim Ruehsen2014-04-241-0/+16
| |
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2014-03-211-1/+3
|\ \ | |/ | | | | | | | | Conflicts: src/http.c src/main.c
| * Make wget capable of starting downloads from a specified position.Yousong Zhou2014-03-211-0/+2
| | | | | | | | | | | | | | This patch adds an option `--start-pos' for specifying starting position of a HTTP or FTP download. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2014-03-051-10/+30
|\ \ | |/
| * http: aesthetic changeGiuseppe Scrivano2014-03-041-4/+5
| |
| * URL-decode the filename parameter of Content-Disposition HTTP header if it ↵Vladimír Pýcha2014-03-031-7/+26
| | | | | | | | is encoded
* | Merge branch 'master' into parallel-wgetGiuseppe Scrivano2014-01-221-1/+4
|\ \ | |/ | | | | | | Conflicts: src/main.c
| * Fix checking the URL length when filename is specifiedHåkon Vågsether2014-01-071-1/+4
| |
* | Merge branch 'origin' into parallel-wgetGiuseppe Scrivano2013-11-041-7/+4
|\ \ | |/
| * http: Increase max header value length to 512Giuseppe Scrivano2013-11-021-1/+1
| |
| * http: specify Host when CONNECT is used.Pavel Mateja2013-11-021-4/+3
| |
| * Remove assert which is always trueGiuseppe Scrivano2013-10-301-2/+0
| |
* | progress: show the URL near the progress barGiuseppe Scrivano2013-11-031-1/+1
| |
* | http: don't register multiple times the same fdGiuseppe Scrivano2013-11-031-12/+19
| |
* | Unregister a connection while it is usedGiuseppe Scrivano2013-10-061-8/+15
| |
* | Merge remote-tracking branch 'origin' into parallel-wgetGiuseppe Scrivano2013-07-301-44/+81
|\ \ | |/
| * Fix erroneous error codes when HTTP Digest Authentication fails.Darshit Shah2013-07-221-34/+69
| |
| * Fix some memory leaks a problem introduced with the last commitGiuseppe Scrivano2013-07-131-3/+9
| |
| * Make --backups work as documentedGiuseppe Scrivano2013-07-131-6/+0
| |
| * Fix HTTP Digest authentication when the algorithm is not specifiedGiuseppe Scrivano2013-07-121-3/+4
| |
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2013-07-121-0/+4
|\ \ | |/
| * Set sock variable to -1 if no persistent conn existsTomas Hozza2013-07-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2013-07-021-2/+1
|\ \ | |/
| * Download response body data for all requestsDarshit Shah2013-06-271-2/+1
| |
* | Define PCONN_LOCK when threads are not used.Giuseppe Scrivano2013-06-231-0/+3
| |
* | Fix possible race conditionGiuseppe Scrivano2013-06-231-0/+2
| |
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2013-06-231-4/+28
|\ \ | |/
| * Follow RFC 2616 and httpbis specifications when handling redirectsDarshit Shah2013-06-161-5/+29
| |
* | MinGW compatibility fixesRay Satiro2013-05-221-7/+5
| |
* | Merge remote-tracking branch 'origin/master' into parallel-wgetGiuseppe Scrivano2013-05-191-28/+11
|\ \ | |/
| * Non-functionality improvement in src/http.c.Dmitry Bogatov2013-05-121-19/+9
| | | | | | | | | | Pulled `request_set_method` functionality into `request_new` to ensure these functions always called in right order.
| * Fix crash when receiving a HTTP redirect upon a POST requestGiuseppe Scrivano2013-05-021-6/+1
| | | | | | | | The crash was introduced by a recent commit.
| * Improve output in case of --post-{file,body} commands.Darshit Shah2013-04-241-2/+0
| |
| * Remove old reference to opt.post_data.Gijs van Tulder2013-04-231-1/+1
| |