Commit Graph

88 Commits (38e9496717957319f9f15a198396ffdcd1f8958a)

Author SHA1 Message Date
Jef Roosens 46f89059e4
feat(lsm): start of on-disk database 2023-11-07 17:43:15 +01:00
Jef Roosens eb9157281b
chore(http): rename step to http_step 2023-11-03 15:02:03 +01:00
Jef Roosens 72fae76ef6
fix(http): don't segfault on non-routed requests 2023-11-03 14:41:55 +01:00
Jef Roosens 711eaa2bde
feat(lander): initial integration of lsm 2023-11-03 14:10:14 +01:00
Jef Roosens fbf6557c05
feat(http): add step for parsing content-length header 2023-11-03 13:22:25 +01:00
Jef Roosens afd18d3a37
feat(http): add custom processing to responses using response steps 2023-11-02 10:27:34 +01:00
Jef Roosens 6d74c8c550
feat(http): fully decouple HTTP loop functionality 2023-10-30 21:14:06 +01:00
Jef Roosens fd42b446a6 feat(lsm): start of library 2023-10-13 07:57:48 +02:00
Jef Roosens fb4a9a3b2e
refactor: decouple trie into static library 2023-07-28 18:48:44 +02:00
Jef Roosens 7f2a45c37a
feat: env vars for configuring data dir & tcp port
ci/woodpecker/push/docker Pipeline was successful Details
2023-07-27 14:09:56 +02:00
Jef Roosens 62c42331d4
docs: document event & http loop 2023-05-31 16:49:15 +02:00
Jef Roosens 323fa65921
feat: configure api key using env var 2023-05-31 13:29:13 +02:00
Jef Roosens 3b1df332a3
feat: allow setting log level 2023-05-31 13:12:22 +02:00
Jef Roosens eff1b13065
chore: update landerctl to use location header 2023-05-31 13:03:14 +02:00
Jef Roosens 5d0cafbc27
feat: use extended regex 2023-05-31 11:49:49 +02:00
Jef Roosens bbfea5876e
feat: abstract http body 2023-05-31 11:46:34 +02:00
Jef Roosens a6257a923d
feat: fully support redirect & paste routes
ci/woodpecker/pr/woodpecker Pipeline failed Details
2023-05-30 21:38:22 +02:00
Jef Roosens 58e2d8a02e
feat: add long & custom redirect urls 2023-05-30 19:36:58 +02:00
Jef Roosens f07042e798
refactor: modularize the http header files 2023-05-30 16:00:08 +02:00
Jef Roosens 89fb77db7f
feat: add mime types 2023-05-30 15:18:39 +02:00
Jef Roosens 0d5c6d0f39
refactor: move steps to own file 2023-05-30 12:14:29 +02:00
Jef Roosens 87312f2d84
feat: PoC uploading of pastes 2023-05-30 10:17:46 +02:00
Jef Roosens dfbd179c7a
feat: paved the way for uploading pastes 2023-05-30 09:37:40 +02:00
Jef Roosens 94b07caeb3
feat: add post redirect route 2023-05-29 23:55:27 +02:00
Jef Roosens 1e42dc04dc
feat: add auth step 2023-05-29 23:37:23 +02:00
Jef Roosens 16103f9b24
feat: add step to receive request body in buffer 2023-05-29 23:26:15 +02:00
Jef Roosens ff0795bb55
feat: separate lander code into separate module 2023-05-29 21:52:18 +02:00
Jef Roosens 7af4be12ff
feat: serve pastes 2023-05-29 21:41:03 +02:00
Jef Roosens 00fa4a7c8c
feat: first working redirect 2023-05-29 18:53:52 +02:00
Jef Roosens 7913201f89
chore: fix repo compilation after rebase with main 2023-05-29 18:40:36 +02:00
Jef Roosens acbe8dc314
fix: wrong header name 2023-05-29 18:28:46 +02:00
Jef Roosens 095f86ad72
feat: support serving files 2023-05-29 18:28:46 +02:00
Jef Roosens 464753d627
feat: allow matching regex routes 2023-05-29 18:28:46 +02:00
Jef Roosens dd0ba31506
feat: support adding up to 4 headers 2023-05-29 18:28:46 +02:00
Jef Roosens 8f9de37a95
feat: add Server header 2023-05-29 18:28:46 +02:00
Jef Roosens d725a090a2
fix: pipelining now actually works 2023-05-29 18:28:46 +02:00
Jef Roosens 18d67fb69f
feat: routes now specify a method 2023-05-29 18:28:46 +02:00
Jef Roosens 9b66223a57
refactor: move some stuff, add some docs 2023-05-29 18:28:45 +02:00
Jef Roosens 2fb3e2bb00
feat: response bodies from char buffers; generated responses 2023-05-29 18:28:45 +02:00
Jef Roosens 62348c14f5
refactor: moved resetting of ctx to separate function 2023-05-29 18:28:45 +02:00
Jef Roosens 590f0e5186
feat: added http response type names 2023-05-29 18:28:45 +02:00
Jef Roosens a90330dd6e
feat: parse method into enum value 2023-05-29 18:28:45 +02:00
Jef Roosens 90ff55d977
feat: small changes 2023-05-29 18:28:45 +02:00
Jef Roosens 4d436aa8aa
feat: split route into route & query 2023-05-29 18:28:45 +02:00
Jef Roosens 7ece0eb4e5
feat: basic http routing 2023-05-29 18:28:45 +02:00
Jef Roosens 8250a5b8b0
feat: started designing http framework 2023-05-29 18:28:45 +02:00
Jef Roosens 90d83bc5d4
docs: start architure file 2023-05-29 18:28:45 +02:00
Jef Roosens 68f9227436
feat: decouple event loop from http 2023-05-29 18:28:45 +02:00
Jef Roosens f3fced908f
feat: small steps 2023-05-29 18:28:45 +02:00
Jef Roosens dfd27b579d
feat: add context information to requests 2023-05-29 18:28:45 +02:00