2
0
Fork 0
Commit Graph

412 Commits

Author SHA1 Message Date
Thomas Porzelt d2381954bf removed old AIO defines from settings.h 2008-11-20 20:16:29 +01:00
Thomas Porzelt 304263f4a1 fix warnings from plugin_core.c 2008-11-20 16:40:36 +01:00
Thomas Porzelt 24c7423376 add temporary hack to disable sched_setaffinity when OS != linux 2008-11-20 03:17:50 +01:00
Thomas Porzelt 031b6b54c7 add check for HAVE_IPV6 to sockaddr_to_string() 2008-11-20 03:15:40 +01:00
Thomas Porzelt 2df4d9686b fix wrong parameter con instead of new vr in network.c when USE_SENDFILE not defined 2008-11-20 00:16:57 +01:00
Thomas Porzelt 0994052566 fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined 2008-11-20 00:13:51 +01:00
Stefan Bühler 2040c059d1 Fix connection/network_write state machine 2008-11-18 11:14:57 +01:00
Stefan Bühler 7a496b610b Fix comment style // -> /* */ 2008-11-18 11:03:59 +01:00
Thomas Porzelt 6dbaaf5430 fix warnings about shadowed declarations of 'free' and 'value' in headers 2008-11-18 21:43:02 +01:00
Thomas Porzelt 4080ddcd16 cosmetic changes of 'defined x to defined(x)' in settings.h to unify usage 2008-11-18 21:36:31 +01:00
Thomas Porzelt 75ce595e5b add LIGHT_OS_XYZ macros 2008-11-18 21:12:10 +01:00
Thomas Porzelt 1954f46a03 return NETWORK_STATUS_WAIT_FOR_AIO_EVENT instead of NETWORK_STATUS_WAIT_FOR_EVENT when throttling 2008-11-17 23:08:55 +01:00
Stefan Bühler 06225998c6 Fix typos in sendfile (again) 2008-11-17 21:50:03 +01:00
Stefan Bühler ec16ebea3c Fix typos in sendfile 2008-11-17 21:42:52 +01:00
Stefan Bühler 99733ef5a7 Add OS X sendfile implementation (and fix the freebsd one) 2008-11-17 20:54:19 +01:00
Thomas Porzelt 84b7487cc4 add USE_OSX_SENDFILE macro 2008-11-17 20:24:36 +01:00
Stefan Bühler 94b4dcc764 Generic sendfile implementation (supports linux,solaris and freebsd now) 2008-11-17 20:23:16 +01:00
Stefan Bühler 91d4868ef4 Move stats and throttle to network.c 2008-11-17 19:26:41 +01:00
Stefan Bühler fae25515fa Split waitqueue from utils 2008-11-17 10:26:25 +01:00
Stefan Bühler 463d1c6435 Fix modules and waf for new include dir 2008-11-16 22:16:52 +01:00
Stefan Bühler 6c573e5e00 Check for POSIX_FADV_SEQUENTIAL before using it 2008-11-16 22:06:28 +01:00
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 2008-11-16 21:33:53 +01:00
Thomas Porzelt 358b9f95f1 implement throttling, change some time_t to ev_tstamp 2008-11-12 22:16:52 +01:00
Thomas Porzelt e9f8b51452 add LOG_TYPE_NONE that doesn't log anything 2008-11-12 17:38:32 +01:00
Thomas Porzelt a2a0818cb4 remove cast to time_t in CUR_TS() makro. it caused some deviation 2008-11-12 02:11:43 +01:00
Thomas Porzelt d56e5c2ea9 implement waitqueues (utils), change connection io timeouts to use those 2008-11-12 02:09:52 +01:00
Thomas Porzelt 8161336538 add fallback static action if built-in cfg parser used 2008-11-10 22:48:13 +01:00
Thomas Porzelt b491e91c68 add io timeouts 2008-11-10 15:39:03 +01:00
Thomas Porzelt abb7bc1067 fix segfault when no host header in request 2008-11-10 02:16:02 +01:00
Thomas Porzelt 64e823f83a use g_mutex instead of g_static_mutex in profiler.c 2008-11-03 15:21:46 +01:00
Thomas Porzelt bfad826aa5 fix small memleak in worker_add_closing_socket() 2008-11-03 15:20:49 +01:00
Thomas Porzelt 67f89abffc add mod_status 2008-11-03 15:19:23 +01:00
Thomas Porzelt 0a63fc8058 add client addr string and traffic stats for connections and workers 2008-11-03 15:18:46 +01:00
Thomas Porzelt 2538f522ec add sockaddr_to_string() and counter_format2() to utils.c 2008-11-03 15:10:25 +01:00
Thomas Porzelt 245cecb1e2 add srv->started (timestamp) and srv->started_str (formatted ts) 2008-11-03 14:33:07 +01:00
Thomas Porzelt 1d133a52ed add missing free if -m option specified 2008-11-02 12:58:39 +01:00
Stefan Bühler 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. 2008-10-28 22:11:50 +01:00
Thomas Porzelt bdce397e70 get rid of global vars in mod_fortune 2008-10-27 20:12:52 +01:00
Thomas Porzelt 84fb6a5574 add missing call to p->free() in plugin_free 2008-10-27 20:12:48 +01:00
Stefan Bühler 7954e0f8d3 Modify vrequest_error 2008-10-27 17:49:06 +01:00
Thomas Porzelt 9b2773750e update mod_fortune for virtual request code, readd to wscript 2008-10-26 13:33:02 +01:00
Thomas Porzelt f4725264de add virtualrequest.c to wscript, temporarily remove mod_fortune 2008-10-25 19:51:30 +02:00
Stefan Bühler b83e3a29ce Fix vrequest merge 2008-10-25 18:01:02 +02:00
Stefan Bühler 73fff068c3 Merge virtual requests 2008-10-25 15:25:02 +02:00
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 2008-10-25 14:53:57 +02:00
Stefan Bühler 9430770903 [cmake] Add module support 2008-10-25 14:48:12 +02:00
Stefan Bühler 4b24952c02 Change cmake required version to 2.6.0 2008-10-25 13:45:41 +02:00
Thomas Porzelt 5c564c7c0a added srv->started_str, small fix in server_free() 2008-10-24 17:50:39 +02:00
Thomas Porzelt d7bfbde1fc removeleft over testing code from mod_fortune 2008-10-23 18:23:13 +02:00
Thomas Porzelt 616180e9ac add mod_fortune 2008-10-22 17:11:32 +02:00