Permalink
Commits on Jan 28, 2008
  1. version bump -> 1.9

    Wade Berrier
    Wade Berrier committed Jan 28, 2008
    svn path=/trunk/mod_mono/; revision=94183
Commits on Jan 21, 2008
  1. 2008-01-21 Joshua Tauberer <jit@occams.info>

    Joshua Tauberer
    Joshua Tauberer committed Jan 21, 2008
    	* src/mod_mono.c: Implemented configurable rate limiting
    	  with MonoMaxActiveRequests and MonoMaxWaitingRequests.
    
    svn path=/trunk/mod_mono/; revision=93453
  2. 2008-01-20 Joshua Tauberer <jit@occams.info>

    Joshua Tauberer
    Joshua Tauberer committed Jan 21, 2008
    	* src/mod_mono.c:
    	  ensure_dashboard_initialized:
    	  - Try to delete an existing lockfile before creating a mutex
    	    (relevant if the lock type uses files).
    	  - Don't always try to remove the shm file (as root). This
    	    means we could never attach to an existing shm. The file
    	    ought to always be created as the apache user anyway.
    	    Instead, only delete after a failed attach.
    	  - Don't always call apr_shm_baseaddr_get in every call to this.
    	  - Code cleanup and fixes (a return should have been a goto).
    	  mono_execute_request:
    	  - Check that dashboard was actually created before accessing it.
    	  start_xsp:
    	  - Don't use the xsp->status flag in Apache 2+ since this is
    	    handled by the new cross-process locking mechanism.
    	  terminate_xsp2:
    	  - No need to check if xsp->dashboard_shm was changed while
    	    waiting for a lock: that's impossible. (It's not multi-threaded.)
    	  - Don't call apr_shm_detach before apr_shm_destroy. That's not
    	    the right use of the API.
    
    svn path=/trunk/mod_mono/; revision=93418
Commits on Nov 8, 2007
  1. 2007-11-08 Wade Berrier <wberrier@novell.com>

    Wade Berrier
    Wade Berrier committed Nov 8, 2007
           * configure.in: Version bump -> 1.2.6
    
    
    svn path=/trunk/mod_mono/; revision=89283
Commits on Nov 6, 2007
  1. 2007-11-07 Marek Habersack <mhabersack@novell.com>

    grendello committed Nov 6, 2007
    	* configure.in: added a --with-apu-config option, which lets one
    	select an apu-config path different to the auto-detected
    	one. Fixes bug #324685
    
    svn path=/trunk/mod_mono/; revision=89042
Commits on Oct 16, 2007
  1. 2007-10-16 Marek Habersack <mhabersack@novell.com>

    grendello committed Oct 16, 2007
    	* src/mod_mono.c (xsp_data): revert the flush logic - use
    	'no_flush' instead of 'do_flush' as it matches the managed side
    	more closely. Fixes (again) bug #325441
    
    	* src/mod_mono.h (cmdNames): reorder the names to match the enum.
    
    
    svn path=/trunk/mod_mono/; revision=87567
Commits on Oct 3, 2007
  1. 2007-10-03 Marek Habersack <mhabersack@novell.com>

    grendello committed Oct 3, 2007
    	* man/mod_mono.8.in: removed documentation of the recently added
    	MonoFlushOnWrite directive. It is replaced by the new protocol
    	command described below.
    
    	* src/mod_mono.h: added the PROTOCOL_VERSION define (and bumped
    	the protocol value to 8, as a new command has been added).
    	Defined a new command, SET_CONFIGURATION, which is used to
    	configure mod_mono/apache from within the Mono ASP.NET runtime
    	(currently only HttpResponse.BufferOutput is sent)
    
    	* src/mod_mono.c: implemented new command, SET_CONFIGURATION.
    	Use PROTOCOL_VERSION macro when necessary instead of using the
    	literal integer value.
    	Removed the recently added MonoFlushOnWrite directive.
    
    svn path=/trunk/mod_mono/; revision=86804
Commits on Oct 2, 2007
  1. 2007-10-02 Marek Habersack <grendello@gmail.com>

    grendello committed Oct 2, 2007
    	* man/mod_mono.8.in: added more info for  the MonoFlushOnWrite
    	directive.
    
    svn path=/trunk/mod_mono/; revision=86772
Commits on Oct 1, 2007
  1. 2007-10-01 Marek Habersack <mhabersack@novell.com>

    grendello committed Oct 1, 2007
    	* src/mod_mono.c: implemented support for flushing the Apache
    	output buffers on every write, configurable via the
    	MonoFlushOnWrite directive.
    
    	* man/mod_mono.8.in: added documentation of the MonoFlushOnWrite
    	directive.
    
    svn path=/trunk/mod_mono/; revision=86721
Commits on Sep 27, 2007
  1. 2007-09-27 Marek Habersack <mhabersack@novell.com>

    grendello committed Sep 27, 2007
    	* man/mod_mono.8.in: document the restart options as Apache 2.0+
    	only.
    
    	* src/mod_mono.h: move all apr includes to the APACHE2-only
    	section.
    
    	* src/mod_mono.c: disable dashboard (and restart) for Apache 1.3 -
    	the support requires apr, which cannot be used in 1.3 modules (as
    	far as I know). Module compiles fine with Apache 1.3 now
    
    svn path=/trunk/mod_mono/; revision=86462
