0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-03 15:25:21 +02:00
Commit graph

63 commits

Author SHA1 Message Date
Jason Volk
bbc1844c61 ircd::http: Status code signage consistency. 2018-03-11 10:23:06 -07:00
Jason Volk
4a5bea668c ircd/ircd:Ⓜ️ extern event_max_size conf item; minor cleanup. 2018-03-08 16:36:49 -08: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
96eca6c744 ircd::http: Fix serial size case with empty vector. 2018-03-04 23:45:59 -08:00
Jason Volk
3b1cc75f10 ircd::http: Modernize the header vector string generator. 2018-03-04 23:45:23 -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
eaf8df25c2 ircd::info: Add name string / agency strings. 2018-02-19 16:51:28 -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
cf112ec26e ircd::http: Better handling of unrecognized HTTP status code to reason string. 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
458869f9ef ircd::http: Remove response helper; add a couple fields to parse; minor cleanup. 2018-01-12 13:15:30 -08:00
Jason Volk
ebb48d96a9 ircd::http: Burning desire to dedupe this. 2018-01-11 23:38:12 -08:00
Jason Volk
1f7ed51f3b ircd::http: Remove request parser helper from here. 2018-01-11 22:02:34 -08:00
Jason Volk
cd0dc9a0ff ircd::http: Simplify server response generation. 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
Jason Volk
e4d1005965 ircd: Minor formatting. 2018-01-05 01:02:40 -08:00
Jason Volk
fa85596b6b ircd: Various minor cleanup. 2017-12-30 01:17:10 -07:00
Jason Volk
36142718f6 ircd::http: Massage additional header related into response interface/stack. 2017-12-24 21:54:59 -07:00
Jason Volk
51ebd9c346 ircd::http: Update HTTP send-sides to write to stream_buffer. 2017-12-24 21:54:59 -07:00
Jason Volk
40d6b6055b ircd::http: Remove the write_closure from the request parse object. 2017-12-24 21:54:58 -07:00
Jason Volk
acff6139e9 ircd::http: Move request error handlers out of http (to client). 2017-12-24 20:25:40 -07:00
Jason Volk
ada2b4ad17 ircd::http: Minor cleanup/reorg; use c_str() assertion in places. 2017-12-12 14:59:41 -07:00
Jason Volk
03dea97bb2 ircd: Add preliminary RFC3986 grammar; move urlencoding there. 2017-12-12 14:59:40 -07:00
Jason Volk
4a44d0368a ircd::http: Make server response header more like the User-Agent we also use as a client. 2017-11-30 11:23:39 -08:00
Jason Volk
92270b74ac ircd::http: Parse a connection header. 2017-11-30 11:23:39 -08:00
Jason Volk
115940e803 ircd::http: Preserve leading slash from user's URL so we can use it for X-Matrix auth. 2017-10-15 21:26:05 -07:00
Jason Volk
045d38d034 ircd::http: Add authorization; multiple-choices error; improve header proffer; cleanup/reorg. 2017-10-11 20:54:02 -07:00
Jason Volk
dffe222a78 ircd: Improve date utils; add date formatted string output; related. 2017-10-11 20:54:01 -07:00
Jason Volk
dc2346a753 ircd::http: Cleanup error messages. 2017-10-11 18:18:18 -07:00
Jason Volk
fccfa03308 ircd: Add mutable_buffer ctor to parse::buffer; cleanup parse related. 2017-10-11 18:18:17 -07:00
Jason Volk
5335371b1a ircd::http: Elide the strlcat() for user header generation. 2017-10-03 04:27:14 -07:00
Jason Volk
014673d718 ircd::http: Minor urldecode grammar fix. 2017-10-03 04:27:12 -07:00
Jason Volk
b9d657924d ircd::http: Various fixes; add urldecode; chunked encoding content. 2017-10-03 04:17:10 -07:00
Jason Volk
f2264b02e6 ircd::http: Preliminary support for chunked encoding; improve header args. 2017-10-03 04:17:09 -07:00
Jason Volk
b207b9e909 ircd: Rename ircd::scope to ircd::unwind. 2017-09-24 18:16:41 -07:00
Jason Volk
cd535b416b ircd::http: Check for outbound transfer-encoding. 2017-09-24 18:16:35 -07:00
Jason Volk
7cc4ed56ab ircd: Support both iov and ilist for socket and buffer related. 2017-09-24 18:16:33 -07:00
Jason Volk
4eeb1c093d ircd::http: Proper exception when parse buffer is too small. 2017-09-08 03:47:51 -07:00
Jason Volk
c627095f51 ircd: Add date.h header for date and time utilities. 2017-09-08 03:47:51 -07:00
Jason Volk
d9a4f06bf6 ircd: Employ namespace scope extensions from c++1z/gnu++14.
This is not a move to c++17. If the compiler happens to have support
for c++17 namespace scope resolution, they have been kind enough to
backport it to gnu++14. This limits our support for really old c++14
compilers, but that was limited anyway. GCC 6.1 and clang 3.6 tested.
2017-09-08 03:47:46 -07:00
Jason Volk
ab540c378c ircd::http: Increase these buffers (unnecessary; todo optimize). 2017-08-23 15:43:57 -06:00
Jason Volk
c1638d1dfa ircd::http: Fixes to HTTP grammar and output. 2017-08-23 15:00:21 -06:00
Jason Volk
4b2b7ea292 ircd::http: Allow elision of leading slash and empty '?' query. 2017-04-06 16:54:47 -07:00
Jason Volk
6097e82974 ircd: Add more HTTP status mappings. 2017-04-06 16:54:20 -07:00