188 Commits (75b3ca4a484e15a2af0e412dc3d0bc2d9fcfc24c)

Author SHA1 Message Date
Georg Hopp 2429393218 improved ssl write error handling...this hopefully fixes occasionally crashes when using ssl 12 years ago
Georg Hopp 3455ad7522 fix use of uninitialized value 12 years ago
Georg Hopp 1897c81955 fix remove of user. As email is in that case a part of credential it must be set to NULL before delete. 12 years ago
Georg Hopp 815f42e174 add facility to de/activate tree base memory optimizations 12 years ago
Georg Hopp 52f6fbc52a logout no longer tries to stop the session. Now simply the user is removed. 12 years ago
Georg Hopp 8a7cada52c call to ldap_unbind is necessary to free memory even when ldap_bind failed. 12 years ago
Georg Hopp 7c044e0718 there is no session_update method anymore...this will be done in session_get at least at the moment 12 years ago
Georg Hopp 93e1d2a167 some changes on session handlings. 12 years ago
Georg Hopp 9e1ab77959 create a real new user object when the fetch fails. 12 years ago
Georg Hopp 21d0960400 to stop a session is as simple as setting their livetime to 0. On the next request this session will be removed. 12 years ago
Georg Hopp 72d58c58d5 As gdbm_fetch changes the key I copy it before I try to get data with it. 12 years ago
Georg Hopp c428c80768 add forgotten version response. 12 years ago
Georg Hopp 5197b8d216 move session handling from adapter into application and some more stuff of the version thing...when the version thing works I will add the session livetime to every page. 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 3c132acc64 signup works...only logout has to be added then the new version is complete. refs #36 12 years ago
Georg Hopp 636e495d2e fix wrong handling of session queue and thus the memory leak. 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 f1a1399db7 now signup and login with storage of a hashed password works. 12 years ago
Georg Hopp 06d8f88972 everything builds again 12 years ago
Georg Hopp 209530924b removed signup from auth adapter as signup is no auth at all. 12 years ago
Georg Hopp 70c5edfde9 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 19c59fd0c6 use user class to load and get user informations. 12 years ago
Georg Hopp 463583c529 code formatting 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 ea755d64d2 some more testing on the user class 12 years ago
Georg Hopp 02872e4995 add first user class and persistence experiments. refs #36 12 years ago
Georg Hopp 9230978b03 initialize ref_count correctly 12 years ago
Georg Hopp 32609a77d9 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 db22ebe7a1 fix wrong handling of session queue and thus the memory leak. 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 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