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

152 commits

Author SHA1 Message Date
Jason Volk
1e994c0a3e ircd: Increase various 96_KiB default buffer sizes to 128_KiB. 2020-01-23 18:47:23 -08:00
Jason Volk
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk
b17b8b0bef ircd::resource: Use template ctor for http::error. 2019-10-01 17:56:01 -07:00
Jason Volk
85845dcff2 Abstract ircd::resource from ircd:Ⓜ️:resource; fix header stack. 2019-09-29 14:00:02 -07:00
Jason Volk
8ec205b4b5 ircd::resource::response::chunked: Further elaborate the class. 2019-09-23 19:46:32 -07:00
Jason Volk
2b3de2ea69 ircd::resource: Add assertions; fix error. 2019-09-23 12:58:34 -07:00
Jason Volk
f7dbe8afe2 ircd: Various fixes / cleanup. 2019-08-07 00:41:08 -07:00
Jason Volk
f106bf3e61 ircd::resource: Fix HTTP method list delimiting. 2019-07-29 16:13:34 -07:00
Jason Volk
3ccb7c1faa ircd: Belay narrowing conversions. 2019-06-22 17:36:37 -06:00
Jason Volk
250b600ead ircd::resource: Reduce m:: type dependency in request structure. 2019-05-06 11:16:44 -07:00
Jason Volk
864a5b43dd ircd::resource: Add stack canary on response frame. 2019-04-30 21:44:18 -07:00
Jason Volk
dab225113d ircd::resource: Handle and generate an OPTIONS response.
fixes #65
2019-03-31 23:08:29 -07:00
Jason Volk
7434a06ec6 ircd::resource: Add conditional method list generator. 2019-03-31 19:15:45 -07:00
Jason Volk
af08458f8d ircd::resource: Stub default/builtin method handlers for OPTIONS and HEAD. 2019-03-31 18:51:59 -07:00
Jason Volk
ae936d8e55 ircd::resource: Improve method already-registered error msg. 2019-03-31 18:38:24 -07:00
Jason Volk
5ca54b06d1 ircd::resource: Show the X-Matrix-Authorization destination host in error. 2019-03-22 18:14:07 -07:00
Jason Volk
68e3655a1d ircd::net::dns: Refactor system for the !dns room. 2019-03-21 18:24:36 -07:00
Jason Volk
303233cda4 ircd::client: Prevent double logging of caught HTTP errors. 2019-03-12 18:41:05 -07:00
Jason Volk
5b3191345f ircd::client: Set some client::request values immediately after head parse. 2019-03-11 13:20:14 -07:00
Jason Volk
1d909b2ffc ircd::resource: Use DERROR for >500 codes; use ERROR for 500 or unknown only. 2019-03-01 14:12:50 -08:00
Jason Volk
9c20d49e33 ircd::resource::response::chunked: Eliminate move semantic. 2019-02-28 17:12:04 -08:00
Jason Volk
af6ac4a2ac ircd: Replace various unwind count patterns with scope_count. 2019-02-28 17:12:03 -08:00
Jason Volk
8cb5b78807 ircd::resource: Ignore empty chunk from user by default unless explicit. 2019-02-28 17:12:03 -08:00
Jason Volk
9e063bbf83 ircd::resource: Add a pending request counter; block destruction of method when pending. 2019-02-27 17:49:40 -08:00
Jason Volk
1ad1c38a53 ircd::resource::response::chunked: Pass buffer_size through the constructor. 2019-02-26 15:37:30 -08:00
Jason Volk
74c5a58273 ircd::resource: Use 308 instead of 301 for redirect. 2019-02-19 14:43:21 -08:00
Jason Volk
9d0542a93a ircd::resource: Add permanent redirect device. 2019-02-19 13:25:32 -08:00
Jason Volk
b57ef2e8fe ircd::resource::response: Avoid call to write empty content here. 2019-02-19 11:35:11 -08:00
Jason Volk
f0ce1cdcae ircd: Split up resource.h. 2019-02-18 11:04:02 -08:00
Jason Volk
08940bddaf ircd::resource: Add conf items to toggle X-Matrix Authorization. 2019-02-05 01:58:12 -08:00
Jason Volk
5f759a617c ircd::resource: Improve X-Matrix destination host check. 2019-02-04 23:16:27 -08:00
Jason Volk
cbf456a388 ircd: Rename and refactor ircd::assertion interface into ircd::panic. 2019-01-13 16:37:31 -08:00
Jason Volk
03d78b3ce8 ircd::resource: Use pretty format for X-IRCd-Request-Timer header. 2018-12-31 20:09:25 -08:00
Jason Volk
5a0a9989e4 ircd::log: Rename facility to level. 2018-12-19 12:52:08 -08:00
Jason Volk
36bb0d3175 ircd: Integrate all boost::system::system_error with stdlib. 2018-11-08 23:05:11 -08:00
Jason Volk
c5b8276840 ircd::resource: Improve stack to gather accurate internal error counts. 2018-11-07 00:24:18 -08:00
Jason Volk
7d47ee4d5a ircd::resource: Return BAD_REQUEST rather than NOT_FOUND for required JSON missing. 2018-11-06 21:36:51 -08:00
Jason Volk
1f9afbd09c ircd::resource: Improve method stats gathered. 2018-11-06 21:36:36 -08:00
Jason Volk
8b9b27d8bc ircd::resource: Simplify the resource entry interface. 2018-11-06 21:35:30 -08:00
Jason Volk
cc818f15b6 ircd::resource: Add stats for methods. 2018-11-05 20:45:30 -08:00
Jason Volk
8217b51526 ircd::resource: Reorg resource/method handler stack; devirtualize resource. 2018-11-05 20:45:30 -08:00
Jason Volk
d49b3ba7dd ircd::resource: Minor reorg class layout / opts. 2018-11-05 19:14:53 -08:00
Jason Volk
d65c22fd9f ircd: Use resource log facility for HTTP status related; add path to log msg. 2018-10-24 18:24:51 -07:00
Jason Volk
6f2c9631a1 ircd::resource: Add snomask'ed log facility. 2018-10-24 12:44:13 -07:00
Jason Volk
b9aa697206 ircd::resource: Make Access-Control-Allow-Origin response header a conf item. 2018-10-02 15:58:03 -07:00
Jason Volk
5b7cf5a8eb ircd::net::dns: Reorg namespace structure related. 2018-10-01 12:03:31 -07:00
Jason Volk
da8beda0c3 ircd:Ⓜ️🆔 Support intuitive constructions of m::node::id. 2018-09-30 17:58:16 -07:00
Jason Volk
771ecaef7e ircd::client: Simplify log calls with single loghead() string. 2018-09-27 17:05:19 -07:00
Jason Volk
d6d1deccc6 ircd::resource: Tweak resource path search and fallback to webroot. 2018-09-13 23:34:40 -07:00
Jason Volk
11948e47ac ircd: Move m::import to mods::import where it is more appropriate. 2018-09-13 18:19:27 -07:00