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

168 commits

Author SHA1 Message Date
Jason Volk
5fb3710d4f ircd::resource: Add third debuglog for actual request end after chunks xfer. 2021-02-03 18:01:15 -08:00
Jason Volk
39c2c1fc58 ircd::resource: Improve log msg clarity; label branch. 2021-02-03 18:01:15 -08: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
6830b9aff1 ircd::resource: Optimize chunk termination w/ iov. 2020-12-25 07:30:10 -08:00
Jason Volk
75a88976dc ircd::resource: Add TCP_NODELAY flush opportunity at completion boundary. 2020-12-25 05:33:59 -08:00
Jason Volk
227ba21341 ircd::resource: Add DELAYED_ACK flag to method; support TCP_QUICKACK opportunity. 2020-12-25 05:33:59 -08:00
Jason Volk
44bee11fc0 ircd::resource::response: Add flush/push option to chunked::finish(). 2020-12-24 18:09:31 -08:00
Jason Volk
6991ecc764 ircd: Remove various trivial tls bufs. 2020-12-22 18:40:30 -08:00
Jason Volk
5ee8405117 ircd::resource: Integrate method stats into ircd::stats. 2020-12-18 02:45:03 -08:00
Jason Volk
c0892e79f4 ircd::resource::method: Disable interruption while waiting for idle. 2020-12-15 16:56:07 -08:00
Jason Volk
6f66ff5bac ircd::resource::response::chunked: Support user-supplied buffer constructions. 2020-12-15 16:56:07 -08:00
Jason Volk
2ad38e0865 ircd::resource: Strip both sides during params string assignment. 2020-10-16 02:40:39 -07:00
Jason Volk
cd8d034240 ircd::resource: Add untokenized params view to request struct. 2020-10-12 18:07:39 -07:00
Jason Volk
6bcd19325a ircd::resource: Add derror before terminating client; soften dc type. 2020-06-18 20:41:09 -07:00
Jason Volk
84491464d6 ircd::resource: Split mime and content length nego branches into functions. 2020-06-08 16:13:00 -07:00
Jason Volk
0cb9e74cc6 ircd::resource::method: Add conf items for option defaults. 2020-06-08 16:13:00 -07:00
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