Sean McBride
faacc5c785
refactor: http header cleanup
4 years ago
Sean McBride
e42a04b2ce
refactor: module db capacity
4 years ago
Sean McBride
2f5a3db2ec
refactor: module
4 years ago
Sean McBride
b510214e37
fix: Make module reference count atomic
4 years ago
Sean McBride
5d8a761b61
feat: Refactor of conditional compilation units
4 years ago
Sean McBride
a83ae29d1b
feat: remove libuv, rework pq, http close DRY up
4 years ago
Sean McBride
296a907107
docs: better document epoll backlog
4 years ago
Sean McBride
c307f2a166
feat: Implement perf window
4 years ago
Sean McBride
628275f6f9
docs: Associate FIXMEs and TODOs with issues
4 years ago
Sean McBride
ba4f9e2119
feat: precomp module deadline cycles
4 years ago
Sean McBride
d6f10cac7a
refactor: decompose types.h
4 years ago
Sean McBride
eca1546f7a
chore: improved logging
4 years ago
Sean McBride
1ae6acbbee
fix: correct bug and harden error handling
4 years ago
Sean McBride
1c65516164
chore: log invalid module errors
4 years ago
Sean McBride
213c558a75
chore: refactor out i32
4 years ago
Sean McBride
4cb7c355b4
chore: refactor out u32
4 years ago
Sean McBride
407a20d22a
chore: refactor out u64
4 years ago
Sean McBride
5ccf8bbd87
chore: organize preprocessor includes
4 years ago
Sean McBride
0eb474a8d7
chore: replace app header guards w pragma once
4 years ago
Sean McBride
08fecb21d1
docs: fixing additional multiline comment
4 years ago
Sean McBride
29201f737d
docs: Use style guide format for comments
4 years ago
Sean McBride
c0d82db22b
fix: Correct memory leak and general cleanup
5 years ago
Sean McBride
a949cbebe3
chore: refactor double underscores
5 years ago
Sean McBride
178bef818f
feat: add relative_deadline_us to json and module
5 years ago
Sean McBride
4d660e666b
chore: de-dunder listener thrd, module, libuv cbs
5 years ago
Sean McBride
9dfc740d05
chore: namespace macros and globals in main.c
5 years ago
Sean McBride
ae0ff23fc2
docs: add missing params in func block
5 years ago
Sean McBride
c9b9a6553e
chore: run clang-format
5 years ago
Sean McBride
ef0056a511
chore: fix provide module_database includes
5 years ago
Sean McBride
08eb26e984
chore: move module json parsing to module
5 years ago
Sean McBride
d979a74986
chore: better organize module
5 years ago
Sean McBride
28ab7d43c4
chore: refactor module_database into distinct file
5 years ago
Sean McBride
e28947a391
refactor: namespace module functions
5 years ago
Sean McBride
dfe5667bef
chore: resolve TODOs from Phani
5 years ago
Sean McBride
ea888ddbb3
chore: assorted refactors
5 years ago
Sean McBride
9762477902
chore: assorted refactors
5 years ago
Sean McBride
267a04350f
chore: complete modules cleanup
5 years ago
Sean McBride
2220cf34a0
chore: rerun formatter
5 years ago
Sean McBride
c4142c00f1
chore: more cleanup
5 years ago
Sean McBride
3d6266750e
chore: assorted refactors
5 years ago
Sean McBride
b0434ac941
build: remove STANDALONE, SBOX_SCALE_ALLOC, USE_LIBUV flags
5 years ago
Sean McBride
e61be257f9
chore: add clang-format from Composite ( #5 )
...
* chore: add clang-format from Composite
* chore: cleanup JSON
* chore: add clang-format from Composite
* chore: stylistic corrections
* chore: ignore swap files and vscode conf
* chore: check semver of clang-format and require 9
5 years ago
phani
645d138787
for runtime with multi-sandboxing, globals are to be populated per sandbox, that was what causing random crashes!
5 years ago
phani
ae392fdfe3
read from stdin (http req body), write to stdout (http resp body), bug fixes in http parsing
5 years ago
phani
aa0017f4b0
http request response using uv
5 years ago
phani
8a3e050282
Support TCP (TODO: http parsing based on module specification)
...
* Major:
- Moved sandbox data struct into linear memory of a sandbox.
- (Should work well with other sandboxing mechanisms).
- Removed all mallocs from within uv usage, using a pre-allocated
memory within sandbox data-struct for read/write.
- TODO: convert prints on stdout to a string and send it out with
function response body.
- TODO: for each function loaded, what is the request and response
http header/body specification.
To start, keep headers minimal.
body either: json, plain.
- TODO: track TIMEOUTS. If we go beyond that, return a HTTP 408?
5 years ago
phani
9b0ec6f7dc
Changed directory structure
...
* silverfish is a submodule now
* memory modules from silverfish runtime is copied in to the aWsm runtime.
* runtime/tests/Makefile compiles different tests and silverfish/code_benches..
5 years ago