Jason Volk
d4d121f6c3
ircd::http: Minor definition section labels.
2018-10-14 02:40:22 -07:00
Jason Volk
cbf96969db
ircd::http: Support 524 "A Timeout Occurred"
2018-10-01 11:30:34 -07:00
Jason Volk
e5f94ed704
ircd::http: Simplify interface; DRY.
2018-08-30 19:00:07 -07:00
Jason Volk
83edde639f
ircd::http: Improve query::string::at() error message to show key name.
2018-08-30 10:58:32 -07:00
Jason Volk
0d489d6ffb
ircd::http: Add 504 Gateway Timeout status.
2018-05-21 15:56:13 -07:00
Jason Volk
8140130a3a
ircd::http: date_buf off stack.
2018-05-19 20:04:53 -07:00
Jason Volk
cb2c95ceb6
ircd::http: Add 406 / 415 codes to enumerations.
2018-05-09 17:19:43 -07:00
Jason Volk
51714d2b67
ircd::http: Response ctor content_length=-1 is chunked encoding.
2018-03-22 00:37:16 -07:00
Jason Volk
ef0a3d6e6c
ircd::http: Write fixed sized integer for chunk size.
2018-03-21 23:20:33 -07:00
Jason Volk
679f3e760a
ircd::http: Add 411 Length Required.
2018-03-21 23:01:23 -07:00
Jason Volk
f9c0ed49b1
ircd::http: Improve chunk header parsing device.
2018-03-19 14:42:40 -07:00
Jason Volk
bf91eb6883
ircd::http: Grammar exception translator can be made aware of request vs. response.
2018-03-19 14:40:04 -07:00
Jason Volk
daae800cc1
ircd::http: Utils to read and write chunk size line.
2018-03-18 21:51:55 -07:00
Jason Volk
9723eec4e8
ircd::http: Cleanup cruft; remove old chunking.
2018-03-18 21:18:00 -07:00
Jason Volk
30eb9178bd
ircd: Consolidate spirit typedefs from all relevant units into spirit.h.
2018-03-17 10:44:40 -07:00
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
Jason Volk
bcccddbf3f
ircd::http: Add query string support; cleanup grammar; minor cleanup.
2017-04-04 16:10:28 -07:00
Jason Volk
cb96d59579
ircd::http: Update status codes.
2017-04-04 16:10:28 -07:00
Jason Volk
5a7852a0d4
ircd: Various cleanup.
2017-03-30 16:04:19 -07:00
Jason Volk
e48c93e42a
ircd::http: Improve error messages; various cleanup.
2017-03-20 19:25:10 -07:00
Jason Volk
1016e993e9
ircd: Optimal HTTP status code and content length parsing.
2017-03-17 20:29:27 -07:00
Jason Volk
03ee560c13
ircd: Add aggregate spirit header (without pch at this time).
2017-03-16 13:35:37 -07:00
Jason Volk
c9ddf4f6ab
ircd: Add lex_cast wrapper interface; various cleanup.
2017-03-14 15:03:15 -07:00
Jason Volk
e849897cc0
ircd::parse: Capstan.
2017-03-13 18:44:08 -07:00
Jason Volk
472ee2c648
ircd: HTTP interface function-objects et al.
2017-03-13 18:44:00 -07:00
Jason Volk
bac30f93d1
ircd::http: Add a few more protocol codes.
2017-03-13 14:43:35 -07:00
Jason Volk
49c2a5361c
ircd: Various fixes.
2017-03-13 14:43:27 -07:00
Jason Volk
60ce08d0df
ircd::client: http protocol dispatch.
2017-03-10 18:03:10 -08:00
Jason Volk
b592b69b86
What is the Matrix? Control.
2017-03-10 17:51:18 -08:00