158 Commits (v0.1.7)

Author SHA1 Message Date
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 9cd89f97cf now signup and login with storage of a hashed password works. 12 years ago
Georg Hopp 575f27dabc everything builds again 12 years ago
Georg Hopp 15710de355 removed signup from auth adapter as signup is no auth at all. 12 years ago
Georg Hopp 6139e8f03a put most of the parts for simple signup/login in place...not tested now as it is late. Hopefully tomorrow I find the time to setup a small testform and bring this whole thing finally to work. refs #36 12 years ago
Georg Hopp 4cef3afa5c use user class to load and get user informations. 12 years ago
Georg Hopp 857461fb63 code formatting 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 931e2afae0 some more testing on the user class 12 years ago
Georg Hopp e58739bd63 add first user class and persistence experiments. refs #36 12 years ago
Georg Hopp 7a319d3f76 initialize ref_count correctly 12 years ago
Georg Hopp 7fa810c47e add a ref_count to the memory segments...this way I could increase references and only insert the memory segment in the tree again if the ref_count is one. 12 years ago
Georg Hopp 252cdbb0dc now it works mostly as before...the only difference is that you really have to be logged in to see the rand value 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 04250fb43a only mmap a file if its size is larger than 0 bytes 12 years ago
Georg Hopp 9b7df5312b fix wrong constant used in access 12 years ago
Georg Hopp 6003df221e fix error handling on SSL handles 12 years ago
Georg Hopp 1bf8ec7c9c use any value less than 0 as event done for ssl accept. 12 years ago
Georg Hopp 16f7a42968 checked SSL support, the only thing that was really broken was the error handling while reading data... well maybe writing has also bugs, but it works. 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 d9193d2e7e now don't add a NULL asset to the hash. 12 years ago
Georg Hopp 577b8ffa13 fix deactivation of SSL 12 years ago
Georg Hopp 7ebd5a6a00 add subdir-objects to each Makefile.am 12 years ago
Georg Hopp d3e7244592 disabled SSL support for now, cause it seems that it crashed the whole thing right now. 12 years ago
Georg Hopp 1249d85779 a fix in size of asset names and change in logging 12 years ago
Georg Hopp 26da90232f fix post order traversal used for destruction of existing tree 12 years ago
Georg Hopp b506318d72 fix the fix... 12 years ago
Georg Hopp a723c92c74 add a small test program for the hash code to find where it leaks memory. 12 years ago
Georg Hopp 487c0cfb0b add one missing delete for a node, thus fixing a memory leak in there. 12 years ago
Georg Hopp 107896eb9d now do all things within rbtree2 that are also done in rbtree 12 years ago
Georg Hopp 5c10e78974 now use at minimum page size for an allocated memory segment, and also store this size. This should use the memory more effective. 12 years ago
Georg Hopp c8dc541c48 use now my own tree implementation as base for my hashes....sadly this thing is leaking memory again...on the other hand I workarounded the problem of a sometimes occuring infinite loop within connect. 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 ac5b20e9ff as I currently have no idea whats the problem I first fixed all warnings...included the ldap warnings that where caused by the use of deprecated ldap_simple_bind_s and ldap_unbind_s. 12 years ago
Georg Hopp 87bf963839 added forgotten file 12 years ago
Georg Hopp 85a33ab3fd I think the problem with keep-alive and concurrency is fixed...the handling in serverRun was still not ok for the non blocking sockets. 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 f9ef11ad76 fix cleanup of NULL asset_pool 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 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 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