| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bugfixHEAD | Hanjie Wu | 2023-12-19 | 2 | -20/+29 |
| | | |||||
| * | fix notification | Hanjie Wu | 2023-12-18 | 3 | -6/+26 |
| | | |||||
| * | fix notification issue | Hanjie Wu | 2023-12-18 | 5 | -19/+42 |
| | | |||||
| * | fix readDataFrom | Hanjie Wu | 2023-12-18 | 1 | -1/+1 |
| | | |||||
| * | add uTP field in RPC | Hanjie Wu | 2023-12-16 | 1 | -0/+2 |
| | | |||||
| * | add uTP accept callback | Hanjie Wu | 2023-12-16 | 2 | -15/+44 |
| | | |||||
| * | bugfix | Hanjie Wu | 2023-12-16 | 3 | -6/+7 |
| | | |||||
| * | fix | Hanjie Wu | 2023-12-16 | 1 | -6/+6 |
| | | |||||
| * | fix c++11 issue | Hanjie Wu | 2023-12-16 | 2 | -2/+2 |
| | | |||||
| * | add retry different protocols | Hanjie Wu | 2023-12-16 | 13 | -53/+135 |
| | | |||||
| * | more C++11 compatibility issues | Hanjie Wu | 2023-12-16 | 2 | -5/+8 |
| | | |||||
| * | fix C++11 compatibility issues | Hanjie Wu | 2023-12-16 | 2 | -4/+8 |
| | | |||||
| * | add uTP support for outbound connections | Hanjie Wu | 2023-12-16 | 45 | -81/+7361 |
| | | |||||
| * | Fix makerelease | Tatsuhiro Tsujikawa | 2023-11-15 | 1 | -3/+3 |
| | | |||||
| * | Dockerfile: Add missing python3-docutils | Tatsuhiro Tsujikawa | 2023-11-15 | 2 | -2/+4 |
| | | |||||
| * | Update bash_completionrelease-1.37.0 | Tatsuhiro Tsujikawa | 2023-11-15 | 1 | -1/+1 |
| | | |||||
| * | Fix python scripts | Tatsuhiro Tsujikawa | 2023-11-15 | 2 | -2/+2 |
| | | |||||
| * | Update sphinx_rtd_theme | Tatsuhiro Tsujikawa | 2023-11-15 | 2 | -5/+10 |
| | | |||||
| * | Bump package version | Tatsuhiro Tsujikawa | 2023-11-15 | 1 | -1/+1 |
| | | |||||
| * | Update AUTHORS | Tatsuhiro Tsujikawa | 2023-11-15 | 1 | -0/+11 |
| | | |||||
| * | Update NEWS | Tatsuhiro Tsujikawa | 2023-11-15 | 1 | -35/+2 |
| | | |||||
| * | Merge pull request #2135 from aria2/docker-mingw-revert-cares | Tatsuhiro Tsujikawa | 2023-11-15 | 1 | -3/+3 |
| |\ | | | | | Dockerfile.mingw: Downgrade c-ares to 1.19.1 | ||||
| | * | Dockerfile.mingw: Downgrade c-ares to 1.19.1 | Tatsuhiro Tsujikawa | 2023-11-14 | 1 | -3/+3 |
| |/ | | | | | Downgrade c-ares to 1.19.1 in Dockerfile.mingw because it does not build on x86_64 host. | ||||
| * | Merge pull request #2132 from aria2/docker-bump-cares | Tatsuhiro Tsujikawa | 2023-11-12 | 2 | -4/+4 |
| |\ | | | | | Dockerfile: Bump c-ares to 1.21.0 | ||||
| | * | Dockerfile: Bump c-ares to 1.21.0 | Tatsuhiro Tsujikawa | 2023-11-12 | 2 | -4/+4 |
| |/ | |||||
| * | Merge branch 'pr1802' | Tatsuhiro Tsujikawa | 2023-11-05 | 18 | -53/+52 |
| |\ | | | | | | | | | This resolves conflicts on https://github.com/aria2/aria2/pull/1802 and does fixups. | ||||
| | * | Trim excess whitespace | a1346054 | 2023-11-05 | 1 | -1/+1 |
| | | | |||||
| | * | Fix spelling | a1346054 | 2023-11-05 | 11 | -11/+11 |
| | | | |||||
| | * | Fix shellcheck warnings | a1346054 | 2023-11-05 | 5 | -20/+20 |
| | | | |||||
| | * | Use license file from gnu.org | a1346054 | 2023-11-05 | 1 | -21/+20 |
| |/ | | | | | Downloaded from: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt | ||||
| * | Merge pull request #1982 from h3xx/update-docs | Tatsuhiro Tsujikawa | 2023-11-05 | 3 | -58/+61 |
| |\ | | | | | Various documenation fixes and rewords | ||||
| | * | Fix grammar, rework layout of `--stream-piece-selector` section | Dan Church | 2022-09-27 | 2 | -43/+47 |
| | | | |||||
| | * | Fix misspelled word | Dan Church | 2022-09-27 | 2 | -2/+2 |
| | | | |||||
| | * | Re-word warning about undefined behavior | Dan Church | 2022-09-27 | 1 | -3/+3 |
| | | | |||||
| | * | Concise-ify note | Dan Church | 2022-09-27 | 1 | -2/+1 |
| | | | |||||
| | * | Change 'meta data' to 'metadata' | Dan Church | 2022-09-27 | 1 | -8/+8 |
| | | | |||||
| * | | Merge pull request #2129 from aria2/fix-non-bt-build-error | Tatsuhiro Tsujikawa | 2023-11-03 | 2 | -2/+12 |
| |\ \ | | | | | | | Fix non bt build error | ||||
| | * | | ci: Check build without bittorrent | Tatsuhiro Tsujikawa | 2023-11-03 | 1 | -2/+11 |
| | | | | |||||
| | * | | Fix build error without bittorrent | Tatsuhiro Tsujikawa | 2023-11-03 | 1 | -0/+1 |
| |/ / | | | | | | | Amends #2127 | ||||
| * | | Merge pull request #2127 from aria2/cap-infohashlen | Tatsuhiro Tsujikawa | 2023-11-02 | 1 | -6/+7 |
| |\ \ | | | | | | | Cap infoHashLength in .aria2 file | ||||
| | * | | Cap infoHashLength in .aria2 file | Tatsuhiro Tsujikawa | 2023-11-02 | 1 | -6/+7 |
| |/ / | | | | | | | Cap infoHashLength in .aria2 file, and save an extra allocation. | ||||
| * | | clang-format | Tatsuhiro Tsujikawa | 2023-11-02 | 9 | -56/+57 |
| | | | |||||
| * | | Merge pull request #2126 from aria2/cpp-ext | Tatsuhiro Tsujikawa | 2023-11-02 | 3 | -149/+1019 |
| |\ \ | | | | | | | Do not require strict C++ mode and update ax_cxx_compile_stdcxx.m4 | ||||
| | * | | Do not require strict C++ mode and update ax_cxx_compile_stdcxx.m4 | Tatsuhiro Tsujikawa | 2023-11-02 | 3 | -149/+1019 |
| |/ / | |||||
| * | | Merge pull request #2125 from aria2/bump-compiler | Tatsuhiro Tsujikawa | 2023-11-02 | 1 | -6/+6 |
| |\ \ | | | | | | | ci: Bump gcc and clang | ||||
| | * | | ci: Bump gcc and clang | Tatsuhiro Tsujikawa | 2023-11-02 | 1 | -6/+6 |
| |/ / | |||||
| * | | Merge pull request #2117 from ↵ | Tatsuhiro Tsujikawa | 2023-10-09 | 1 | -2/+2 |
| |\ \ | | | | | | | | | | | | | egorenar/fix-formatr-string-overflow-in-logger-writeheader Logger: Fix format string overflow in writeHeader() | ||||
| | * | | Logger: Fix format string overflow in writeHeader() | Alexander Egorenkov | 2023-10-07 | 1 | -2/+2 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This problem occurred on a 32-bit ARM OpenWRT router running Linux 6.1. The method writeHeader() assumes that the size of struct timeval is 8 bytes which is not true on this machine, it is 16 bytes large. Therefore, first cast tv.tv_usec to the unsigned long type. ========= GDB trace ========= (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0xb6f4f9b4 in memchr (src=src@entry=0x3b6a, c=c@entry=0x0, n=n@entry=0x7fffffff) at src/string/memchr.c:16 16 for (; ((uintptr_t)s & ALIGN) && n && *s != c; s++, n--); 0xb6f4f98c <memchr+12>: 00 00 52 e3 cmp r2, #0 0xb6f4f990 <memchr+16>: 00 30 a0 e1 mov r3, r0 0xb6f4f994 <memchr+20>: 05 00 00 1a bne 0xb6f4f9b0 <memchr+48> 0xb6f4f998 <memchr+24>: 32 00 00 ea b 0xb6f4fa68 <memchr+232> 0xb6f4f99c <memchr+28>: 03 00 13 e3 tst r3, #3 0xb6f4f9a0 <memchr+32>: 01 20 42 e2 sub r2, r2, #1 0xb6f4f9a4 <memchr+36>: 36 00 00 0a beq 0xb6f4fa84 <memchr+260> 0xb6f4f9a8 <memchr+40>: 00 00 52 e3 cmp r2, #0 0xb6f4f9ac <memchr+44>: 2d 00 00 0a beq 0xb6f4fa68 <memchr+232> 0xb6f4f9b0 <memchr+48>: 03 00 a0 e1 mov r0, r3 => 0xb6f4f9b4 <memchr+52>: 01 c0 d3 e4 ldrb r12, [r3], #1 0xb6f4f9b8 <memchr+56>: 01 00 5c e1 cmp r12, r1 0xb6f4f9bc <memchr+60>: f6 ff ff 1a bne 0xb6f4f99c <memchr+28> (gdb) bt #0 0xb6f4f9b4 in memchr (src=src@entry=0x3b6a, c=c@entry=0x0, n=n@entry=0x7fffffff) at src/string/memchr.c:16 #1 0xb6f512b4 in strnlen (s=s@entry=0x3b6a <error: Cannot access memory at address 0x3b6a>, n=n@entry=0x7fffffff) at src/string/strnlen.c:5 #2 0xb6f19eb4 in printf_core (f=f@entry=0xb67d35b0, fmt=fmt@entry=0x101856 "%s.%06ld [%s] [%s:%d] ", ap=ap@entry=0xbe8f5a1c, nl_arg=nl_arg@entry=0xbe8f5a48, nl_type=<optimized out>, nl_type@entry=0xbe8f5a20) at src/stdio/vfprintf.c:599 #3 0xb6f4b86c in vfprintf (f=0xb67d35b0, fmt=0x101856 "%s.%06ld [%s] [%s:%d] ", ap=...) at src/stdio/vfprintf.c:688 #4 0x0001d92c in aria2::OutputFile::printf (this=<optimized out>, format=0x101856 "%s.%06ld [%s] [%s:%d] ") at OutputFile.h:58 #5 0x00027910 in aria2::(anonymous namespace)::writeHeader<aria2::OutputFile> (lineNum=0xba, sourceFile=0x10d842 "HttpServer.cc", level=aria2::Logger::A2_INFO, fp=...) at Logger.cc:136 #6 aria2::Logger::writeLog (this=0xb67cf78c, level=aria2::Logger::A2_INFO, sourceFile=0x10d842 "HttpServer.cc", lineNum=0xba, msg=0xb6766280 "HTTP Server received request\nPOST /jsonrpc HTTP/1.1\r\nHost: 192.168 .1.1:6800\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0\r\nAccept: application/json, text/plain, *"..., msg@entry=0x10d842 "HttpServer.cc", trace=trace@entry=0x124806 "") a t Logger.cc:196 #7 0x00028bf0 in aria2::Logger::log (this=<optimized out>, level=<optimized out>, sourceFile=<optimized out>, lineNum=<optimized out>, msg=0xb6766280 "HTTP Server received request\nPOST /jsonrpc HTTP/1.1\r\nHost : 192.168.1.1:6800\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0\r\nAccept: application/json, text/plain, *"...) at Logger.cc:213 #8 0x00081708 in aria2::HttpServer::receiveRequest (this=0xb6774430) at /home/egorenar/Repositories/openwrt-rel/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/ include/c++/12.3.0/bits/basic_string.h:233 #9 aria2::HttpServerCommand::execute (this=0xb6772620) at HttpServerCommand.cc:194 #10 0x00076de4 in aria2::(anonymous namespace)::executeCommand (commands=..., statusFilter=aria2::Command::STATUS_ALL) at DownloadEngine.cc:139 #11 0x0001913c in aria2::DownloadEngine::run (oneshot=0x0, this=0xb67967e0) at DownloadEngine.cc:180 #12 aria2::MultiUrlRequestInfo::execute (this=0xb67dee6c) at MultiUrlRequestInfo.cc:361 #13 aria2::main (argv=<optimized out>, argc=<optimized out>) at main.cc:78 #14 main (argc=<optimized out>, argv=<optimized out>) at main.cc:91 (gdb) p tv $13 = { tv_sec = 0x652134fd, tv_usec = 0x3b6a } (gdb) call sizeof(tv) $14 = 0x10 (gdb) call sizeof(tv.tv_usec) $15 = 0x8 (gdb) call sizeof(long) $16 = 0x4 (gdb) call sizeof(unsigned long) $17 = 0x4 (gdb) call sizeof(time_t) $18 = 0x8 Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net> | ||||
| * | | Merge pull request #2108 from aria2/memcpy | Tatsuhiro Tsujikawa | 2023-09-18 | 3 | -19/+21 |
| |\ \ | | | | | | | Avoid non-nil argument errors | ||||
| | * | | Avoid non-nil argument errors | Tatsuhiro Tsujikawa | 2023-09-18 | 3 | -19/+21 |
| | | | | | | | | | | | | | | | | Use std::copy_n and std::fill_n to avoid a non-nil argument error with memcpy/memset. | ||||
