Commit Graph

5435 Commits (1a2d31fa37504fb113597f5a2ed51faafd4b4728)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 8d5989db22
Merge pull request #1970 from himikof/patch-2
Fix undefined behavior/crash in GZipEncoder
2022-08-25 16:21:08 +09:00
Nikita Ofitserov 42038422f6
Fix undefined behavior/crash in GZipEncoder
When the output buffer is full, outbuf[produced] references past the buffer end, leading to UB and a possible assertion failure.
Fixes #1968, #1964
2022-08-24 17:28:04 +03:00
Nikita Ofitserov 15a96209cd
Fix Metalink4 parsing with foreign namespaces
Rename local checkNsUri helper function to make boolean conditions easily readable,
as the issue was not apparent with the old helper function name.
2022-08-23 20:27:39 +03:00
Tatsuhiro Tsujikawa 05f3c47988
Merge pull request #1943 from hmartinez82/FixBuild
Add missing <array> include to WinTLSSession.h
2022-08-19 21:22:19 +09:00
Hernan Martinez 182f4f9ca2 Add missing <array> 2022-06-23 00:00:25 -06:00
Tatsuhiro Tsujikawa a433352b67 Move runs-on under strategy 2022-05-22 12:23:38 +09:00
Tatsuhiro Tsujikawa 190ce569e4
Merge pull request #1929 from aria2/bump-ubuntu
Bump workflow ubuntu
2022-05-22 12:19:37 +09:00
Tatsuhiro Tsujikawa e0ef02d243 Bump workflow ubuntu 2022-05-22 11:33:13 +09:00
Tatsuhiro Tsujikawa 73cf6d110d
Merge pull request #1923 from aria2/bump-actions
Bump actions
2022-05-15 17:59:10 +09:00
Tatsuhiro Tsujikawa d4b96e24ed
Merge pull request #1924 from aria2/fix-nproc
Deal with missing nproc on macos
2022-05-15 17:58:55 +09:00
Tatsuhiro Tsujikawa 31b773de54 Deal with missing nproc on macos 2022-05-15 17:32:52 +09:00
Tatsuhiro Tsujikawa 2c21331ab6 Bump macos 2022-05-15 17:20:46 +09:00
Tatsuhiro Tsujikawa 9e412c9dc6 Bump actions/checkout to v3 2022-05-15 17:20:17 +09:00
Tatsuhiro Tsujikawa 0065c179ca
Merge pull request #1907 from aria2/getentropy
Better entropy for getRandomBytes
2022-04-09 18:01:49 +09:00
Tatsuhiro Tsujikawa ba3396f7bb Better entropy for getRandomBytes 2022-04-09 17:23:00 +09:00
Tatsuhiro Tsujikawa 851a74f53e Fix configure 2022-04-09 15:50:42 +09:00
Tatsuhiro Tsujikawa 893c096aa6 Update configure.ac 2022-04-09 15:47:11 +09:00
Tatsuhiro Tsujikawa 55f4bc139a nproc 2022-04-09 15:07:25 +09:00
Tatsuhiro Tsujikawa 998f203288
Merge pull request #1905 from aria2/bt-bencode-allow-empty-dict-name
Allow empty dist name in bencode which is needed for hybrid torrent
2022-04-08 23:29:13 +09:00
Tatsuhiro Tsujikawa ba36a38a6c Allow empty dist name in bencode which is needed for hybrid torrent 2022-04-08 22:54:11 +09:00
Tatsuhiro Tsujikawa 37a7419fed
Merge pull request #1902 from ITriskTI/patch-1
Update aria2c.rst
2022-04-07 21:52:27 +09:00
ITriskTI 0dcd4e9f29 Update aria2c.rst 2022-04-07 13:22:35 +03:00
Tatsuhiro Tsujikawa 85733e5980 Merge branch 'Frefreak-master' 2022-04-03 18:59:24 +09:00
carsonzhu 839dd2caf7 add no-want-digest-header option 2022-04-03 18:58:56 +09:00
Tatsuhiro Tsujikawa c651d563d0 Fix a failed test 2022-04-03 18:54:40 +09:00
Tatsuhiro Tsujikawa d8c5f74c1c Run workflow on a pull request 2022-04-03 18:54:40 +09:00
Tatsuhiro Tsujikawa aaf090d1a6
Merge pull request #1877 from h3xx/fix-doc-typo
Fix typo in documentation, --help text
2022-04-03 18:32:21 +09:00
Tatsuhiro Tsujikawa fee8e41d85
Merge pull request #1824 from richardnias/fix-accept-encoding-docs
Fix header in --http-accept-gzip documentation
2022-04-03 18:31:38 +09:00
Emmanuel Engelhart 56d1e1146b
Increase ByteArrayDiskWriter maximum size 2022-03-05 19:15:48 +01:00
Dan Church de99fc170e
Fix typo 2022-01-19 09:57:01 -06:00
myl7 afb45ee0bc
Add auth helper for no auth or userpass auth 2021-12-28 17:15:08 +08:00
myl7 6ab8af1ef5
Refactor SOCKS socket code
Separate sending cmd and receiving reply out as they are shared in
procedures.
Change returns of start* method.
2021-12-28 17:02:44 +08:00
myl7 ddabffd443
Fix char appending to sstream and res len counting 2021-12-26 20:21:37 +08:00
myl7 9061677c0e
Update start udp associate method
Rename func according to RFC.
Fix bad type of return.
Update arg type to get bnd addr and port.
2021-12-17 08:06:56 +08:00
myl7 de08f510be
Extract SOCKS5 logic into new class SocksProxySockct 2021-12-07 22:01:01 +08:00
myl7 60d986873f
Fix make_unique importing 2021-12-06 05:01:11 +08:00
myl7 12d419d7fc
Fix fmt param type in logging 2021-12-06 03:37:13 +08:00
myl7 71b652f8a1
Fix receiving handling in BT UDP SOCKS5 proxy 2021-12-05 21:42:44 +08:00
myl7 be6243f0b7
Add test for BT UDP SOCKS5 proxy 2021-12-05 21:42:22 +08:00
myl7 f2a66a68b3
Setup BT UDP SOCKS5 proxy on demand 2021-12-05 20:57:12 +08:00
myl7 2806da3298
Add bt-udp-socks-proxy option with its utilities 2021-12-05 19:57:19 +08:00
myl7 a838cdde0a
Add UDP SOCKS5 proxy support for BT
By inherienting DHTConnectionImpl that is used by UDP trackers and DHT connections
2021-12-05 18:24:28 +08:00
Tatsuhiro Tsujikawa c546fa492c clang-format-12 2021-10-30 19:04:29 +09:00
Tatsuhiro Tsujikawa 177939d6ac Cosmetic change 2021-10-30 19:03:53 +09:00
Tatsuhiro Tsujikawa c197373db7 Simplify 2021-10-30 18:25:29 +09:00
Tatsuhiro Tsujikawa 869aae8264 Build with OpenSSL 3.0.0 2021-10-29 21:05:57 +09:00
Richard Nias 6c96589244 Fix header in --http-accept-gzip documentation 2021-09-17 10:17:39 +02:00
FH0 11fa3e9fe4
android(ndk r23) has timegm 2021-09-16 14:37:31 +08:00
nkh0472 b850338c44
Minor grammar improvements
Fix a typo 'Anroid' --> 'Android';
Minor grammar improvements.
2021-08-22 10:47:40 +08:00
Tatsuhiro Tsujikawa 21f476588c Fix sphinx build error 2021-08-21 17:26:00 +09:00