UB
1665ebedfd
Skip header fields containing CR/LF in http serialization ( #3387 )
...
* skip header fields containing CR/LF in http serialization
* Gate CR/LF header check behind a flag; log at WARNING with sanitized name
Signed-off-by: ubeddulla khan <ubed@bugqore.com >
* Log the skipped header value alongside its name
Signed-off-by: ubeddulla khan <ubed@bugqore.com >
* Use separate IOBufs for request and response in the CR/LF header test
Signed-off-by: ubeddulla khan <ubed@bugqore.com >
---------
Signed-off-by: ubeddulla khan <ubed@bugqore.com >
2026-08-24 15:58:48 +08:00
Bright Chen
c9778ca1a3
Refactor NULL with nullptr in test ( #3464 )
2026-08-19 13:26:18 +08:00
Bright Chen
1c5331459b
Optimize zero copy of http body ( #2915 )
2025-03-21 23:48:14 +08:00
Bright Chen
c93d0e06f5
Fix gflag namespace ( #2877 )
2025-01-18 17:49:51 +08:00
Bright Chen
53026cdea1
Small FlatMap optimization with default initialization ( #2620 )
...
* Small FlatMap optimization
* Support optional
2024-12-09 09:57:38 +08:00
Bright Chen
b7092a79aa
Reject http request without host ( #2600 )
2024-06-03 16:48:38 +08:00
Bright Chen
4f85335dab
Fix invalid headers of multiple cookie and set-cookie ( #2577 )
...
* Fix invalid headers of multiple cookie and set-cookie
* Support MultiFlatMap
* Remove unused header
2024-06-03 16:47:44 +08:00
Bright Chen
09b9600260
Fix Content-Length and Transfer-Encoding problem ( #2518 )
2024-01-31 11:53:48 +08:00
Bright Chen
68432abe28
Opt Content-Length in response to HEAD request ( #2469 )
2024-01-17 10:26:13 +08:00
Bright Chen
308b3c81e1
Remove Content-Length header of GET request ( #2458 )
2023-12-03 17:20:02 +01:00
Bright Chen
be19c28e50
Fix HTTP no content of 1xx and 204
2023-09-25 20:14:16 +08:00
Bright Chen
fcb483ed4e
Fix HTTP HEAD method ( #2366 )
2023-09-19 20:06:04 +08:00
gejun
ca6bd6bcac
Fix copyright part of a UT
2019-06-21 16:31:24 +08:00
gejun
48dae6cea5
Fix changed function name in UT
2018-09-29 17:25:26 +08:00
gejun
09cc273d34
Replace 'Baidu RPC' with 'brpc'
2017-11-03 14:14:50 +08:00
gejun
8ae7b0c898
Decide namespace of gflags in config_brpc.sh
2017-09-19 20:38:38 +08:00
gejun
f4b97bbb74
Remove UT's deps on gmock & fix UT
2017-09-19 16:42:33 +08:00
gejun
80f9f2f160
Rename base to butil to avoid potential naming conflicts
2017-09-08 17:17:35 +08:00
gejun
478b434311
replace baidu-rpc with brpc
2017-09-08 14:20:28 +08:00
gejun
023371e643
Change copyright to Baidu, Inc
2017-09-05 19:44:12 +08:00
gejun
24c64eaa2b
Patch svn r35218
2017-09-04 17:12:59 +08:00
gejun
0630ae1e8a
Patch svn r35206 & fix compilation of tools
2017-09-02 18:29:40 +08:00
gejun
b8cd3c9854
Patch svn r34974 r34975
...
Change-Id: If1bd623fd133a0b7eeebacd396a80f4595c15d4c
2017-08-06 16:48:21 +08:00
gejun
691b8a1594
patch svn r34971
...
Change-Id: I2dab12ac61990359fc34d04c42aeb23aa92960eb
2017-08-06 15:42:08 +08:00
gejun
29ac770af8
patch svn r34950
...
Change-Id: I6e1a378ae4dc2a739416010d78cc9df64f315527
2017-08-02 14:22:05 +08:00
gejun
7998155962
first working CI
...
Change-Id: I68c0cafba040debefd660c5213f21e6fc702a4a6
2017-07-25 23:02:28 +08:00