Ali MJ Al-Nasrawy
83cb6c15d3
always use range requests
...
Send "Range: bytes=0-" with the first http request to inform the server
of range support by the client.
As per RFC 7233, server MUST ignore the header (not request!) if it
doesn't support range requests or the specified unit. So, this should
have no side effects.
Fixes GH-1576.
2020-03-15 00:33:11 +03:00
Ali MJ Al-Nasrawy
2924a029ab
transfer-encoding: support segmented download
...
Partial content responses (code 206) with content-range works at higher
level than content-length and transfer-encoding and is totally
compatible with both. In other words, transfer-encoding specifies the
encoding in which the request part is sent while content-range species
the position of this part within the whole "representation".
Also, do range validation test for the response.
This parially reverts 5ccd5b6
.
Fixes GH-1576.
2020-03-15 00:12:14 +03:00
Ali MJ Al-Nasrawy
6d5ab2f124
GZipDecodingStreamFilter: be aware of segments
...
See GH-1582
Report the correct bytesProcessed_ taking into account
getDelegate()->getBytesProcessed().
This makes it necessary to use outbuf_ to store residual data not
processed by the downstream filter.
2020-03-09 21:32:14 +03:00
Ali MJ Al-Nasrawy
dd7ed38c90
ChunkedDecodingStreamFilter: be aware of segments
...
See GH-1582
Report the correct bytesProcessed_ taking into account
getDelagate()->getBytesProcessed()
Also, rewrite to avoid using goto or modifying for-loop variables.
2020-03-09 21:15:09 +03:00
Tatsuhiro Tsujikawa
9d0a48ac81
Merge pull request #1487 from aria2/reset-download-upload-length
...
Reset sessionDownloadLength and sessionUploadLength on download start
2019-10-12 11:46:35 +09:00
Tatsuhiro Tsujikawa
902f86f574
Merge pull request #1477 from ITriskTI/patch-1
...
Update aria2c.rst
2019-10-12 10:37:11 +09:00
Tatsuhiro Tsujikawa
6ebdddb9f1
Reset sessionDownloadLength and sessionUploadLength on download start
...
This commit resets sessionDownloadLength and sessionUploadLength when
a download restarted (including unpause RPC method).
Fixes #1486
2019-10-12 10:30:18 +09:00
ITriskTI
3e0134fef9
Update aria2c.rst
2019-10-06 17:34:06 +03:00
Nils Maier
53b3169a22
AppleTLS: even more correctly define kTLSProtocol13
...
Yes, again
2019-10-06 13:36:08 +02:00
Nils Maier
a184ceb9e2
AppleTLS: correctly define kTLSProtocol13
2019-10-06 13:22:25 +02:00
Nils Maier
1677aba1b2
Update macOS dependencies
2019-10-06 12:13:59 +02:00
Nils Maier
40e01dbb4c
AppleTLS: update cipher suites
2019-10-06 12:13:59 +02:00
Nils Maier
a6671aec37
AppleTLS: TLSv3
2019-10-06 12:13:59 +02:00
Tatsuhiro Tsujikawa
6b36224453
Fix make dist
2019-10-06 10:48:48 +09:00
Tatsuhiro Tsujikawa
7f79854b2e
Fix makerelease
2019-10-06 10:16:42 +09:00
Tatsuhiro Tsujikawa
708e2637e8
Bump up version number to 1.35.0
2019-10-06 09:59:59 +09:00
Tatsuhiro Tsujikawa
b468c08a94
Update NEWS
2019-10-06 09:59:16 +09:00
Tatsuhiro Tsujikawa
a93fc6aff1
Update bash_completion
2019-10-06 09:44:20 +09:00
Tatsuhiro Tsujikawa
c0a6622bdb
Update AUTHORS
2019-10-06 09:37:18 +09:00
Tatsuhiro Tsujikawa
4a645d9dcf
Bump copyright year in --version
2019-09-21 17:47:05 +09:00
Tatsuhiro Tsujikawa
0cb248434f
Merge branch 'update-mingw-build-dep'
2019-09-15 18:35:50 +09:00
Tatsuhiro Tsujikawa
286982d2c2
Update mingw build dependencies
2019-09-15 17:48:33 +09:00
Tatsuhiro Tsujikawa
23f3c4d8eb
Merge branch 'update-android-build-dep'
2019-09-15 16:40:32 +09:00
Tatsuhiro Tsujikawa
80df934955
Fix compiler warning
2019-09-15 11:26:48 +09:00
Tatsuhiro Tsujikawa
9f5758570a
Update android build dependencies
...
Update android build dependencies. Use android NDK r20 and build
aarch64 binary.
2019-09-15 11:15:29 +09:00
Tatsuhiro Tsujikawa
7f6578aa7d
clang-format-8
2019-06-22 17:18:01 +09:00
Tatsuhiro Tsujikawa
0abde36583
Merge pull request #1213 from Chaneybenjamini/libressl-pr
...
Fix build with Libressl version 2.7.x
2019-05-19 14:58:31 +09:00
Tatsuhiro Tsujikawa
ecba2625da
Merge branch 'modernize-tls'
2019-04-08 15:02:33 +09:00
Tatsuhiro Tsujikawa
52da4e40ea
Drop SSLv3.0 and TLSv1.0 and add TLSv1.3
...
TLSv1.3 support is added for GNUTLS and OpenSSL.
2019-04-07 16:18:32 +09:00
Tatsuhiro Tsujikawa
4af4a7cfc3
clang-format-7
2019-04-07 12:49:10 +09:00
Tatsuhiro Tsujikawa
eb7a15513a
Merge pull request #1315 from neheb/patch-1
...
Platform: Fix compilation without deprecated OpenSSL APIs
2019-04-07 12:39:12 +09:00
Rosen Penev
0e31e37c0f
Platform: Fix compilation without deprecated OpenSSL APIs
2019-01-22 00:47:29 -08:00
Tatsuhiro Tsujikawa
37368130ca
Mask headers
2019-01-05 09:32:40 +09:00
Tatsuhiro Tsujikawa
879e4a89b6
FileEntry: Use implicitly-declared copy constructor
2018-12-02 17:03:03 +09:00
Tatsuhiro Tsujikawa
6fb0fe2196
Merge pull request #1306 from aria2/remove-linux-getrandom
...
Remove linux getrandom and use C++ stdlib instead
2018-11-26 00:30:38 +09:00
Tatsuhiro Tsujikawa
03f40af361
Remove linux getrandom and use C++ stdlib instead
2018-11-25 22:51:57 +09:00
Tatsuhiro Tsujikawa
6c30b13a91
Merge pull request #1300 from aria2/accept-metalink
...
Don't send Accept Metalink header if Metalink is disabled
2018-11-18 21:38:06 +09:00
Tatsuhiro Tsujikawa
c6b7cca5fe
Don't send Accept Metalink header if Metalink is disabled
2018-11-18 19:02:13 +09:00
Tatsuhiro Tsujikawa
34fc557944
Merge pull request #1277 from ITriskTI/patch-1
...
Update aria2c.rst
2018-11-01 00:36:36 +09:00
ITriskTI
71a98203a0
Update aria2c.rst
2018-10-14 20:59:31 +03:00
Tatsuhiro Tsujikawa
7e5757c238
Update doc
2018-10-13 20:56:59 +09:00
Tatsuhiro Tsujikawa
8e5dbad079
Merge pull request #1259 from eric1932/patch-1
...
Update README.rst
2018-09-13 18:41:44 +09:00
eric1932
7a58936e06
Update README.rst
2018-09-12 13:59:10 -05:00
Tatsuhiro Tsujikawa
475e6c5997
Fix "UDP" typo
...
Patch from Sergey Matveev
2018-06-18 23:52:25 +09:00
Tatsuhiro Tsujikawa
e0a827ff98
Enable IndentPPDirectives
2018-06-09 16:23:36 +09:00
Tatsuhiro Tsujikawa
6f40026944
Update .clang-format
2018-06-09 16:22:30 +09:00
Tatsuhiro Tsujikawa
67d07534ea
clang-format-6.0
2018-06-09 16:03:29 +09:00
Tatsuhiro Tsujikawa
eb30bb1a52
Merge pull request #1214 from aria2/fix-gnutls-empty-cn-bug
...
gnutls: Fix bug that commonName is always empty
2018-06-05 22:14:49 +09:00
Tatsuhiro Tsujikawa
906c77cc9c
Merge pull request #1195 from tcely/patch-1
...
remove comment about missing multi target
2018-06-05 21:31:24 +09:00
Tatsuhiro Tsujikawa
b8df7b0880
gnutls: Fix bug that commonName is always empty
2018-06-05 21:27:45 +09:00