Georg Hopp
|
01dc476775
|
utilize libtrdata
|
12 years ago |
Georg Hopp
|
562407c88e
|
now use libtrio for all io operations.
|
12 years ago |
Georg Hopp
|
cf7f338bb2
|
move all hashing helper code in separate library
|
12 years ago |
Georg Hopp
|
67b37a057b
|
moved the class and memory management into a separate project libtrbase / prefix all of the public interface of libtrbase with TR_
|
12 years ago |
Georg Hopp
|
e6dc20ca09
|
fix urldecode of post vars. I can't urldecode the whole body and then start splitting it into values because the urldecode can add reserved characters. I have to urldecode each value by it's own. TODO: check if the keys have to be urldecoded too.
|
12 years ago |
Georg Hopp
|
43072d0a56
|
urldecode post values
|
12 years ago |
Georg Hopp
|
7711950d94
|
reduce expire for assets to 12 hours...currently I expect changes even more often. At the end this is another condidate for the configuration file.
|
12 years ago |
Georg Hopp
|
06c15c2b3c
|
basic user update functionality
|
12 years ago |
Georg Hopp
|
a1350d7591
|
added a generic router. This is a REST router that maps urls to specific functions which it tries to find via dlsym. That way the only thing to do to get a new REST functionality is to add a function that fits into the namesheme. All existing functionality is moved accordingly
|
12 years ago |
Georg Hopp
|
60bb868abb
|
add expires header for static assets (right now 1 week in the future)
|
12 years ago |
Georg Hopp
|
8710078a03
|
build shared libraries from the parts that might be useful on their on and let taskrambler use them
|
12 years ago |
Georg Hopp
|
07316ef7b2
|
created and used a more generalized httpResponseJson
|
12 years ago |
Georg Hopp
|
7005c8860a
|
make install works now. So from now on taskrambler will not work when run from its build dir, because it can't find its assets then. To make installation work a basic config file reader class was implemented.
|
12 years ago |
Georg Hopp
|
6bc2df8686
|
use dragonegg config
|
12 years ago |
Georg Hopp
|
691673991c
|
make write more fair...until now it was written as long a possible given no chance for reading anymore...
|
12 years ago |
Georg Hopp
|
c428c80768
|
add forgotten version response.
|
12 years ago |
Georg Hopp
|
711dc28fc5
|
show taskrambler version in Frontend
|
12 years ago |
Georg Hopp
|
cb5c42f7bc
|
get server name from config.h
|
12 years ago |
Georg Hopp
|
8d7ed2cdaa
|
login via ldap and gdbm now works. Signup stores the user account as well as the credentials but still returns a 500 and I have a memory leak most likely within the queue code. To reproduce this one has to start the server and send two requests via telnet to the server...no keep-alive just a single GET. refs #36
|
12 years ago |
Georg Hopp
|
19c59fd0c6
|
use user class to load and get user informations.
|
12 years ago |
Georg Hopp
|
1094e9c9f0
|
make sessions start on any request and clean them when they have timed out.
|
12 years ago |
Georg Hopp
|
42f7ad7400
|
login via ldap and gdbm now works. Signup stores the user account as well as the credentials but still returns a 500 and I have a memory leak most likely within the queue code. To reproduce this one has to start the server and send two requests via telnet to the server...no keep-alive just a single GET. refs #36
|
12 years ago |
Georg Hopp
|
4cef3afa5c
|
use user class to load and get user informations.
|
12 years ago |
Georg Hopp
|
76d164b80c
|
make sessions start on any request and clean them when they have timed out.
|
12 years ago |
Georg Hopp
|
e69a4962bb
|
most stuff works...the session timeout will not be reset correctly within some answers, anyway it mostly works. refs #24
|
12 years ago |
Georg Hopp
|
79b346559a
|
code with abstraced application compiles again, but does not work correctly, start debugging. refs #24
|
12 years ago |
Georg Hopp
|
36612df0da
|
implemented an application class as well as an http adapter for it and use it to start application logic by http requests as well as creating a fitting repsonse. Not perfect, but a start. This code is not finish and will not work...in fact it won't even compile i think. refs #24
|
12 years ago |
Georg Hopp
|
e0abf3ac91
|
now every date header is formatted in GMT. Commment: We still have a very weak Etag implementation.
|
12 years ago |
Georg Hopp
|
f93d09b5ca
|
now Date header will be formatted in GMT as requiered by HTTP protocol
|
12 years ago |
Georg Hopp
|
7ebd5a6a00
|
add subdir-objects to each Makefile.am
|
12 years ago |
Georg Hopp
|
417b9f6d8f
|
most likely found a bug in the glibc tdelete implementation...don't have the mood of building a simple testcase for reporting. Maybe I do when I have implemented my own trees.
|
12 years ago |
Georg Hopp
|
56fdd4bd00
|
changed socket handling according to my definition...and make sockets nonblocking as the answer of poll is just a guess...
|
12 years ago |
Georg Hopp
|
817758272a
|
remove occurences of write circular buffer
|
12 years ago |
Georg Hopp
|
0e1ec66463
|
this is a huge one...removed cbuf for writing again.... This is not needed any more because I use memory mapped io for these. Additionally sanitised write error handling somewhat...anyway, under huge load I still observer unexpected connection closes. But maybe this is related to interrupt while reading...(reading is not handled very well right now)
|
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
|
5d2b27de1c
|
remove specialized asset loadings and use generic one.
|
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
|
5c32329105
|
now every file accessible under assets/html will be delivered.
|
12 years ago |
Georg Hopp
|
b832eea81c
|
change build system to accept CFLAGS
|
12 years ago |
Georg Hopp
|
3ed7c9489d
|
code formatting
|
12 years ago |
Georg Hopp
|
7bcfeba296
|
change last FREE to MEM_FREE
|
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
|
d738398aab
|
replace calloc in http/cookie.c with quick fit approach.
|
12 years ago |
Georg Hopp
|
4ee52d5276
|
replace calloc in http/cookie.c with quick fit approach. It seems that domain and path are never set...have to check this (most likely its not implemented now
|
12 years ago |
Georg Hopp
|
09f92847fb
|
replace calloc in response.c with quick fit approach
|
12 years ago |