Commit Graph
58 Commits
Author SHA1 Message Date
kedixa d54f06e6ae HttpTask support auth when has userinfo (#1554)
* HttpTask support auth when has userinfo

* clear auth when redirect to other host

* HttpProxyTask support auth when has userinfo

* remove one StringUtil::url_decode as requested in #1554
2024-05-28 20:17:25 +08:00
Xie Han 2082c17d9a Add json_value_copy(). 2024-05-20 23:11:51 +08:00
xiehan 29e9d9de98 Fix LRUCache::prune. (#1508) 2024-03-21 16:48:50 +08:00
Xie Han c66f85392c Optimize estimating JSON string length. 2024-01-30 23:04:39 +08:00
Xie Han d4651bd854 Update JSON parser. 2024-01-16 20:39:12 +08:00
Xie Han 3a8c14ce6b Optimize evaluating JSON number. 2023-12-27 21:10:16 +08:00
xiehan 6e4e29d736 Parse JSON number consistently. (#1451) 2023-12-18 19:16:29 +08:00
Xie Han fdcd4c029c Simplify codes. 2023-12-10 16:50:30 +08:00
Xie Han 273134f0ff Optimize code structure of json-parser. 2023-11-26 01:39:19 +08:00
Xie Han 05bc91942e Optimize parsing JSON number. 2023-10-27 16:24:19 +08:00
xiehan 915711cae0 Parse JSON number more precisely. (#1404) 2023-10-24 22:04:53 +08:00
xiehan 2d598730a4 Parse JSON number manually. (#1401) 2023-10-24 17:22:26 +08:00
Xie Han cfee907eb1 Fix parsing JSON numbers. 2023-10-20 23:19:58 +08:00
Xie Han a1b83adfd0 Fix URIParser bug. 2023-05-05 20:33:13 +08:00
XieHan 190c007417 Merge branch 'master' of https://github.com/sogou/workflow 2023-01-04 02:39:57 +08:00
XieHan 873ff91455 Fix json-parser bug. 2023-01-04 02:39:14 +08:00
ruki 7db91f8bc8 improve xmake.lua 2023-01-04 00:32:29 +08:00
Chanchan ed73dd1e86 fix : json insert core 2022-12-14 12:56:21 +08:00
Chanchan 30ba6c55ff fix : bin path/include dir 2022-12-10 23:01:26 +08:00
Chanchan fce0cc12c8 feat : support xmake build 2022-12-10 20:37:42 +08:00
XieHan 9c1d2b5dc9 Optimize json parser iterators. 2022-12-06 16:13:27 +08:00
XieHan c3185c2a75 Fix json bug of removing value from object or array. 2022-12-05 02:23:54 +08:00
XieHan b87bae7b9d Add insert after/before interfaces for JSON object and array. 2022-12-04 18:58:17 +08:00
XieHan 0cebe1b5b4 More interfaces for json parser 2022-11-30 18:59:14 +08:00
XieHan d0d9eb6ac3 update struct __json_value 2022-11-02 19:33:51 +08:00
XieHan 4aaffe02f7 remove MD5Util 2022-10-31 17:53:04 +08:00
XieHan c8c5da70c7 fix LRUCache prune() 2022-08-25 15:18:17 +08:00
Koh Chia 9b09a9a37d remove redundancy code 2022-07-21 15:43:19 +08:00
XieHan 404c731351 optimize speed of destroying json members 2022-04-12 10:47:15 +08:00
XieHan e7b754e855 Fix JSON parser memleak on invalid unicode 2022-04-02 01:43:21 +08:00
XieHan 1f911d684c add json parser and update library version 2022-03-10 19:44:39 +08:00
XieHan 054d3f4876 add an ALIGN 2022-01-01 17:01:32 +08:00
XieHan 276fc0efe7 optimize memory using of encoding buffer 2021-12-31 21:26:43 +08:00
XieHan 319f92b26e Fix vec's life cycle problem 2021-12-31 19:34:19 +08:00
XieHan 072fa4b005 refactor EncodeStream 2021-12-30 19:58:23 +08:00
XieHan a13d5d5885 fix URIParser bug 2021-12-04 01:14:07 +08:00
XieHan 638777c315 fix URLParser bug 2021-12-03 21:48:09 +08:00
XieHan 33084f00ed optimize LRUCache and DnsCache 2021-11-05 16:58:47 +08:00
XieHan 2a247a6500 update comment. update rbtree 2021-10-19 02:14:38 +08:00
XieHan 1736d64d91 restore LRUCache's max size 2021-10-13 01:11:25 +08:00
XieHan 7cac784725 Fix 'include' errors 2021-10-04 00:43:03 +08:00
XieHan b14628411d remove mutex from LRUCache 2021-09-28 20:51:30 +08:00
XieHan 9a775026b6 optimize URI parser 2021-09-10 01:47:34 +08:00
wzl12356 c9431dd630 remove string.h 2021-09-08 19:00:51 +08:00
wzl12356 e8af4d2014 add header files 2021-09-08 18:59:01 +08:00
wzl12356 c6bbb11548 fix password bug 2021-09-08 18:47:50 +08:00
wzl12356 5d349f8e0f recode URIParser 2021-09-08 09:54:18 +08:00
chenxudong 3416d87dca Update URIParser.cc 2021-07-22 14:22:25 +08:00
chenxudong 914964b264 Update URIParser.cc 2021-07-22 14:21:31 +08:00
chenxudong 75fbcb7c29 skip query check when parsing URI 2021-07-22 14:17:43 +08:00