Georg Hopp
|
957fdaadc3
|
added some thoughts about socket states while reading and writing. This is not handled very well right now in my code which result in connections to be closed to early.
|
12 years ago |
Georg Hopp
|
3289d758c9
|
now asset is by itself hashable...and the leaking issue seems to be fixed.
|
12 years ago |
Georg Hopp
|
d235aaef32
|
try to use memory mapped io for asset access, but this one leaks like a rotten barge
|
12 years ago |
Georg Hopp
|
acf4516b12
|
remove message type (PIPED|BUFFERD) because when I use mmap for file io I will always have a memory address, so its kind of buffered.
|
12 years ago |
Georg Hopp
|
d6cd2bbae9
|
added asset class and move mimetype handling in separate helper. Tested this with mmapfiletest2.c
|
12 years ago |
Georg Hopp
|
157b108220
|
added thought about memory mapped asset handling, as well as a small mmap file test program.
|
12 years ago |
Georg Hopp
|
e2763fea94
|
ent
|
12 years ago |
Georg Hopp
|
5d2b27de1c
|
remove specialized asset loadings and use generic one.
|
12 years ago |
Georg Hopp
|
f8fd49938d
|
now allocate only a multiple of pagesize
|
12 years ago |
Georg Hopp
|
21abd36396
|
now sending non html data from one of the other folders also works
|
12 years ago |
Georg Hopp
|
623a062df7
|
add suppport for file extension based mime type detection.
|
12 years ago |
Georg Hopp
|
0fdbbfe3c9
|
add a file with file extension to mime-type mappings
|
12 years ago |
Georg Hopp
|
5c32329105
|
now every file accessible under assets/html will be delivered.
|
12 years ago |
Georg Hopp
|
157f48031c
|
now valgrind shows no more violations...but cleanup does not work correcly. The memory usage depends now on the amount of paralell connections...ab show approximately 10% to 20% performance improvement / and the code is far from optimal.
|
12 years ago |
Georg Hopp
|
55675eb50a
|
tree based memory management does not segfault anymore, but reusage does not seem to work, as well as free
|
12 years ago |
Georg Hopp
|
06266ef541
|
update todo and make my rbtree implementation use externally allocated elements.
|
12 years ago |
Georg Hopp
|
ef6ccfbcbe
|
rbtree insert and delete now as one function and working as expected...still has to be checked on sideeffects.
|
12 years ago |
Georg Hopp
|
52755ca9e9
|
realize that delete does not work correct.
|
12 years ago |
Georg Hopp
|
a543ed8538
|
all insert cases merged in one insertElement function.
|
12 years ago |
Georg Hopp
|
5ea16b6227
|
now the memory is freed outside the tree delete function....
|
12 years ago |
Georg Hopp
|
c3498917bc
|
now it seems that rb trees are working now...stiff a lot of optimization work to be done, as this is mostly one 2 one the code from wikipedia, with some modifiations to work with NULL leaf nodes.
|
12 years ago |
Georg Hopp
|
f54c40e264
|
inserting in red black tree now works as in my example.
|
12 years ago |
Georg Hopp
|
9263007b34
|
change the way traversed elements are shown and add some comments
|
12 years ago |
Georg Hopp
|
fafc5af2ab
|
cope binarytree to play with an rbtree implementation
|
12 years ago |
Georg Hopp
|
ac93db101b
|
fix traversal
|
12 years ago |
Georg Hopp
|
1f40d1bc4b
|
alternative approach on delete of single child nodes. This one really exchanges the nodes, thus preventing large copy on big data that might be in the tree...anyway, for small data i think the other approach is faster.
|
12 years ago |
Georg Hopp
|
e5fa68bf02
|
now use the parent in element in delete
|
12 years ago |
Georg Hopp
|
847b275c86
|
fix insert and make another in-order traverse for checking
|
12 years ago |
Georg Hopp
|
84451e7de3
|
remove wrong comment
|
12 years ago |
Georg Hopp
|
74a60c72c1
|
add parent in element and implement an iterative in-order traversal with it.
|
12 years ago |
Georg Hopp
|
99508f7016
|
further improvments on the rb examples
|
12 years ago |
Georg Hopp
|
868018cd65
|
more stuff on rbdelete
|
12 years ago |
Georg Hopp
|
5af0f9f243
|
rbdelete stuff
|
12 years ago |
Georg Hopp
|
94bc5bc41a
|
added first exampled for rbtree delete stuff...
|
12 years ago |
Georg Hopp
|
9d19e20285
|
small fix in rbinsert doc
|
12 years ago |
Georg Hopp
|
2446a2f293
|
add small example on rbtree insert, just to see what I have to care about when implementing this
|
12 years ago |
Georg Hopp
|
3da465a846
|
add first own binary tree testcode. Not ballanced right now.
|
12 years ago |
Georg Hopp
|
a8b362f89d
|
fix some warnings
|
12 years ago |
Georg Hopp
|
b832eea81c
|
change build system to accept CFLAGS
|
12 years ago |
Georg Hopp
|
04b090cf30
|
probably fixed problem in main look under load. This still has to be tested.
|
12 years ago |
Georg Hopp
|
3ed7c9489d
|
code formatting
|
12 years ago |
Georg Hopp
|
d8ad1d7b26
|
add memCleanup before process end
|
12 years ago |
Georg Hopp
|
7bcfeba296
|
change last FREE to MEM_FREE
|
12 years ago |
Georg Hopp
|
dfffcee443
|
replace malloc in session/session.c with quick fit approach.
|
12 years ago |
Georg Hopp
|
57253c950d
|
replace calloc http/worker/process.c with quick fit approach.
|
12 years ago |
Georg Hopp
|
acd20228d3
|
replace calloc http/worker.c with quick fit approach.
|
12 years ago |
Georg Hopp
|
196e51d294
|
replace calloc http/parser.c with quick fit approach.
|
12 years ago |
Georg Hopp
|
7fe5c48743
|
replace calloc http/request.c with quick fit approach.
|
12 years ago |
Georg Hopp
|
62f9b52336
|
replace calloc auth/credentials.c with quick fit approach.
|
12 years ago |
Georg Hopp
|
4ccc4b28ed
|
replace calloc auth/ldap.c with quick fit approach.
|
12 years ago |