0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-09 11:31:11 +01:00
Commit graph

76 commits

Author SHA1 Message Date
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
Jason Volk
64a77e280d ircd::http: Parse content_type convenience reference in response::head. 2018-02-26 04:00:36 -08:00
Jason Volk
f04ba38b42 ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
Jason Volk
4623e4448f ircd::http: Add 502 Bad Gateway. 2018-02-07 00:24:54 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
7bbe116b88 ircd::http: Parse the server string into the response head. 2018-01-24 09:15:16 -08:00
Jason Volk
7867e7a0b4 ircd::http: Support view of full URI in the request::head; use in X-Matrix auth. 2018-01-22 00:54:51 -08:00
Jason Volk
a6bdb38e4d ircd::http: Remove the URI composition from the http::request construction. 2018-01-20 02:29:03 -08:00
Jason Volk
6643cad758 ircd::http: Allow default construction on response head. 2018-01-13 18:03:26 -08:00
Jason Volk
458869f9ef ircd::http: Remove response helper; add a couple fields to parse; minor cleanup. 2018-01-12 13:15:30 -08:00
Jason Volk
1f7ed51f3b ircd::http: Remove request parser helper from here. 2018-01-11 22:02:34 -08:00
Jason Volk
7aa1dedd86 ircd::http: Add 413 PAYLOAD_TOO_LARGE. 2018-01-11 22:02:34 -08:00
Jason Volk
4561bb21a0 ircd: Various fixes to net related call points. 2018-01-06 23:27:02 -08:00