halx99
b5b4b1e5d8
Committing clang-format changes
2021-12-29 11:31:28 +00:00
deal
8426d87838
Merge pull request #561 from adxeproject/dev
...
Merge Crash Fix #559 from dev
2021-12-28 21:27:32 +08:00
halx99
bec2e07a00
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
9eeeb151a1
Committing clang-format changes
2021-12-28 03:00:34 +00:00
halx99
7cdfcafd2a
string_view for android
2021-12-27 19:18:36 +08:00
halx99
0076283252
Huge changes for all string_view
2021-12-26 23:26:34 +08:00
halx99
2ba77a42fb
Committing clang-format changes
2021-12-25 02:04:45 +00:00
halx99
e2f13576ae
Delete obj-c style callback
2021-12-10 19:20:33 +08:00
halx99
2e0cc940ee
[HttpClient] Use `byte_buffer` instead `std::vector<char>`
2021-12-10 19:15:48 +08:00
halx99
b459acbcf7
Remove all unnecessary nothrow
2021-12-08 00:11:53 +08:00
halx99
19947f56ec
Improve logic for DownloaderCURL startTask
2021-11-23 19:01:20 +08:00
halx99
ee79b844a7
Fix #540
2021-11-23 12:53:13 +08:00
halx99
4fc5ee5840
Add HttpClient::setNameServers
...
a. support set custom dns server list when c-ares enabled.
2021-10-23 21:57:36 +08:00
halx99
14a295af52
Add HttpClient::getInternalService
2021-09-05 22:18:42 +08:00
rh101
101eb89f4c
Revert to `long` for library usage
2021-09-02 16:20:16 +10:00
rh101
4d1ff40736
Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate.
2021-09-02 15:39:28 +10:00
halx99
b7f391cbff
HttpClient: clear channel ud when it been recycle
2021-08-31 15:53:46 +08:00
halx99
5e88382a93
Fix #443
...
a. HttpClient: improve request header processing
2021-08-05 14:56:40 +08:00
halx99
cfffd35aec
HttpClient: push front available channel to fix dns cache missing
2021-08-03 14:41:30 +08:00
halx99
71c17cfc9b
Add HttpClient::handleNetworkStatusChanged to clear DNS cache
2021-07-31 14:39:42 +08:00
halx99
e08c9b136a
Avoid crash when http cookie enabled on android
2021-07-23 16:09:13 +08:00
halx99
cc03fc970a
Code style
2021-07-21 21:06:55 +08:00
halx99
85a1954adc
Improve logic
2021-07-20 15:08:31 +08:00
halx99
ee3b08c182
Remove test code
2021-07-20 15:06:17 +08:00
halx99
8bb93fcaa0
Fix cookie match
2021-07-20 15:03:19 +08:00
halx99
e6c6c54044
Improve cookie file parse
2021-07-19 17:58:13 +08:00
halx99
8fdb279a28
Fix ci
2021-07-19 14:49:38 +08:00
halx99
04aa501cde
Improve code quality
2021-07-19 14:17:51 +08:00
halx99
fc768cbd3b
Improve code quality
2021-07-19 13:43:59 +08:00
halx99
e90c4cdc3d
Update HttpCookie.h
2021-07-19 12:40:22 +08:00
halx99
abd98f50aa
HttpClient cookie support
2021-07-19 12:26:25 +08:00
halx99
b167ffc311
Use lowercase as preferred to storage HttpResponse headers [skip ci]
2021-07-19 08:04:12 +08:00
halx99
648a5b5554
HttpClient: Improve url redirect process
2021-07-19 00:17:50 +08:00
halx99
617d2b97e0
Fix http response header processing
2021-07-18 23:20:22 +08:00
halx99
54a97c5820
Delete unused comment
2021-07-07 04:08:07 +08:00
halx99
dca7f95163
Code style
2021-07-06 21:15:02 +08:00
halx99
45ad0d86fe
Implement HttpClient::sendSync with std::promise
2021-07-06 11:39:53 +08:00
halx99
ca859645ef
HttpClient: Fix crash when process redirect
2021-07-06 02:44:57 +08:00
halx99
04fc722d8d
HttpClient: refine User-Agent encoding
2021-07-05 20:42:22 +08:00
halx99
7405c5781b
HttpClient handle content type from custom headers
2021-07-05 14:24:04 +08:00
halx99
a3b5315a4a
Fix ci [ci build]
2021-07-04 21:59:31 +08:00
halx99
2181268139
Refine code [ci build]
2021-07-04 21:21:29 +08:00
halx99
ec904ed2b2
Downloader background task [ci build]
2021-07-04 19:26:18 +08:00
halx99
79b13d2372
Fix #413
2021-07-04 16:40:34 +08:00
halx99
5f33ddeee6
Improve HttpResponse interanlCode set
2021-06-25 18:29:16 +08:00
halx99
c7dd59b2ad
Simplify code
2021-06-25 08:18:32 +08:00
halx99
94fc8f6ee8
Fix HttpClient compatible issue
...
a. should let user do urlencode manually
b. this behavior is same with previous curl implemented HttpClient
2021-06-25 07:07:59 +08:00
halx99
a379f936d8
Reimplement HttpClient based on yasio ( #390 )
...
* [WIP] Reimplement HttpClient based on yasio
This change will make HttpClient support concurrency request
* [WIP] Reimplement HttpClient based on yasio
a. timeoutForRead support
b. Improve code
* [WIP] Reimplement HttpClient based on yasio [ci build]
* [WIP] Fix ci [ci build]
* [WIP] Reimplement HttpClient based on yasio [ci build]
PUT,DELETE support
* [WIP] Reimplement HttpClient based on yasio [ci build]
HttpClientTest works
* Update HttpClient.cpp
* HttpClientTest: enable sslVerifaction test
* Update HttpResponse.h
* Sync luabindings [ci build]
* Add chrome UA test
* Fix ci [ci build]
* The timer for read timeout should be associated with per channel
* Remove unused function
* Update url
2021-06-24 12:33:07 +08:00
halx99
e35d340b46
Improve Uri parse
2021-06-22 14:19:22 +08:00
halx99
9321a65e8c
Use md5 from openssl [ci build]
2021-06-02 00:44:45 +08:00