Commit Graph

  • ebab2903ea try to fix the table master Georg Hopp 2016-03-22 01:08:55 +0100
  • ebe49154b5 try to fix the table Georg Hopp 2016-03-22 01:08:09 +0100
  • 482c4425fe try to fix the table Georg Hopp 2016-03-22 01:07:07 +0100
  • 328ab65185 try to fix the table Georg Hopp 2016-03-22 01:06:43 +0100
  • 9e1e4f7891 try to fix the table Georg Hopp 2016-03-22 01:06:01 +0100
  • 9c6a712940 try to fix the table Georg Hopp 2016-03-22 01:04:13 +0100
  • 51630b24cf try to fix the table Georg Hopp 2016-03-22 01:02:40 +0100
  • 28c6e2a54c improve README.md Georg Hopp 2016-03-22 01:01:12 +0100
  • e4d77c8311 moved httpMessageQueue to a generalized Queue class as in fact it was nothing else except that it only stored HttpMessages. Georg Hopp 2012-03-29 17:01:48 +0200
  • 2a98883031 remove accidently added binary and change gitignore Georg Hopp 2012-03-29 12:54:01 +0200
  • aa9339dc3d fix message queue get. Problem was not correctly updated last value on empty queue Georg Hopp 2012-03-29 12:50:00 +0200
  • 259bb7e3ad remove no longer needed variable Georg Hopp 2012-03-29 12:49:27 +0200
  • a239fc98e8 changed HttpMessageQueue to be a real queue and not a fixed size array Georg Hopp 2012-03-29 11:49:53 +0200
  • 514b7843db ignore profile information files Georg Hopp 2012-03-29 11:49:05 +0200
  • 9b53f7f79b change on coverage generation...i still don't get any branch info, and i am not sure what it would describe Georg Hopp 2012-03-29 11:48:38 +0200
  • dfb9a8a66a fix missing changes in webgameserver.c Georg Hopp 2012-03-28 11:18:06 +0200
  • 659dba2156 add missing non generated m4 macro and Makefile Georg Hopp 2012-03-28 11:07:23 +0200
  • 317cc63d20 huge refactoring of build structure as well as other changes...sorry for the huge diff. These are the changes done within the sister project taskrambler, including reactivation of the existing tests as well as code coverage reports Georg Hopp 2012-03-28 10:39:21 +0200
  • 4f4e643841 change session id creation from & time to ^ to get one without a username Georg Hopp 2012-03-20 23:13:31 +0100
  • ae75d9d635 remove daemonize again Georg Hopp 2012-03-20 22:43:26 +0100
  • 87d77749aa merged remote Georg Hopp 2012-03-20 22:46:34 +0100
  • 785b1c361c changed frontend to make it to use ldap login and simple session setup without username Georg Hopp 2012-03-20 22:39:49 +0100
  • 5fc9ce547c added a first basic athentication system with ldap binding. Now login depends on the existens of a valid ldap account Georg Hopp 2012-03-20 21:41:11 +0100
  • e7553ea218 add cookie request parsing and fix post (form vars) parsing. User new parsed cookies within worker/process Georg Hopp 2012-03-20 15:58:59 +0100
  • 1fb8628861 fix memory leak introduced when https was added as well as a bug in request line parsing Georg Hopp 2012-03-20 14:01:42 +0100
  • 142319aeec exclude new executable name from repo Georg Hopp 2012-03-20 14:00:32 +0100
  • d0368bb28b GET and POST vars are now parsed when request ist parsed. COOKIE will follow. While parsing the request line i also get pic the path from it. Georg Hopp 2012-03-20 12:29:52 +0100
  • 646d1e1c50 Added a new abstraction: hash. A a lot of things within http are key/value things based on stings i created this generic hash class and use it to store the header right now. In future it will also be used to store cookie, get and post vars Georg Hopp 2012-03-16 09:06:13 +0100
  • 784364db3c just a small change to update session info (and the session because every request does this) on window focus Georg Hopp 2012-03-13 07:48:18 +0100
  • 662e3aac43 move jquery init into separate js file and server action Georg Hopp 2012-03-12 08:47:37 +0100
  • 78ee46aa49 Username is shown again in the frontend Georg Hopp 2012-03-12 08:21:34 +0100
  • 27457db468 be somewhat more verbose in frontend and update session live bar every 10th second (looks much more fluent *G*) Georg Hopp 2012-03-12 07:31:08 +0100
  • d4b1c3fd3a now the session livetime is shown with a bar, as well as the current session id. These are updated on reload or ajax call. Georg Hopp 2012-03-12 01:21:45 +0100
  • 69cfdd07cc moved several static content to various files Georg Hopp 2012-03-11 21:19:26 +0100
  • 1af8b32fdf Some fixes: Georg Hopp 2012-03-09 23:10:27 +0100
  • f1215c6758 closes #19: first integration of OpenSSL...this makes leak testing with valgrind a pain so i will think about some conditional to activate and deactivate it. Additionally it seems that some memory will be left over somewhere, maybe i missed somed cleanup function i have to call and finally the integration really needs error handling. Georg Hopp 2012-03-09 13:19:37 +0100
  • 4893b4173e fix leak on shutdown created because of missing to delete new stream class on shutdown Georg Hopp 2012-03-09 09:11:38 +0100
  • 5b3fed549f refs #19: Added a stream class. This is a delegate that uses the correct read and write methods for the given stream type. This is implemented as prerequesite for the SSL implemented Georg Hopp 2012-03-09 08:24:46 +0100
  • 58eb487ea5 add assets to dist dir Georg Hopp 2012-03-08 08:14:46 +0100
  • 0caad5a564 changed to version 0.0.2 Georg Hopp 2012-03-06 08:21:10 +0100
  • 10f00ec3d3 some changes on the build system to create the first distribution Georg Hopp 2012-03-06 08:14:27 +0100
  • 1d238aa55d as i have a lot of static string initialization with the length of that sting a created and used a macro to prevent errors Georg Hopp 2012-03-06 07:32:45 +0100
  • a0ec357e0a closes #11: first very crude session handling implementation, no persitence no memory cleanups, spread over to much files TODO: clean this Georg Hopp 2012-03-05 16:45:22 +0100
  • 0c3d467bd6 change to 10 seconds interval Georg Hopp 2012-03-04 10:27:34 +0100
  • a4cab3ef19 make value to string as this is the easiest way to support leading 0 as in 05, 08, etc. Georg Hopp 2012-03-03 12:23:44 +0100
  • 1466081448 some cleanups Georg Hopp 2012-03-03 09:37:04 +0100
  • 48c8b070fc changed ajax to get json and integrate a javascript countdown. Georg Hopp 2012-03-03 09:35:12 +0100
  • 16fdf54de5 now the internal random value will be create only once every 30 seconds thus one can see that it is realy an internal state of the server Georg Hopp 2012-03-02 18:54:13 +0100
  • 08533a4b62 oops, forgot one file Georg Hopp 2012-03-02 17:41:23 +0100
  • 4b5bcf89c0 a taste of ajax Georg Hopp 2012-03-02 17:40:06 +0100
  • 1fdcbd40f6 log when connect fails Georg Hopp 2012-03-02 08:09:06 +0100
  • c1afe88fd4 log when connect fails Georg Hopp 2012-03-02 08:09:06 +0100
  • e73c8d959d get rid of some unneccessary system calls...one socket and one close Georg Hopp 2012-03-01 17:37:44 +0100
  • 4f95d8ce11 change worker to a generic one, some cleanups in server Georg Hopp 2012-03-01 16:27:50 +0100
  • c26071a105 and also the accotding header Georg Hopp 2012-03-01 07:26:17 +0100
  • 5b2ee457e0 moved httpResponseWriter to httpWriter Georg Hopp 2012-03-01 07:24:58 +0100
  • b7e5348744 fix another small typo Georg Hopp 2012-03-01 07:11:11 +0100
  • fc3c4ecb02 fix bug in call to httpParserHeader Georg Hopp 2012-02-29 13:40:29 +0100
  • ee6040201e moved request parser to generic parser. This is now able to create either a request or a response message dependent on the initial message line (version first or last). TODO change constructor of response to use a len parameter for the reason Georg Hopp 2012-02-29 10:42:47 +0100
  • 95c0d00944 get rid of some function calls when selection interfaces Georg Hopp 2012-02-27 18:26:22 +0100
  • 6591c0a6c7 changed callocs of memory not needed to be initialized to malloc Georg Hopp 2012-02-24 16:26:36 +0100
  • 689788827c more ignores of generated files Georg Hopp 2012-02-24 15:13:14 +0100
  • 0b72a3b150 saved another loop as i calculate the header string size when it is created. Georg Hopp 2012-02-24 14:28:01 +0100
  • f31b619095 update changelog Georg Hopp 2012-02-23 17:40:30 +0100
  • 1295321291 add cookie header again Georg Hopp 2012-02-23 17:40:00 +0100
  • e4975a92c0 optmize header search Georg Hopp 2012-02-23 16:41:36 +0100
  • 9f801ba422 changed all string operation within header handling with fixed length mem operations, preventing multiple iterations over these strings. In theory this should improve performance in reality it seems that it is worse...CHECK WHY Georg Hopp 2012-02-23 13:02:23 +0100
  • ac6873fe57 fix initialization of search value Georg Hopp 2012-02-23 00:05:25 +0100
  • b3413f40ab ed Georg Hopp 2012-02-22 21:50:21 +0100
  • 87b0d50d1d structural changes for worker/process. @TODO actually i have no idea why this happens. Georg Hopp 2012-02-22 21:49:52 +0100
  • dfcbc4946c fix memory problems occured with latest changes Georg Hopp 2012-02-22 12:19:40 +0100
  • fc4fd8f66d fixed bug in keep-alive check arised by implementation if #10 Georg Hopp 2012-02-22 09:03:40 +0100
  • 2e46b5c249 add forgotten jquery assets Georg Hopp 2012-02-22 08:51:05 +0100
  • 59ccbf0207 closes #10: values for header ids are now stored in a char ** making multiple values for one id possible. Additionally added a jquery action that delivers the jquery java script and use it on the me action Georg Hopp 2012-02-22 08:48:43 +0100
  • 424297cd57 now when a constructor returns -1 the new call will in turn call the destructor effectively freeing all resources. ATTENTION: now the destructor has to be aware that it might be called with a not completely initialized object. To make this more ease there is the FREE makro with the corresponding ffree that does NULL pointer checking and the destructor checks for NULL pointer too. Additionally the handle_accept now handles _SC_OPEN_MAX - 10 connections. The 10 are reserved for internal usage. Georg Hopp 2012-02-21 13:01:38 +0100
  • 01ae8736e9 now a child is spawned and writes random values in a shared memory segment. These values will be shown in the me action Georg Hopp 2012-02-21 09:45:01 +0100
  • 7f688412ea some code cleanups...no changes in the logic Georg Hopp 2012-02-20 21:36:55 +0100
  • 8298740dd9 move sdbm implementation in one file. Georg Hopp 2012-02-20 18:08:23 +0100
  • 063189e664 changed /**/ single line comments to // Georg Hopp 2012-02-20 17:16:44 +0100
  • b38d402250 start documenting this whole stuff...well at least add a copyright information in each file Georg Hopp 2012-02-20 14:55:46 +0100
  • 7466e59298 first very crude, not complete, experimental 304 test implementation Georg Hopp 2012-02-20 10:10:29 +0100
  • abd69d0a20 disconnect on invalid request line Georg Hopp 2012-02-20 07:55:06 +0100
  • dfdfd20d8e now incomplete requests should no longer block the complete server. Tested with \'echo -en "GET / HTTP\r\nConn" | nc -w 600 localhost 11212\' and then doing requests from my browser. @TODO: cleanup those stuff, check if a not correctly response reading would block the server. Georg Hopp 2012-02-19 20:12:40 +0100
  • eae798e599 increase writebuffer size a lot. Georg Hopp 2012-02-19 18:28:30 +0100
  • dbb7042360 fixed the non keep-alive performance issue as well as i lower memory usage by using a single read and write circular buffer for every connection. @TODO: i noticed a server hang while getting large data (my image) with non keep-alive connections. Additionally an incomplete keep-alive request might stop the server now as the lock on the read buffer will not be released. Georg Hopp 2012-02-19 18:15:55 +0100
  • 31b7d755e0 another try with the shmen trick...this time use MAP_ANONYMOUS ... as GNU extension. Georg Hopp 2012-02-19 15:41:48 +0100
  • 5c3928d45a added missing header file to repo Georg Hopp 2012-02-19 12:13:52 +0100
  • f2dbad19c6 another try with a shared memory based ringbuffer...this performs well for keep-alive sessions but is much slower without. actually i am not sure why but most likely the shared memory setup is quite expensive. @TODO: make a profiling. Georg Hopp 2012-02-19 11:35:15 +0100
  • 45b4b354ba fix inf loop. @TODO: This whole handling has to be cleaned. Georg Hopp 2012-02-18 21:08:32 +0100
  • 6cd673b4eb this change hopefully makes the shm trick work on amd64 Georg Hopp 2012-02-18 20:50:01 +0100
  • e8a21ace31 lots of changes but primarily change the request parser to use a ringbuffer. The ringbuffer is implemented using the shared memory trick. Georg Hopp 2012-02-18 20:12:27 +0100
  • 5c1c6a80cf some more cleanups in the server code. Removing not needed header includes Georg Hopp 2012-02-15 12:30:33 +0100
  • 6550e381f0 now the separated http worker works. Changed some size_t to ssize_t as i use -1 and -2 es error indicator in my server and fixed caculation of remainig buffer size in reader Georg Hopp 2012-02-15 12:17:00 +0100
  • 20af2baa6f separated the server completely from the http processing Georg Hopp 2012-02-15 09:38:32 +0100
  • 95d12d808a add subject/observer interface Georg Hopp 2012-02-15 06:19:52 +0100
  • de00ad47ad add subject/observer interface Georg Hopp 2012-02-15 06:19:52 +0100
  • b122f341a9 fix infinite busy loop in run Georg Hopp 2012-02-15 04:55:46 +0100
  • 3497eb8754 dynamically get and free buffer for response write pipe now Georg Hopp 2012-02-15 04:44:38 +0100
  • e35308f880 increase write buffer Georg Hopp 2012-02-14 21:32:38 +0100
  • 92379ebb15 use one dynamic buffer less and save at least one write on small responses Georg Hopp 2012-02-13 21:27:47 +0100