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 |
|
Jason Volk
|
2140f42cd7
|
ircd::resource: Internalize the buffering boilerplate used with json::stack.
|
2018-09-04 22:03:12 -07:00 |
|
Jason Volk
|
41dd3cca29
|
ircd::resource: Better debug log indication of chunked encoding response.
|
2018-08-25 13:59:22 -07:00 |
|
Jason Volk
|
74bb040b8c
|
ircd::resource: Make response head buffer size a named const; fix comment.
|
2018-08-25 13:58:49 -07:00 |
|
Jason Volk
|
f48ec4a6a4
|
ircd::resource: Minor cleanup.
|
2018-08-22 15:17:55 -07:00 |
|
Jason Volk
|
4ef10e9f9e
|
ircd::resource: Optimize access_token -> user_id query on auth.
|
2018-05-31 04:49:21 -07:00 |
|
Jason Volk
|
1f0225ecdc
|
ircd::resource: Reorg token / x-matrix checks; always try to resolve token if supplied.
|
2018-05-31 04:49:21 -07:00 |
|
Jason Volk
|
54f08c0351
|
ircd::resource: Involve a request context interrupt on timeout.
|
2018-05-28 00:33:21 -07:00 |
|
Jason Volk
|
fc3fd6a8b2
|
ircd::resource: Add a node_id to the resource request struct.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
ba4b3fa145
|
ircd: Minor comments / minor cleanup.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
e3a85fa523
|
ircd::resource: Consistent rstrip of trailing path solidus.
|
2018-05-19 18:49:06 -07:00 |
|
Jason Volk
|
6feaa95d4b
|
ircd::resource: Add MIME type requirement option for methods.
|
2018-05-09 17:47:09 -07:00 |
|
Jason Volk
|
a054ac6b2f
|
ircd::resource: Clear peer error after peer contacts us.
|
2018-05-02 22:22:12 -07:00 |
|
Jason Volk
|
243b0b7918
|
ircd::resource: Fix resource false matching issue; cleanup.
|
2018-04-23 19:17:03 -07:00 |
|
Jason Volk
|
7889d116f0
|
ircd::resource: Choose better log level based on HTTP response codes.
|
2018-04-23 17:47:10 -07:00 |
|
Jason Volk
|
f808a28664
|
ircd: Add m/m.h to stdinc.h
|
2018-04-22 16:22:02 -07:00 |
|
Jason Volk
|
fcf17db132
|
ircd: Various fixes / cleanup.
|
2018-04-20 15:22:49 -07:00 |
|
Jason Volk
|
19d7e05605
|
ircd::resource: Allow each resource method to specify its timing.
|
2018-04-15 18:02:41 -07:00 |
|
Jason Volk
|
69b0066c15
|
ircd::resource: Add routine to warmup caches after origin verification.
|
2018-04-14 17:15:06 -07:00 |
|