Commits on Sep 26, 2007
  1. typo fix

    grendello committed Sep 26, 2007
    svn path=/trunk/mod_mono/; revision=86414
Commits on Sep 25, 2007
  1. 2007-09-26 Marek Habersack <mhabersack@novell.com>

    grendello committed Sep 25, 2007
    	* src/mod_mono.c: added three wrapper functions to get the apache
    	configured user id, group id and user name.
    	(ensure_dashboard_initialized): attempt to remove the dashboard
    	file (if dashboard hasn't been created yet) as root, not as the
    	target user.
    
    	* src/mod_mono.h: unixd.h is not found in APACHE 1.3
    
    svn path=/trunk/mod_mono/; revision=86372
Commits on Sep 16, 2007
  1. src/mod_mono.c (mono_execute_request): if it can't establish a

    Joshua Tauberer
    Joshua Tauberer committed Sep 16, 2007
           connection after several attempts at forking, emit an error and
           don't continue on assuming the connection is there (causes ENOTCONN).
    
    
    svn path=/trunk/mod_mono/; revision=85858
Commits on Aug 22, 2007
  1. 2007-08-22 Marek Habersack <mhabersack@novell.com>

    grendello committed Aug 22, 2007
    	* src/mod_mono.c (terminate_xsp2): if apache is shutting down,
    	destroy the mutex too, to avoid a leak.
    
    svn path=/trunk/mod_mono/; revision=84611
Commits on Aug 10, 2007
  1. update the mod_mono version

    grendello committed Aug 10, 2007
    svn path=/trunk/mod_mono/; revision=83805
  2. 2007-08-10 Marek Habersack <mhabersack@novell.com>

    grendello committed Aug 10, 2007
    	* src/mod_mono.c (terminate_xsp2): take an extra argument telling
    	whether to acquire the dashboard lock before attempting to destroy
    	the dashboard.
    
    svn path=/trunk/mod_mono/; revision=83804
Commits on Aug 9, 2007
  1. 2007-08-08 Joshua Tauberer <jit@occams.info>

    grendello committed Aug 9, 2007
    	* src/mod_mono.c: some fixes for the cross-process
    	locking and refactored process limits.
    	- Added a flag in the dashboard to ensure only one child process
    	issues an automated restart request to xsp.
    	- Don't assume the mutex is actually ever created in case of problems.
    	- Don't call apr_global_mutex_child_init if MOD_MONO_LOCKING_MECHANISM
    	is set, since for me this causes all locks to block forever.
    	- Improved some error messages and added one about command stream
    	corruption.
    	- When the auto-restart check cannot get a lock, don't return a
    	HTTP_SERVICE_UNAVAILABLE status code, since we've already successfully
    	sent page output.
    	- Don't reset the dashboard in start_xsp if no fork was necessary.
    	- Included dashboard info in the control panel.
    	- Refactored process limits in order to aid debugging on why it
    	doesn't work at all.
    
    svn path=/trunk/mod_mono/; revision=83716
Commits on Aug 6, 2007
  1. 2007-08-06 Marek Habersack <mhabersack@novell.com>

    grendello committed Aug 6, 2007
    	* configure.in: added --enable-gcov option to enable gcov(1)
    	compilation options.
    
    svn path=/trunk/mod_mono/; revision=83529
  2. 2007-08-06 Marek Habersack <mhabersack@novell.com>

    grendello committed Aug 6, 2007
    	* src/mod_mono.c (get_apr_locking_mechanism): use the
    	MOD_MONO_LOCKING_MECHANISM environment variable which lets the
    	user choose the dashboard locking mechanism on the runtime. It
    	must be set through the envvar since the module must know the
    	value before launching the backends, and that happens before the
    	config is fully parsed and merged.
    
    	* man/mod_mono.8.in: documented new environment variable
    	MOD_MONO_LOCKING_MECHANISM.
    
    svn path=/trunk/mod_mono/; revision=83526
Commits on Jul 30, 2007
  1. 2007-07-30 Marek Habersack <mhabersack@novell.com>

    grendello committed Jul 30, 2007
    	* src/mod_mono.h (HAVE_UNIXD): define HAVE_UNIXD if we're running
    	on a platform that uses it.
    	(ensure_dashboard_initialized): check if unixd_config has correct
    	data before attempting to use it.
    	(fork_mod_mono_server): as above.
    
    svn path=/trunk/mod_mono/; revision=83004
  2. 2007-07-30 Marek Habersack <mhabersack@novell.com>

    grendello committed Jul 30, 2007
    	(ensure_dashboard_initialized): if necessary, set the global mutex
    	permissions.
    
    svn path=/trunk/mod_mono/; revision=82979
  3. 2007-07-30 Marek Habersack <mhabersack@novell.com>

    grendello committed Jul 30, 2007
    	* src/mod_mono.c (mono_execute_request): initialize the global
    	mutex in the child process at the first request after we
    	initialize mod_mono. The call needs to be made in the child
    	process, so it can't stay in the initialization section of
    	ensure_dashboard_initialized.
    
    svn path=/trunk/mod_mono/; revision=82976
Commits on Jul 26, 2007
  1. formatting changes

    grendello committed Jul 26, 2007
    svn path=/trunk/mod_mono/; revision=82760
  2. 2007-07-26 Marek Habersack <mhabersack@novell.com>

    grendello committed Jul 26, 2007
    	* man/mod_mono.8.in: added documentation for the new directives
    
    	* src/mod_mono.c: implemented backend auto-restart feature, along
    	with corresponding configuration directives, cross-process (or
    	cross-thread) locking. The housekeeping data is kept in a
    	per-backend shared memory segment (a dashboard) and is protected
    	with a mutex. The backends can be auto-restarted based on the
    	number of requests served, or their uptime.
    	Removed some debug statements.
    
    svn path=/trunk/mod_mono/; revision=82759
Commits on Jul 19, 2007
  1. Remove a typo

    grendello committed Jul 19, 2007
    svn path=/trunk/mod_mono/; revision=82269
Commits on Jul 18, 2007
  1. 2007-07-19 Marek Habersack <mhabersack@novell.com>

    grendello committed Jul 18, 2007
    	* src/mod_mono.c (mono_execute_request): added support for
    	restarting backends which disappeared.
    	(mono_cmds): defined two new configuration directives:
    	MonoXSPStartAttempts and MonoXSPStartWaitTime, used by code
    	introduced above.
    	
    	* man/mod_mono.8.in: added documentation for the two new
    	directives.
    
    svn path=/trunk/mod_mono/; revision=82257
  2. 2007-07-18 Marek Habersack <grendello@gmail.com>

    grendello committed Jul 18, 2007
    	* src/mod_mono.c (mono_child_init): if APR has uid/gid support and
    	we're not compiling for WIN32, start the backends from the module
    	post config handler, it avoids launching of many backends on
    	startup
    
    svn path=/trunk/mod_mono/; revision=82244
Commits on Jul 14, 2007
  1. 2007-07-14 Marek Habersack <grendello@gmail.com>

    grendello committed Jul 14, 2007
    	* src/mod_mono.c (do_command): added error logging
    	(write_data): as above
    	(read_data): as above
    
    	* src/mod_mono.h (STATCODE_AND_SERVER): new macro to add support
    	for non-zero status codes (the status code is ignored for Apache <
    	2.0).
    
    svn path=/trunk/mod_mono/; revision=81970
Commits on Jun 20, 2007
  1. 2007-06-20 Marek Habersack <grendello@gmail.com>

    grendello committed Jun 20, 2007
    	* src/mod_mono.c (send_initial_data): added support for
    	ServerAlias directive. Patch from Juraj Skripsky
    	<juraj@hotfeet.ch>, thanks! Closes bug #81878.
    
    svn path=/trunk/mod_mono/; revision=80294
Commits on Apr 20, 2007
  1. tag 1.2.4

    Wade Berrier
    Wade Berrier committed Apr 20, 2007
    svn path=/trunk/mod_mono/; revision=75989
Commits on Apr 4, 2007
  1. * configure.in: add checking for headers as configured by

    Wade Berrier
    Wade Berrier committed Apr 4, 2007
    apu-config.  It's possible to have libapr headers in a different
    location than libapr-util headers. (happens on suse 10.1)
    
    
    svn path=/trunk/mod_mono/; revision=75371
Commits on Mar 29, 2007
  1. 2007-03-29 Miguel de Icaza <miguel@novell.com>

    migueldeicaza committed Mar 29, 2007
    	* src/mod_mono.c (do_command.GET_CLIENT_BLOCK): If we get a -1
    	from ap_get_client_block, send that value but not any further
    	data.   There is now a guard in xsp for this condition.
    
    svn path=/trunk/mod_mono/; revision=75121
Commits on Mar 28, 2007
  1. 2007-03-28 Marek Habersack <grendello@gmail.com>

    grendello committed Mar 28, 2007
    	* src/mod_mono.c (do_command): abort when either xsp sends us size
    	of -1 in the GET_CLIENT_BLOCK command or when ap_get_client_block
    	returns -1 as the result of client breaking the connection. This
    	action prevents an exception later on in xsp.
    
    
    svn path=/trunk/mod_mono/; revision=75117
Commits on Nov 21, 2006
  1. 2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

    gonzalop committed Nov 21, 2006
    	* src/mod_mono.c:
    	* ChangeLog: revert r66281 and r66836. It should make mod_mono work
    	again for most of the people, while it will break for certain virtual
    	host configurations.
    
    
    svn path=/trunk/mod_mono/; revision=68268
Commits on Nov 2, 2006
  1. configure.in: bump version -> 1.2

    Wade Berrier
    Wade Berrier committed Nov 2, 2006
    svn path=/trunk/mod_mono/; revision=67293