Commit Graph

109 Commits

Author SHA1 Message Date
deal a813aac10e Merge: 6639f55c0f bec2e07a00
Merge pull request #561 from adxeproject/dev

Merge Crash Fix #559 from dev
2021-12-28 21:27:32 +08:00
halx99 13927aa1bc Fix #559, match number type for get CURLINFO_RESPONSE_CODE
a. On linux x64, will crash with stack protector

Reported by @rh101

Signed-off-by: halx99 <halx99@live.com>
2021-12-28 21:00:45 +08:00
halx99 6bba4ce24b Merge: d397854ead 9eeeb151a1
Merge commit
2021-12-28 11:07:12 +08:00
halx99 c93849c6de Commit chnages 2021-12-28 11:05:34 +08:00
halx99 f905bf5c23 Committing clang-format changes 2021-12-28 03:00:34 +00:00
halx99 018be62678 string_view for android 2021-12-27 19:18:36 +08:00
halx99 5ba5049146 Huge changes for all string_view 2021-12-26 23:26:34 +08:00
halx99 8f83250ba4 Committing clang-format changes 2021-12-25 02:04:45 +00:00
halx99 2367e99502 Delete obj-c style callback 2021-12-10 19:20:33 +08:00
halx99 52de9ba400 [HttpClient] Use `byte_buffer` instead `std::vector<char>` 2021-12-10 19:15:48 +08:00
halx99 1ee106007a Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
halx99 1f10987b28 Improve logic for DownloaderCURL startTask 2021-11-23 19:01:20 +08:00
halx99 e3c8c7f8ca Fix #540 2021-11-23 12:53:13 +08:00
halx99 6bce6b49c4 Add HttpClient::setNameServers
a. support set custom dns server list when c-ares enabled.
2021-10-23 21:57:36 +08:00
halx99 a099194a47 Add HttpClient::getInternalService 2021-09-05 22:18:42 +08:00
姒嗘煶鏉? 35b658c90e Merge: f5663f279c d73d937894
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-05 20:45:32 +08:00
姒嗘煶鏉? 0aff165959 [fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout. 2021-09-05 20:44:14 +08:00
rh101 4e7db23d38 Remove getLong() method
Change %du to %u, and %lx to %x
Use "stdint.h" instead of <cstdint> for TGAlib.h
2021-09-02 20:30:20 +10:00
姒嗘煶鏉? 64e2cdd8d9 [fix]The problem of inaccurate maximum width limit when using system fonts. 2021-09-02 17:15:03 +08:00
rh101 fcaaa9a135 Revert to `long` for library usage 2021-09-02 16:20:16 +10:00
rh101 d8fd94db8a Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate. 2021-09-02 15:39:28 +10:00
halx99 583bb5ece4 HttpClient: clear channel ud when it been recycle 2021-08-31 15:53:46 +08:00
halx99 f02e0a7b87 Fix #443
a. HttpClient: improve request header processing
2021-08-05 14:56:40 +08:00
halx99 410d3b41af HttpClient: push front available channel to fix dns cache missing 2021-08-03 14:41:30 +08:00
halx99 981b3a9a79 Add HttpClient::handleNetworkStatusChanged to clear DNS cache 2021-07-31 14:39:42 +08:00
halx99 622c22c47b Avoid crash when http cookie enabled on android 2021-07-23 16:09:13 +08:00
halx99 21af858b20 Code style 2021-07-21 21:06:55 +08:00
halx99 f37be8f5c2 Improve logic 2021-07-20 15:08:31 +08:00
halx99 b793ff123e Remove test code 2021-07-20 15:06:17 +08:00
halx99 c74a12baf5 Fix cookie match 2021-07-20 15:03:19 +08:00
halx99 bc2ef65ba7 Improve cookie file parse 2021-07-19 17:58:13 +08:00
halx99 cf2b577a25 Fix ci 2021-07-19 14:49:38 +08:00
halx99 5bb5d43733 Improve code quality 2021-07-19 14:17:51 +08:00
halx99 0af95a3fbb Improve code quality 2021-07-19 13:43:59 +08:00
halx99 ee327238fa Update HttpCookie.h 2021-07-19 12:40:22 +08:00
halx99 d76a43406c HttpClient cookie support 2021-07-19 12:26:25 +08:00
halx99 ce13dc075f Use lowercase as preferred to storage HttpResponse headers [skip ci] 2021-07-19 08:04:12 +08:00
halx99 cc0bb3230f HttpClient: Improve url redirect process 2021-07-19 00:17:50 +08:00
halx99 4e3a2355ba Fix http response header processing 2021-07-18 23:20:22 +08:00
halx99 9048db93a7 Delete unused comment 2021-07-07 04:08:07 +08:00
halx99 d5f6714534 Code style 2021-07-06 21:15:02 +08:00
halx99 0c74a94525 Implement HttpClient::sendSync with std::promise 2021-07-06 11:39:53 +08:00
halx99 f4969ee388 HttpClient: Fix crash when process redirect 2021-07-06 02:44:57 +08:00
halx99 f895690b9d HttpClient: refine User-Agent encoding 2021-07-05 20:42:22 +08:00
halx99 3df92d56de HttpClient handle content type from custom headers 2021-07-05 14:24:04 +08:00
halx99 34d51633ad Fix ci [ci build] 2021-07-04 21:59:31 +08:00
halx99 14b24ed14b Refine code [ci build] 2021-07-04 21:21:29 +08:00
halx99 43f25d5ad7 Downloader background task [ci build] 2021-07-04 19:26:18 +08:00
halx99 97425dc655 Fix #413 2021-07-04 16:40:34 +08:00
halx99 44677f1a3b Improve HttpResponse interanlCode set 2021-06-25 18:29:16 +08:00