0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-18 09:58:22 +02:00
Commit graph

88 commits

Author SHA1 Message Date
Jason Volk 2948bf7cd1 ircd::http: Recognize additional proxy related headers for now. #189 2023-02-23 19:03:29 -08:00
Jason Volk a104e44e3e ircd::http: Simplify interface w/ util::closure_bool. 2023-02-23 15:11:46 -08:00
Jason Volk 7472177a78 ircd::http: Strongly type headers view in request/response head structs. 2023-02-23 15:11:46 -08:00
Jason Volk fd54aa11e6 Fix missing virtual destructor override indications (pedantic). 2022-06-17 21:11:54 -07:00
Jason Volk 50017e2555 Fix unescaped document comments possibly interpreted as commands. [ci skip] 2022-06-17 21:11:54 -07:00
Jason Volk a1420b25a3 ircd::http: Add log level severity(category) convenience tool; tweak category table. 2021-02-03 18:01:15 -08:00
Jason Volk 3fef6b154d ircd::http: Fix buffer alignment. 2020-09-18 18:47:15 -07:00
Jason Volk cd95b7cd8d ircd::ctx: Specify inline linkage for various templates to prevent any dynsyms. 2020-07-11 15:41:57 -07:00
Jason Volk 09fe270c54 ircd::http: Add status category enum; move static grammars out of function; minor reorg enums. 2020-06-12 17:01:09 -07:00
Jason Volk 63e0543175 ircd::http: Use unsigned 32bit type for chunk size. 2020-05-05 17:32:41 -07:00
Jason Volk c2ba27ace7 ircd::http: Add X-Forwarded-For support to request header. 2020-04-22 23:39:56 -07:00
Jason Volk acbbb08d3c ircd::http: Add convenience query string array tool w/ decode. 2020-04-21 23:05:28 -07:00
Jason Volk e71f925f2c ircd::http: Add and adjust some HTTP codes from Cloudfackel.
ircd::http: Add 523 Origin Is Unreachable (Cloudfackel).

ircd::http: Add 521 Connection Timed Out (Cloudfackel).
2020-03-20 22:25:14 -07:00
Jason Volk 2cefc5e248 ircd::http: Optimize head constructions; reduce branch paths. 2020-03-13 11:07:39 -07:00
Jason Volk 164b881442 ircd::http: Add code 102 Processing (RFC 2518), 103 Early Hints (RFC 8297). 2020-03-11 18:18:53 -07:00
Jason Volk 6da0ae9c22 ircd::http: Parse response location header. 2020-03-11 16:37:02 -07:00
Jason Volk d402eddb98 ircd::run: Place out-of-line default ctor/dtor definitions.
ircd::http::error: Place out-of-line dtor definition.

ircd:Ⓜ️:error: Place out-of-line dtor definition.

ircd::exception: Place out-of-line dtor definition.

ircd:Ⓜ️:vm: Place out-of-line ctor definitions for copts/opts.
2020-02-28 12:36:45 -08:00
Jason Volk 10854b2886 ircd::http: Add format string error ctor template. 2019-09-28 14:12:53 -07:00
Jason Volk 002e7aae1a ircd::http: Add code 410 Gone. 2019-09-08 19:58:58 -07:00
Jason Volk 60fda46bdf ircd::http: Consolidate line terminator static strings. 2019-06-28 18:23:43 -07:00
Jason Volk c59894a01b ircd::http:: Add 416 Range Not Satisfiable. 2019-06-15 12:50:53 -07:00
Jason Volk 7666561f02 ircd::http: Parse range-request related headers as primaries. 2019-06-15 12:48:01 -07:00
Jason Volk 5f248f5965 ircd::http: Add cloudflare 521 code. 2019-06-07 00:09:58 -07:00
Jason Volk fceea7b770 ircd::http: Parse the HTTP/1.1 Upgrade header. 2019-05-30 21:48:40 -07:00
Jason Volk 94ed73a60e ircd::http: Remove gratuitous error constructor; fix 505 response content. 2019-03-23 03:13:11 -07:00
Jason Volk 57f28374c9 ircd::http: Add 428 Precondition Required. 2019-03-07 16:01:19 -08:00
Jason Volk 6af4782922 ircd::http: Elaborate the query string interface with indexing. 2019-03-06 17:21:38 -08:00
Jason Volk 42a41eeb0d ircd::http: Fix/Add 30x related codes. 2019-02-19 11:34:48 -08:00
Jason Volk 551168c643 ircd: Various quietudes. 2019-02-16 15:25:36 -08:00
Jason Volk b42ded1fc7 ircd::http: Add string views to make the raw head data available. 2019-01-12 11:56:00 -08:00
Jason Volk d983970907 ircd::http: Improve conditions for header generation. 2018-12-31 12:28:28 -08:00
Jason Volk 57079c0276 ircd::http: Add more functionality to headers class. 2018-12-31 12:28:28 -08:00
Jason Volk 6a25df6582 ircd::http: Check for user supplied header before generating one. 2018-12-30 18:07:18 -08:00
Jason Volk 97b3003280 ircd: Convert various exception format string arguments to string_view. 2018-12-10 13:14:39 -08:00
Jason Volk 10b8db0bb3 ircd::http: Add format string construction for http::error. 2018-12-05 15:15:26 -08:00
Jason Volk cbf96969db ircd::http: Support 524 "A Timeout Occurred" 2018-10-01 11:30:34 -07:00
Jason Volk e5f94ed704 ircd::http: Simplify interface; DRY. 2018-08-30 19:00:07 -07:00
Jason Volk 0d489d6ffb ircd::http: Add 504 Gateway Timeout status. 2018-05-21 15:56:13 -07:00
Jason Volk 5da82c7e93 ircd::http: Minor cleanup: move the code enum. 2018-05-20 17:37:50 -07:00
Jason Volk cb2c95ceb6 ircd::http: Add 406 / 415 codes to enumerations. 2018-05-09 17:19:43 -07:00
Jason Volk ecce9d0433 ircd::http: Allow default constructed sentinel error. 2018-03-24 16:42:42 -07:00
Jason Volk ef0a3d6e6c ircd::http: Write fixed sized integer for chunk size. 2018-03-21 23:20:33 -07:00
Jason Volk 679f3e760a ircd::http: Add 411 Length Required. 2018-03-21 23:01:23 -07:00
Jason Volk bf91eb6883 ircd::http: Grammar exception translator can be made aware of request vs. response. 2018-03-19 14:40:04 -07:00
Jason Volk daae800cc1 ircd::http: Utils to read and write chunk size line. 2018-03-18 21:51:55 -07:00
Jason Volk 9723eec4e8 ircd::http: Cleanup cruft; remove old chunking. 2018-03-18 21:18:00 -07:00
Jason Volk e77c382521 ircd::http: Add lex_cast'ing suite to http::query::string. 2018-03-16 11:11:02 -07:00
Jason Volk bbc1844c61 ircd::http: Status code signage consistency. 2018-03-11 10:23:06 -07:00
Jason Volk daa1d6481c ircd::http: Remove the no-longer used content related. 2018-03-06 11:24:10 -08:00
Jason Volk cc7dd13e4e ircd::http: Fix enum decl related and struct packing of error. 2018-03-05 00:37:05 -08:00