Commit Graph

125 Commits

Author SHA1 Message Date
shuxin   zheng
5c85d8fe63 Format codes style. 2024-07-22 17:07:57 +08:00
shuxin   zheng
db9a32702b Add sni checking process before SSL handshake. 2024-05-25 16:19:25 +08:00
shuxin   zheng
88f215e41c Optimize and test bind local network interface when connecting the remote server. 2023-11-18 14:53:25 +08:00
shuxin   zheng
0b8dd11dca Client socket can bind local interface when connecting to the remote server. 2023-11-17 18:49:11 +08:00
zhengshuxin
6fa297ae4d Optimize wizard's template for http service. 2023-05-21 22:10:02 +08:00
shuxin   zheng
639e1af308 Optimize objects' size in acl_cpp module. 2023-03-20 11:57:14 +08:00
zhengshuxin
280e4fdc1f test http_response 2022-06-22 11:45:05 +08:00
shuxin   zheng
12ab022a3b test and doc 2022-06-22 11:25:54 +08:00
zhengshuxin
58cc790373 modify comments 2022-03-16 18:15:37 +08:00
zhengshuxin
cf30060e4f add setParseBody() in HttpServletRequest class 2022-03-16 18:14:45 +08:00
shuxin   zheng
f32aea02f5 readd doWebsocket() API in HttpServlet class for being compatible with old applications 2022-02-11 10:35:18 +08:00
shuxin   zheng
ce782ddc3c http_request comment 2021-12-05 13:24:15 +08:00
shuxin   zheng
3b45dd170e optimize http_request 2021-12-05 13:22:39 +08:00
shuxin   zheng
7b5a36771c optimize http_header::set_url() 2021-08-19 09:50:13 +08:00
shuxin   zheng
df24d1e227 http_header::set_url() can keep the original url 2021-08-18 18:24:55 +08:00
shuxin   zheng
1f79c0dc48 add comments in http_utils.hpp 2021-07-06 15:11:50 +08:00
shuxin   zheng
41f143868f http protocol version can be set in http_header 2021-06-25 11:38:46 +08:00
shuxin   zheng
eb074943af correct comments headers 2021-06-22 16:07:34 +08:00
shuxin   zheng
40ddd8aee5 add http_url class for parsing url 2021-06-08 16:45:49 +08:00
shuxin   zheng
21497509aa fixed compiling warning 2021-03-12 11:39:44 +08:00
shuxin   zheng
5a75632cca fixed compiling warning for invalid comments 2020-07-03 15:09:45 +08:00
shuxin   zheng
41ef6fef8f use remote_addr@local_addr replacing the old format: local_addr@remote_addr 2020-06-27 14:01:13 +08:00
shuxin   zheng
dee4ebeaea http module can response json&xml data 2020-06-26 15:21:13 +08:00
shuxin   zheng
8130e91886 format code style 2020-05-09 23:31:44 +08:00
shuxin   zheng
880f7e75f8 format code 2020-04-15 08:54:46 +08:00
shuxin   zheng
d8518893b2 use sslbase_conf/sslbase_io other than polarssl_conf/polarssl_io 2019-12-18 11:40:41 +08:00
shuxin   zheng
a102fba468 fixed bug in frame_header for init 2019-12-10 13:31:07 +08:00
zhengshuxin
5f415f1302 add ssl enable/disable switch for http_aclient 2019-10-18 10:03:52 +08:00
zhengshuxin
76ba04380d add ssl enable/disable switch for http_aclient 2019-10-18 10:02:22 +08:00
zhengshuxin
4ac0748114 set_frame_masking_key() should be called in http_aclient::ws_handshake() in client mode. 2019-09-17 16:51:43 +08:00
shuxin   zheng
d1fb7e888a fixed parameters comments warning in headers found by xcode 2019-09-13 19:47:23 +08:00
zhengshuxin
a87c8d046c support 302, 301 redirect in http module 2019-08-28 11:18:18 +08:00
zhengshuxin
f552c6aef8 decrease http_aclient's size 2019-08-21 17:54:35 +08:00
郑树新
8f4fd32fc0 add on_ns_failed() callback for http_aclient when nslookup failed. 2019-08-21 17:42:07 +08:00
zhengshuxin
a53b9d36ff dns resolving and aio connect are ok when using multiple DNS server. 2019-08-13 18:29:40 +08:00
zhengshuxin
03896a6a12 websocket key for server side 2019-08-09 22:36:54 +08:00
zhengshuxin
7bcb88ae3c optimize websocket handshake. 2019-08-09 22:22:55 +08:00
zhengshuxin
a347debcfa ws key 2019-08-09 19:02:38 +08:00
zhengshuxin
a43648f379 ws_key created 2019-08-09 18:50:10 +08:00
zhengshuxin
6eba8bbafd ws key should be base64 encoded in http_header::set_ws_key() 2019-08-09 18:05:51 +08:00
zhengshuxin
7ded499111 url_coder supports value is NULL or empty 2019-08-08 16:13:05 +08:00
郑树新
d9e2cf574a add get_status() method in http_header.hpp for getting the http response
status from http server
2019-08-07 17:16:14 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00
zhengshuxin
23f97bdd4f HttpServletRequest won't discard body_parse_ and will read request body when user calls getJson/getXml. 2019-07-20 16:14:09 +08:00
zhengshuxin
190be40459 optimize HTTP module for supporting HTTP/1.1 2019-07-04 16:32:57 +08:00
郑树新
cff0958e2c
Merge branch 'master' into master 2019-06-26 22:52:56 +08:00
zhengshuxin
996574d860 add more comments for http_client 2019-06-23 20:56:49 +08:00
meihouhao2017
0261775380 support PATCH method of http. 2019-06-18 11:00:58 +08:00
zhengshuxin
ab407a51dc http_header supports getting/setting cookies for request and response. 2019-06-12 23:25:35 +08:00