0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-19 19:33:45 +02:00
Commit graph

184 commits

Author SHA1 Message Date
Jason Volk 1b8ad3e160 ircd::resource: Optimize response w/ iov for fused head and content. 2023-03-20 20:56:56 -07:00
Jason Volk 04acaabf91 ircd::resource: Minor cleanup response overload stack for followability. 2023-03-20 14:42:10 -07:00
Jason Volk 371c50cfcc ircd::resource::method: Add method flag to cork response. 2023-03-02 19:08:05 -08:00
Jason Volk 0907fa08e3 ircd::resource::method: Rename delayed response option flag. 2023-03-02 19:08:00 -08:00
Jason Volk 762703698c Replace various #ifdef RB_DEBUG with if constexpr for regression visibility. 2023-02-09 12:11:32 -08:00
Jason Volk aa8ce19c7c ircd: Internalize various loghead utils; remove legacy ostream operators. 2023-02-09 11:41:11 -08:00
Jason Volk 981006d831 ircd::resource::response::chunked: Additional overload for buffer w/o headers; fix comment. 2023-02-05 18:59:00 -08:00
Jason Volk 49bd43e685 ircd::util: Optimize instance_map w/ allocator::node. 2023-02-05 18:46:20 -08:00
Jason Volk 89e44ce8e9 ircd: Apply branch expectation attributes to various case labels. 2023-02-02 18:51:03 -08:00
Jason Volk f9dffbfcbc ircd::resource::method: Fix condition wait without context. 2022-08-10 18:20:52 -07:00
Jason Volk 3a5f7e0aac ircd::resource: Implement more complex path routing. 2022-07-20 09:56:22 -07:00
Jason Volk 93a7575352 ircd:Ⓜ️:resource: Abstract request::version to ircd::request::agent. 2022-07-18 16:58:02 -07:00
Jason Volk 24cf3569a9 ircd::resource: Deinline request aggregate ctor. 2022-07-18 16:58:02 -07:00
Jason Volk 378b9b3acf ircd::resource: Replace resources map with instance_map. 2022-07-18 16:58:02 -07:00
Jason Volk b389ae04e4 ircd::resource: Fix use after move. 2022-07-13 22:48:14 -07:00
Jason Volk 5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
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