1 2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * configure.in: check for strndup().
4 * src/glib_compat.c: added g_strndup() from eglib.
5 Fixes the compilation for systems without strndup().
7 2009-08-24 Marek Habersack <mhabersack@novell.com>
9 * configure.in: no longer checks for glib
11 2009-08-22 Marek Habersack <mhabersack@novell.com>
13 * mod_mono.conf.in: added X-Powered-By header. Fixes bug #400825
15 2009-03-09 Marek Habersack <mhabersack@novell.com>
17 * autogen.sh: added support for detecting libtool on Mac, which
18 has it renamed to glibtool in versions 10.5+. Fixes bug #478381
20 2009-03-08 Marek Habersack <mhabersack@novell.com>
22 * configure.in: added detection of glib
24 2009-02-20 Marek Habersack <mhabersack@novell.com>
26 * configure.in: added --with-debug-level to set the DEBUG_PRINT
28 Removed Apache 1.3 support.
30 * AUTHORS, INSTALL, README: updated
32 2009-02-16 Marek Habersack <mhabersack@novell.com>
34 * src/mod_mono.c (fork_mod_mono_server): unblock the signals Mono
35 needs (SIGPWR, SIGXCPU, 33, 35) just before executing the
36 backend. It appears that some versions of Apache block signals and
37 Mono uses the above in the runtime and in the GC. As the result of
38 those signals being blocked, the forked backend would lock up as
39 soon as GC would start collecting. Thanks to Zoltan Varga for
40 noticing that the signals are blocked. Fixes bug #472732
42 2009-01-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
44 * src/mod_mono.c: redirect stdout to null when not in debug mode. Now
45 we can write large amounts of text to the console without slowing down
48 2009-01-08 Marek Habersack <mhabersack@novell.com>
50 * configure.in: added the --with-remove-display configure
51 parameter to enable removing of the DISPLAY variable
52 from the mod-mono-server backend's environment. Fixes bug #464225
54 * src/mod_mono.c (fork_mod_mono_server): remove the DISPLAY
55 variable from the child process environment if mod_mono was
56 compiled with REMOVE_DISPLAY defined. Fixes bug #464225
58 2008-10-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
60 * src/mod_mono.c: hush warnings.
62 2008-09-25 Joshua Tauberer <jit@occams.info>
64 * src/mod_mono.c: Typo in error message "droping" now "dropping".
66 2008-09-22 Juraj Skripsky <js@hotfeet.ch>
68 * mod_mono.conf.in: Add new file types (as registered in
69 /etc/mono/2.0/web.config).
71 2008-07-14 Joshua Tauberer <jit@occams.info>
73 * src/mod_mono.c: Always acquire a lock at the start of processing
74 a request. The active requests counter function now assumes the
75 lock is already aquired. Also added a accepting_requests flag
76 to the dashboard so that xsp configurations can be paused. Now
77 when restarting mod-mono-server from the control panel, the
78 configuration is set to not accepting requests (503s returned)
79 until after the restart. This fixed a problem that when requests
80 came in during a restart, mod-mono-server would never successfully
81 come back but it would keep getting forked. The flag can also
82 be turned on and off through the control panel.
84 2008-07-14 Marek Habersack <mhabersack@novell.com>
86 * src/mod_mono.c (write_string_to_buffer, send_initial_data): use
87 32-bit integers explicitly.
89 2008-07-11 Marek Habersack <mhabersack@novell.com>
91 * src/mod_mono.h (PROTOCOL_VERSION): bumped to 9
93 * src/mod_mono.c: added new structure, initial_data_info, used to
94 optimize the send_initial_data function.
95 (write_string_to_buffer): added new parameter, str_length, which
96 optionally provides the string length.
97 (get_table_send_size, write_table_to_buffer): serialized table
98 contains the whole table size in addition to element count now.
99 (send_initial_data): when calculating the initial data size use
100 the initial_data_info structure to store the figures, so that we
101 don't have to do it again later on in the code.
102 Protocol version is followed by the total block size now, so that
103 mod_mono_server can retrieve the initial data in one recv call
104 instead of in a series of those.
106 * configure.in: added support for compiling with profiling
107 information (--enable-gprof)
109 2008-05-20 Marek Habersack <mhabersack@novell.com>
111 * src/mod_mono.c: work correctly with IPv6 sockets, by detecting
112 the socket family instead of hard-coding it to AF_INET.
113 Do not get the default server's socket name until it is known
114 which mode the server should work in (tcp or unix sockets).
116 Patches contributed by Alex Villacís Lasso
117 <avillaci@ceibo.fiec.espol.edu.ec>, thanks!
119 2008-04-14 Marek Habersack <mhabersack@novell.com>
121 * src/mod_mono.c: add several ifdefs for compilation with apache
122 1.3. Fixes bug #374272
124 2008-01-28 Wade Berrier <wberrier@novell.com>
126 * configure.in: Version bump -> 1.9
128 2008-01-21 Joshua Tauberer <jit@occams.info>
130 * src/mod_mono.c: Implemented configurable rate limiting
131 with MonoMaxActiveRequests and MonoMaxWaitingRequests.
133 2008-01-20 Joshua Tauberer <jit@occams.info>
136 ensure_dashboard_initialized:
137 - Try to delete an existing lockfile before creating a mutex
138 (relevant if the lock type uses files).
139 - Don't always try to remove the shm file (as root). This
140 means we could never attach to an existing shm. The file
141 ought to always be created as the apache user anyway.
142 Instead, only delete after a failed attach.
143 - Don't always call apr_shm_baseaddr_get in every call to this.
144 - Code cleanup and fixes (a return should have been a goto).
145 mono_execute_request:
146 - Check that dashboard was actually created before accessing it.
148 - Don't use the xsp->status flag in Apache 2+ since this is
149 handled by the new cross-process locking mechanism.
151 - No need to check if xsp->dashboard_shm was changed while
152 waiting for a lock: that's impossible. (It's not multi-threaded.)
153 - Don't call apr_shm_detach before apr_shm_destroy. That's not
154 the right use of the API.
156 2007-11-08 Wade Berrier <wberrier@novell.com>
158 * configure.in: Version bump -> 1.2.6
160 2007-11-07 Marek Habersack <mhabersack@novell.com>
162 * configure.in: added a --with-apu-config option, which lets one
163 select an apu-config path different to the auto-detected
164 one. Fixes bug #324685
166 2007-10-16 Marek Habersack <mhabersack@novell.com>
168 * src/mod_mono.c (xsp_data): revert the flush logic - use
169 'no_flush' instead of 'do_flush' as it matches the managed side
170 more closely. Fixes (again) bug #325441
172 * src/mod_mono.h (cmdNames): reorder the names to match the enum.
174 2007-10-03 Marek Habersack <mhabersack@novell.com>
176 * man/mod_mono.8.in: removed documentation of the recently added
177 MonoFlushOnWrite directive. It is replaced by the new protocol
178 command described below.
180 * src/mod_mono.h: added the PROTOCOL_VERSION define (and bumped
181 the protocol value to 8, as a new command has been added).
182 Defined a new command, SET_CONFIGURATION, which is used to
183 configure mod_mono/apache from within the Mono ASP.NET runtime
184 (currently only HttpResponse.BufferOutput is sent)
186 * src/mod_mono.c: implemented new command, SET_CONFIGURATION.
187 Use PROTOCOL_VERSION macro when necessary instead of using the
188 literal integer value.
189 Removed the recently added MonoFlushOnWrite directive.
191 2007-10-02 Marek Habersack <grendello@gmail.com>
193 * man/mod_mono.8.in: added more info for the MonoFlushOnWrite
196 2007-10-01 Marek Habersack <mhabersack@novell.com>
198 * src/mod_mono.c: implemented support for flushing the Apache
199 output buffers on every write, configurable via the
200 MonoFlushOnWrite directive.
202 * man/mod_mono.8.in: added documentation of the MonoFlushOnWrite
205 2007-09-27 Marek Habersack <mhabersack@novell.com>
207 * man/mod_mono.8.in: document the restart options as Apache 2.0+
210 * src/mod_mono.h: move all apr includes to the APACHE2-only
213 * src/mod_mono.c: disable dashboard (and restart) for Apache 1.3 -
214 the support requires apr, which cannot be used in 1.3 modules (as
215 far as I know). Module compiles fine with Apache 1.3 now
217 2007-09-26 Marek Habersack <mhabersack@novell.com>
219 * src/mod_mono.c: added three wrapper functions to get the apache
220 configured user id, group id and user name.
221 (ensure_dashboard_initialized): attempt to remove the dashboard
222 file (if dashboard hasn't been created yet) as root, not as the
225 * src/mod_mono.h: unixd.h is not found in APACHE 1.3
227 2007-09-16 Joshua Tauberer <jit@occams.info>
229 * src/mod_mono.c (mono_execute_request): if it can't establish a
230 connection after several attempts at forking, emit an error and
231 don't continue on assuming the connection is there (causes ENOTCONN).
233 2007-08-22 Marek Habersack <mhabersack@novell.com>
235 * src/mod_mono.c (terminate_xsp2): if apache is shutting down,
236 destroy the mutex too, to avoid a leak.
238 2007-08-10 Marek Habersack <mhabersack@novell.com>
240 * src/mod_mono.c (terminate_xsp2): take an extra argument telling
241 whether to acquire the dashboard lock before attempting to destroy
244 * configure.in: typo fixed
246 2007-08-08 Joshua Tauberer <jit@occams.info>
248 * src/mod_mono.c: some fixes for the cross-process
249 locking and refactored process limits.
250 - Added a flag in the dashboard to ensure only one child process
251 issues an automated restart request to xsp.
252 - Don't assume the mutex is actually ever created in case of problems.
253 - Don't call apr_global_mutex_child_init if MOD_MONO_LOCKING_MECHANISM
254 is set, since for me this causes all locks to block forever.
255 - Improved some error messages and added one about command stream
257 - When the auto-restart check cannot get a lock, don't return a
258 HTTP_SERVICE_UNAVAILABLE status code, since we've already successfully
260 - Don't reset the dashboard in start_xsp if no fork was necessary.
261 - Included dashboard info in the control panel.
262 - Refactored process limits in order to aid debugging on why it
265 2007-08-06 Marek Habersack <mhabersack@novell.com>
267 * configure.in: added --enable-gcov option to enable gcov(1)
270 * src/mod_mono.c (get_apr_locking_mechanism): use the
271 MOD_MONO_LOCKING_MECHANISM environment variable which lets the
272 user choose the dashboard locking mechanism on the runtime. It
273 must be set through the envvar since the module must know the
274 value before launching the backends, and that happens before the
275 config is fully parsed and merged.
277 * man/mod_mono.8.in: documented new environment variable
278 MOD_MONO_LOCKING_MECHANISM.
280 2007-07-30 Marek Habersack <mhabersack@novell.com>
282 * src/mod_mono.h (HAVE_UNIXD): define HAVE_UNIXD if we're running
283 on a platform that uses it.
285 * src/mod_mono.c (mono_execute_request): initialize the global
286 mutex in the child process at the first request after we
287 initialize mod_mono. The call needs to be made in the child
288 process, so it can't stay in the initialization section of
289 ensure_dashboard_initialized.
290 (ensure_dashboard_initialized): if necessary, set the global mutex
292 (ensure_dashboard_initialized): check if unixd_config has correct
293 data before attempting to use it.
294 (fork_mod_mono_server): as above.
296 2007-07-26 Marek Habersack <mhabersack@novell.com>
298 * man/mod_mono.8.in: added documentation for the new directives
300 * src/mod_mono.c: implemented backend auto-restart feature, along
301 with corresponding configuration directives, cross-process (or
302 cross-thread) locking. The housekeeping data is kept in a
303 per-backend shared memory segment (a dashboard) and is protected
304 with a mutex. The backends can be auto-restarted based on the
305 number of requests served, or their uptime.
306 Removed some debug statements.
308 2007-07-19 Marek Habersack <mhabersack@novell.com>
310 * src/mod_mono.c (mono_execute_request): added support for
311 restarting backends which disappeared.
312 (mono_cmds): defined two new configuration directives:
313 MonoXSPStartAttempts and MonoXSPStartWaitTime, used by code
316 * man/mod_mono.8.in: added documentation for the two new
319 2007-07-18 Marek Habersack <mhabersack@novell.com>
321 * src/mod_mono.c: if APR has uid/gid support and
322 we're not compiling for WIN32, start the backends from the module
323 post config handler, it avoids launching of many backends on
326 2007-07-14 Marek Habersack <mhabersack@novell.com>
328 * src/mod_mono.c (do_command): added error logging
329 (write_data): as above
330 (read_data): as above
332 * src/mod_mono.h (STATCODE_AND_SERVER): new macro to add support
333 for non-zero status codes (the status code is ignored for Apache <
336 2007-06-20 Marek Habersack <mhabersack@novell.com>
338 * src/mod_mono.c (send_initial_data): added support for
339 ServerAlias directive. Patch from Juraj Skripsky
340 <juraj@hotfeet.ch>, thanks! Closes bug #81878.
342 2007-04-19 Wade Berrier <wberrier@novell.com>
344 * configure.in: Version bump -> 1.2.4
346 2007-04-03 Wade Berrier <wberrier@novell.com>
348 * configure.in: add checking for headers as configured by
349 apu-config. It's possible to have libapr headers in a different
350 location than libapr-util headers. (happens on suse 10.1)
352 2007-03-29 Miguel de Icaza <miguel@novell.com>
354 * src/mod_mono.c (do_command.GET_CLIENT_BLOCK): If we get a -1
355 from ap_get_client_block, send that value but not any further
356 data. There is now a guard in xsp for this condition.
358 2007-03-28 Marek Habersack <grendello@gmail.com>
360 * src/mod_mono.c (do_command): abort when either xsp sends us size
361 of -1 in the GET_CLIENT_BLOCK command or when ap_get_client_block
362 returns -1 as the result of client breaking the connection. This
363 action prevents an exception later on in xsp.
365 2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
368 * ChangeLog: revert r66281 and r66836. It should make mod_mono work
369 again for most of the people, while it will break for certain virtual
372 2006-11-02 Wade Berrier <wberrier@novell.com>
374 * configure.in: bump version -> 1.2
376 2006-10-26 Marek Habersack <grendello@gmail.com>
378 * man/mod_mono.8.in: describe the new MonoUnixUmask directive.
379 * src/mod_mono.c: add code to handle the new configurable umask
382 2006-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
384 * src/mod_mono.c: avoid using too much memory for long responses.
385 * src/mod_mono.h: defines for 1.3 to work with apr_pool. Fixes bug
386 #79701. Thanks to Cyrille Colin.
388 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
390 * src/mod_mono.c: Fix problem in Solaris 9 due to alignment. Patch by
391 Jonathan Zimmerman. Closes bug #78232.
393 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
396 * src/mod_mono.[ch]: From now on, we run the mod-mono-server or
397 mod-mono-server2 script instead of running mono directly. This is
398 needed after the latest changes in the runtime that will make
399 ShadowCopyFiles possible.
401 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
403 * man/mod_mono.8.in: Add documentation about MOD_MONO_CCV variable
404 used to control the validation of X.509 client certificates.
406 2006-08-02 Wade Berrier <wberrier@novell.com>
408 * configure.in: Make sure CPPFLAGS get propogated
410 2006-08-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * configure.in: make it work with the latest and greates apache 2.2.3
415 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
417 * src/mod_mono.c: when using autoapplications, pass all the options that
418 don't have an explicit alias to XXGLOBAL, which is the internal name
419 used for the mod-mono-server instance that will create new applications
420 on demand. Using XXGLOBAL as an identifier is forbidden now.
422 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * src/mod_mono.c: allow setting MonoDebug when using automatic
425 applications. Before this fix, no mod-mono-server would be started.
428 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
430 * src/mod_mono.c: reuse the memory allocated when mod-mono-server reads
431 the request body. Patch by Dean Brettle.
433 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
435 * src/mod_mono.[ch]: the number of arguments for apr_socket_create
436 depends on the apr version used when compiling. Fixes bug #77933.
438 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * src/mod_mono.h: fix compilation for systems that do not have stdint.h.
443 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
445 * configure.in: more hackery for 1.3 and apr-config. Fixes bug #77928.
446 Patch by jedynamic@bellsouth.net.
448 2006-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
450 * configure.in: add apxs -q CFLAGS. Fixes bug #77764.
452 2006-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
454 * configure.in: append --includes from apr-config to CFLAGS.
456 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
458 * src/mod_mono.c: actually write the result of IS_CONNECTED. Patch by
461 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
464 * src/mod_mono.[ch]: now apache 2.2 is supported.
466 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
468 * src/mod_mono.c: patch by Dean Brettle that fixes chunked encoding
471 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
474 * INSTALL: add documentation about the control panel. Patch by Matthew
477 2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
479 * src/mod_mono.c: make auto-hosting work in apache 1.3.
481 2005-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
483 * src/mod_mono.c: fix problems in 1.1.10 regarding user-configured applications.
484 We were finding the global server instead of the default one.
486 2005-11-09 Robert Jordan <robertj@gmx.net>
488 * src/mod_mono.*: fixed compatibility issue with Apache 1.3.
490 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
492 * mod_mono.conf.in: added ASP.NET extensions to the configuration file.
493 * src/mod_mono.c: added MonoAutoApplication directive and support for
494 automatically registering new ASP.NET applications as they are
497 2005-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
499 * configure.in: 1.1.9.99.
500 * src/mod_mono.[ch]: server variables are now written with the rest of
501 the initial data sent to mod-mono-server. Variables starting with HTTP_
502 are not sent, as those will be created by System.Web from the headers.
504 2005-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506 * src/mod_mono.c: send all the server variables in one single write.
507 Before we did 2 writes per variable. Incremented version to 5. You'll
508 need to sync with xsp.
509 * src/mod_mono.h: add table defines for apache 1.3.
511 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
514 (get_default_socket_name): handle the NULL alias case setting it to
516 Style fixes and replaced sprintf with apr_psprintf.
518 2005-09-23 Joshua Tauberer <tauberer@for.net>
522 The default alias for xsp's within vhosts is the name of the
523 vhost server, so that vhosts with default aliases don't all
524 use the same Unix socket file name. A new is_default field
525 tracks whether an XSP is the server default, rather than using
528 Aliases are never NULL except when passed to search_for_alias,
529 start_xsp, and terminate_xsp2.
531 The control panel is amended so that individual XSPs
534 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
536 * src/mod_mono.c: if we read 0 bytes, stop the loop in apr_socket_recv
537 used in apache 1.3. Patch by Mathias Herberts.
539 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
541 * src/mod_mono.[ch]: one single read for all the headers.
544 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
546 * src/mod_mono.[ch]: new SEND_FILE command that uses apache's ap_send_fd
547 when sending a file. No more sucking when mod_mono serves static files.
549 2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
551 * src/mod_mono.h: updated to new default path for mod-mono-server.exe.
552 WARNING: this might break if you don't install an up-to-date xsp!!!
554 2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
557 * man/mod_mono.8.in: the path for the xsp tests has changed.
559 2005-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
561 * mod_mono.conf.in: use <IfModule>
563 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
565 * src/Makefile.am: no need to set PREFIX for apxs.
567 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
569 * src/mod_mono.[ch]: support for IS_CONNECTED and increased version
572 2005-05-03 Ben Maurer <bmaurer@ximian.com>
574 * configure.in: 1.0.9
576 2005-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
578 * configure.in: when checking for http_protocol.h, include httpd.h too.
579 Patch from Bill Middleton.
581 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
583 * src/mod_mono.c: added control panel from Joshua Tauberer.
584 * src/mod_mono.h: uri_component 1.3 -> apr_uri_t in 2.0
586 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
588 * src/mod_mono.h: forgot to add a define for apache 1.3 with the
589 equivalent apr_table_addn.
591 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
593 * src/mod_mono.c: don't overwrite headers already set. Fixes bug #74507.
595 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
597 * src/mod_mono.c: add CGI and other variables to the request.
599 2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
602 * man/mod_mono.8.in: documented MonoSetEnv.
604 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
606 * src/mod_mono.c: added MonoSetEnv directive. From a patch by Joel
609 2005-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
611 * src/mod_mono.c: try to connect to mod-mono-server before forking.
614 2005-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
616 * configure.in: 1.0.6.99.
617 * src/mod_mono.c: patch from Rob Lyon that fixes unix socket deletion
618 when the default name is used.
620 2005-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
622 * src/mod_mono.c: some small changes that make this work on amd64.
623 Thanks to Mike Morano.
625 2005-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
627 * src/mod_mono.c: make the new 'several mod-mono-server' schema work
628 when directives are inside <virtualhost>.
630 2005-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
632 * src/mod_mono.c: prevent execution of 'init' twice (parent and child)
634 * src/mod_mono.h: added extern declaration for 2 apache 1.3 variables.
636 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
638 * src/mod_mono.h: removed <apr_env.h>.
640 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
642 * src/mod_mono.c: SERVER_PORT_SECURE returns true if we're https. Part
643 of the fix for bug #71680.
645 2005-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
648 * man/mod_mono.8.in: updated.
650 2005-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * configure.in: no ranlib.
654 * src/mod_mono.c: fixed a few minor problems found under apache 1.3.
655 Don't pass the default mono config. directory to servers others than
656 the default one. Fixed the default socket file name for non-default
659 * src/mod_mono.h: MonoSetServerAlias takes 1 argument even on
664 2005-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
666 * configure.in: fixed autoscan warning and use 'if test'.
667 * src/mod_mono.[ch]: added support for starting more than one
668 mod-mono-server. All the existing directives can take now 2 parameters,
669 the first being an alias for a mod-mono-server instance. Added
670 MonoSetServerAlias to be used inside Location/Directory to choose which
671 mod-mono-server instance will be used. The alias 'default' is assumed
672 if the alias argument is omitted.
674 2005-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
676 * src/mod_mono.c: removed MonoDebug stuff and unused
677 apr_wait_for_io_or_timeout when compiling for apache 1.3.
678 New AddMonoApplications directive that takes 2 arguments, the first one
679 unused by now and the second one a set of applications to be appended
680 to the existing ones.
682 * src/mod_mono.h: #defined MAKE_CMD_ITERATE2.
684 2005-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
686 * configure.in: added --enable-debug to compile mod_mono with verbose
688 * src/mod_mono.c: comment on DEBUG and remove the unix socket file upon
689 termination of mod-mono-server, just in case the finalizers are not
694 2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
697 * src/mod_mono.h: define our own variable when building for a big-endian
698 architecture instead of using WORDS_BIGENDIAN, since some packages might
699 have that defined on little-endian machines !?. Thanks to Winfried
700 Harbecke for pointing this out.
702 2005-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
704 * configure.in: 1.0.5.99
705 * src/mod_mono.c: start mod-mono-server in the child_init step. This
706 makes mod_mono work on all apache 2 MPM models and also works for 1.3.
707 Thanks to Rob Lyon for most of the patch.
709 2005-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
711 * src/mod_mono.c: patch by Raffaelle Sandrini that adds a new MonoDebug
712 directive to enable the debug mode when running mono.
715 * man/mod_mono.8.in: documented te previous change.
717 2004-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
719 * src/mod_mono.c: pass default applications directory to
721 * src/Makefile.am: add new compilation flags.
722 * mod_mono.conf.in: added warning.
723 * Makefile.am: Modified file.
726 * man/mod_mono.8.in: updated for <enabled> in .webapp files and the
727 default value for MonoApplicationsConfigDir.
729 2004-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
731 * configure.in: added more tests for functions/headers. New option to
732 set the default MonoApplicationsConfigDir.
734 * src/mod_mono.c: don't use sleep and don't fork mod-mono-server if
735 we're terminating and mod-mono-server wasn't started.
737 * src/mod_mono.h: this should be ok to compile on windows now.
739 Thanks to Angel Marín.
741 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
743 * src/mod_mono.c: patch by alois.belaska@monetplus.cz that fixes
744 mod_mono wrong behavior for big pages. Closes bugs #67938 and #68554.
746 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
748 * src/mod_mono.c: double fork is back. When the configuration pool is
749 cleaned up, we tell mod-mono-server to terminate instead of sending a
750 SIGTERM, thus allowing unloading the applications and Application_End
751 event being triggered.
753 * configure.in: 1.0.2.99
755 2004-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
757 * src/mod_mono.c: disabled --debug option for mono.
759 2004-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
761 * src/mod_mono.c: patch from Anders (andersb@blacksun.ca) that fixes
762 crash in apache 1.3/Red Hat 7.3 environment due to gcc2 vs. gcc3 issues.
764 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
766 * src/mod_mono.c: removed the timeout code by now. It's buggy.
768 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
770 * src/mod_mono.c: FLUSH is a noop now. Will be removed. Added send, recv
771 and timeout functions for apache 1.3 module. Buffer initial data for
772 writing. Every read/write may timeout now.
774 * src/mod_mono.h: added new declarations and headers to fix all
777 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
779 * INSTALL: renamed libmod_mono.so to mod_mono.so.
780 * configure.in: removed old module stuff. Fixed apr_socket_connect
781 test, check for http_protocol.h
782 * mod_mono.conf.in: renamed libmod_mono.so to mod_mono.so.
783 * src/.cvsignore: renamed libmod_mono.so to mod_mono.so.
784 * src/Makefile.am: removed old module stuff, renamed to mod_mono.so,
787 * src/ApacheApplicationHost.cs: Removed.
788 * src/ApacheWorkerRequest.cs: Removed.
789 * src/IApplicationHost.cs: Removed.
790 * src/MonoWorkerRequest.cs: Removed.
791 * src/Request.cs: Removed.
792 * src/makedll.mak: Removed.
793 * src/mod_mono_old.c: Removed.
795 2004-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
799 * src/Makefile.am: changes needed by our favourite packager to make
800 rpms out of this. Building the old module is no longer an option.
802 2004-08-12 Geoff Norton <gnorton@customerdna.com>
806 * src/mod_mono.c: Use RLIMIT_DATA as opposed to RLIMIT_AS; because
807 RLIMIT_AS isn't defined on all platforms. Update documentation to
810 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
812 * configure.in: 1.0.1
813 * src/mod_mono.c: attempt to address sigsegv seem on Fedora when all
814 defaults are used. Write to the error log if the user does not have
815 permission on .wapi directory.
817 2004-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
819 * configure.in: s/apr-0/apr/
822 * man/mod_mono.8.in: documented MonoMaxMemory and MonoMaxCPUTime and
825 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
827 * src/mod_mono.c: set filename and listen_address defaults in the
830 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
832 * src/mod_mono.c: use RLIMIT_AS instead of RLIMIT_DATA. gcc 3.2 doesn't
833 like #ifdef inside macro parameters.
835 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
837 * configure.in: check for setrlimit.
838 * src/mod_mono.c: added MonoMaxMemory and MonoMaxCPUTime directives. If
839 set and setlimit is available, mod_mono will set those limits when
840 spwning mod-mono-server.
842 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
846 * src/mod_mono.h: moved conditional cruft to a header file. Fixed note
847 on default value for MonoRunXSP. NOT_FOUND is defined in apache 1.3, so
848 changed it to MYNOT_FOUND. Removed a few simple functions. In short,
851 2004-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
853 * src/mod_mono.c: ap_conn_flush does a *final* flush on the connection,
854 and that conflicts with mod_ssl handling of End-Of-Connection buckets,
855 so, connection_flush is a noop now.
856 See bug #60117 for details.
858 2004-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
860 * src/mod_mono.c: added NOT_FOUND command and prevent invalid commands
861 from crashing mod_mono.
863 2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
866 * src/mod_mono.c: seems like apr_socket_connect is post 0.9.2 version
869 2004-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
871 * src/mod_mono.c: added listen port and listen address used when
872 communicating with mod-mono-server over a TCP socket. Implemented
873 apr_sockaddr_info_get and apr_socket_connect for apache 1.3. Pass
874 --debug option when forking mono.
876 2004-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
878 * src/mod_mono.c: removed more commands and send their data upon
881 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
883 * src/mod_mono.c: removed the mutex stuff that prevented multiple forks
884 no first request. It doesn't work on RH9 :-? (worked on debian sid with
887 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
889 * src/mod_mono.c: removed unused commands, unified setting status code
890 and message into one single command. Now apache handles closing the
891 socket used to connect to mod-mono-server and waiting, terminating or
892 killing the forked process when the configuration is reloaded or apache
893 is shut down. When we get several request, don't fork more than once.
895 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
898 * src/ApacheApplicationHost.cs:
899 * src/ApacheWorkerRequest.cs:
900 * src/IApplicationHost.cs:
901 * src/MonoWorkerRequest.cs:
904 * src/mod_mono_old.c: relicensed under apache license version 2.0.
907 2004-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
911 2004-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
916 * src/mod_mono.c: added --with-mono-prefix configure option so that
917 if mod_mono is installed in a different prefix from mono, the default
918 paths for locating mono and mod-mono-server.exe are right.
920 2004-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
922 * src/mod_mono.c: fixed a couple of big-endian issues.
924 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
926 * configure.in: check for endian-ness.
927 * src/mod_mono.c: all the integers that are read/written from/to the
928 socket are swapped if the module is running in a big endian system.
930 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
933 * INSTALL: added .webapp sample. MonoApplications is not mandatory.
935 * src/mod_mono.c: at least one of MonoApplications,
936 MonoApplicationsConfigFile and MonoApplicationsConfigDir is mandatory.
938 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
940 * configure.in: check for setenv and putenv.
941 * src/mod_mono.c: use putenv when setenv is not available. Fixes build
942 problem under Solaris 8.
944 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
948 2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
953 * src/mod_mono.c: no need to maintain 2 separated lists of commands and
954 descriptions for apache 1.3 and 2.0.
956 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
958 * src/mod_mono.c: patch from Andrew Arnott that fixes parameters passed
961 2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
966 * man/mod_mono.8.in: updated man page.
968 * man/mod_mono.8: Removed.
970 2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
972 * src/mod_mono.c: support for MonoApplicationsConfigFile and
973 MonoApplicationsConfigDir directives by Andrew Arnott.
975 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
977 * src/mod_mono.c: patch by Christopher McGinnis
978 <christopherm@neopets.com> that adds MonoDocumentRootDir directive which
979 maps to --root argument for mod-mono-server.
981 * man/mod_mono.8: updated manual page.
983 * src/Makefile.am: added -module flag to libtool to fix the PPC install.
985 2004-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
989 * src/.cvsignore: updated.
992 * src/mod_mono.c: the default prefix is the one set with --prefix, not
995 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
997 * INSTALL: small update on PathInfo.
998 * man/mod_mono.8: documented.
1000 2004-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1002 * INSTALL: updated with new configuration information.
1004 2004-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * Makefile.am: added 'man' directory.
1007 * autogen.sh: fixlet.
1008 * configure.in: attempt to make 1.3/2.0 detection fool-proof.
1010 * src/mod_mono.c: added the ability to spawn mod-mono-server if the
1011 named pipe is not there or is refusing connections. Added new
1012 configuration directives that control whether we want to spawn
1013 mod-mono-server, paths, applications...
1017 * man/mod_mono.8: empty man page (by now :).
1019 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021 * configure.in: substitute APXS and small fix for TRY_COMPILE.
1023 2004-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1026 * INSTALL: details on the *NEW* setup for mod_mono. Existing
1027 installations will break. Added sample configurations.
1029 * autogen.sh: check for error when running autoheader.
1030 * configure.in: created a new conditional (APACHE2) and added a new
1031 AC_DEFINE with the same name so that mod_mono_config.h is updated if
1032 we change the target apache version and the sources are recompiled.
1034 * src/Makefile.am: use apxs to install the modules. It adds the
1035 LoadModule line automatically to the apache configuration file.
1037 * src/mod_mono.c: added some debug help. The request is accepted based
1038 on the handler name, not the content type.
1040 2004-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1042 * NEWS: old stuff here.
1043 * src/Makefile.am: don't add libmod_mono_old.la to lib_LTLIBRARIES when
1044 we're not building mod_mono_old.
1046 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1048 * configure.in: fixed issues detecting the right version of apache in
1051 2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1053 * src/mod_mono.c: make query string work. mod_rewrite for apache 1.3
1054 and 2.0 uses ->args instead of parsed_uri.
1056 2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058 * configure.in: use single quotes inside AC_ARG_WITH. Moved apache 1.3
1059 CFLAGS modification to a better place.
1061 * src/Makefile.am: use $(top_builddir) instead of @top_builddir@.
1062 Thanks to Benjamin Jemlich and Mark Crichton.
1064 2003-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1066 * configure.in: fixed 1.3/2.0 detection + apr-config
1068 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1071 * src/Makefile.am: made compilation of mod_mono_old optional and
1072 disabled by default. You need --enable-old-module to build it.
1074 2003-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1076 * src/mod_mono.c: return a 503 (Temporarily Unavailable) when the unix
1077 socket is not set up.
1079 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1081 * src/mod_mono.c: return 0 if OK for setup_client_block.
1083 2003-11-17 Duncan Mak <duncan@ximian.com>
1085 * src/Makefile.am (install): Fix install target.
1087 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1089 * configure.in: be smarter about apr-config.
1091 2003-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1093 * configure.in: added --with-apr-config useful for systems such as
1094 debian that installs apr headers in a different directory from the
1097 2003-10-04 Pedro Martínez Juliá <yoros@wanadoo.es>
1099 * src/mod_mono.c: added a loop when reading from the socket, it
1100 needs to read "l" bytes and "read" is getting "count" bytes.
1102 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1104 * src/mod_mono.c: added more error checks and write basic request data
1107 2003-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1110 * FAQ-old.txt: ...here.
1111 * INSTALL: only include installation instructions for mod_mono.
1112 * INSTALL-old: this contains instructions for mod_mono_old
1115 * configure.in: Modified file.
1116 * src/Makefile.am: Modified file.
1117 * src/mod_mono.c: moved to mod_mono_old.c
1118 * src/mod_mono_old.c:
1119 * src/mod_mono_unix.c: moved to mod_mono.
1121 Renamed mod_mono to mod_mono_old and mod_mono_unix to mod_mono.
1123 2003-09-20 Pedro Martínez Juliá <yoros@wanadoo.es>
1125 * INSTALL: Remove the doc lines related to <Location> directive
1126 because they are not needed since the last change.
1128 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1130 * configure.in: set version to 0.4.99.
1131 * src/mod_mono_unix.c: ap_log_error is different in 1.3 and 2.0. Fixed.
1132 It really works now for apache 1.3: send the headers, handle
1133 ap_log_error difference between 1.3 and 2.0, set the mime type for the
1136 2003-09-19 Pedro Martínez Juliá <yoros@wanadoo.es>
1138 * doc/mod_mono.xml: Add a few lines explaining how to get working
1141 * INSTALL: Talk about <Location> directive for apache to handle
1142 right asp.net pages.
1145 2003-09-19 Pedro Martínez Juliá <yoros@wanadoo.es>
1147 * src/mod_mono_unix.c: Added #ifdef for adapt all the module to
1148 apache 1.3.x. Now it loads and works right.
1150 * configure.in: Added -DEAPI needed for apache 1.3.x.
1152 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1154 * src/mod_mono_unix.c: don't loop forever if mod-mono-server is
1155 disconnected. content_type can be NULL.
1157 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1159 * INSTALL: tell about AddType and Alias for mod_mono_unix.
1161 * src/mod_mono_unix.c: check that the content type is
1162 application/x-asp-net before trying to process the request and log
1163 connection failures to mod-mono-server as debug.
1165 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * INSTALL: updated. MonoApplicationUnix now only takes 1 argument.
1168 * src/mod_mono_unix.c: removed alias matching code, added new
1169 DECLINE_REQUEST command and take only 1 argument, the unix socket
1170 file name. From now on, it lets mod-mono-server to choose if the request
1171 is processed or declined based on the applications configured.
1173 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175 * configure.in: fixed apache version detection. It was looking for
1176 "-I/some/directory/apr.h", then failed and default to 1.3.
1178 2003-08-10 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1179 * doc/modmono.xml: DocBook documentation
1180 * src/mod_mono.c: ifde-ed out code since it only supports Apache 2 currently
1181 * src/Makefile.am: consistent naming
1183 2003-08-04 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1185 * src/mod_mono_unix.c: Port to Apache 1.3
1187 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1189 * src/Makefile.am: added mod_mono_unix.
1190 * src/mod_mono_unix.c: New module that communicates with an external
1191 process through a unix socket.
1195 2003-04-12 Miguel de Icaza <miguel@ximian.com>
1197 * src/mod_mono.c (create_application_host): Add call to
1198 mono_config_parse to load the default configuration file. Maybe
1199 this should also be exposed to the Apache configuration file.
1201 2003-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1203 * src/ApacheWorkerRequest.cs: fixed compilation.
1205 2003-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1207 * src/MonoWorkerRequest.cs: added a MapPathEvent that is fired before
1208 doing the normal MapPath stuff and can provide alternate mappings.
1210 2003-03-11 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1211 * src/Request.cs: We need to check for length returned equal to 0 in alias_matches
1212 * src/mod_mono.c: fixed bug when matching prefix that made mod_mono handle all pages even those
1213 outside MonoApplication scope. Also fixed the way alias_matches is exposed to Request
1214 * FAQ.txt: Added some answers about Apache 1.3 and how to use proxypass
1215 * packaging/redhat/mod_mono.spec: Update to 0.3.6
1217 2003-02-25 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1218 Bring it up to date with Mono 0.20
1219 * src/mod_mono.c: added mono_thread_attach (thanks Dick). Return NULL if header not found.
1220 * src/ApacheApplicationHost.cs: Add an internal method so the call will
1221 be made in the right domain, as suggested by Dietmar. This can be done from C, but was added after
1222 Mono 0.20. It also required a serialization constructor for IntPtr that Gonzalo promptly added, thanks!
1223 * packaging/redhat/mod_mono.spec: Update for latest versions
1225 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1227 * src/MonoWorkerRequest.cs: updated from xsp.
1229 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1231 * src/MonoWorkerRequest.cs: fixed buglet in GetAppPath.
1233 2003-02-04 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1234 * Makefile.am: Add rpm spec files to packaging
1236 2003-02-03 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1237 * packaging/redhat: Added mod_mono.spec and mono.conf for RPM generation, thanks to David Hollis <dhollis@davehollis.com> for submitting it.
1239 2003-02-02 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1240 * src/mod_mono.c: Fixed returning null value when no query string is present. Thanks to "Ula? VURAL" <uvural@netorbits.com> and Geo <_geo@post.sk> for reporting this.
1242 2003-01-22 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1243 * INSTALL: Some typos and step by step instructions for Red Hat 8.0
1244 * README: Removed reference to POST not working
1245 * FAQ.txt: Added doc with more common problems people find installing mod_mono
1246 * Makefile.am: Added FAQ.txt to the dist files
1248 2003-01-18 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1249 * INSTALL: Updated install instructions to cover --with-apxs
1250 * configure.in: Check in /usr/sbin/apxs
1251 * src/mod_mono.c: Expose function to help remove prefix
1252 * src/Request.cs: RemovePrefix helper function to remove app virtual path
1253 before using MapPath
1254 * src/ApacheWorkerRequest.cs: MS docs seem to be wrong and GetFilePath returns uri path
1256 2003-01-18 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1257 Submitted by Alp Toker <alp@atoker.com> :
1258 * configure.in: Use --with-apxs instead of --with-apache2
1259 * src/Makefile.am: Install target
1261 2003-01-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262 * src/ApacheWorkerRequest.cs: added FIXME.
1263 * src/MonoWorkerRequest.cs: synched with the one in xsp.
1265 2003-01-09 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1266 * mcs/ApacheWorkerRequest.cs : Fixed typo, thanks Sergio Luis Valle Mayorga for catching it
1268 2003-01-07 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1269 * INSTALL: Add new config instructions. Only a MonoApplication directive is needed right now
1270 * src/mod_mono.c: Get rid of LoadModMonoDll, per Miguel suggestion, we look for the assembly
1271 in the assembly path now. Add MonoApplication directive, this simplies compfiguration greatly.
1272 * src/Makefile.am : makedll.mak was not being included in the distribution
1273 * src/ApacheWorkerRequest.cs : Do nothing with Content-Length, it will be set by Apache
1275 2003-01-06 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1276 * src/mod_mono.c: Added setter macros and allow setting status
1277 line and status code. Set r->content_type when Content-Type is set
1278 * src/Request.cs: Added SetStatusLine and SetStatusCode
1279 * src/ApacheWorkerRequest.cs: Added SendStatus
1281 2003-01-03 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1282 * src/mod_mono.c: Added support functions for reading HTTP bodies,
1283 this enables POST support:
1284 mono_apache_should_client_block,
1285 mono_apache_setup_client_block,
1286 mono_apache_get_client_block
1287 * src/ApacheWorkerRequest : Added ReadEntityBody
1288 * src/Request : Added ShouldClientBlock, SetupClientBlock, GetClientBlock
1289 for reading HTTP bodies and enabling POST support
1291 2002-12-31 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1292 * INSTALL: Added reference to machine.config
1293 * configure.in: Update version to 0.2
1294 * src/Makefile.am: Fix typo so 'make dist' works
1296 2002-12-30 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1297 * src/mod_mono.c: Fix ApacheApplicationHost creation:
1298 Method signature uses intptr and method to invoke is static.
1299 Pass request to ProcessRequest()
1300 * src/ApacheWorkerRequest.cs: Add GetFilePathTranslated, since
1301 is not mapping correctly in MonoWorkerRequest
1303 2002-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1305 * AUTHORS: added myself.
1306 * INSTALL: changed instructions on how to build ModMono.dll.
1307 * src/IApplicationHost.cs: interface to be implemented by asp.net
1309 * src/MonoWorkerRequest.cs: base class that will be shared between
1310 mod_mono and xsp server.
1311 * src/Request.cs: merged previous Connection and Request classes. Made
1312 all methods non-static. Store results from calling internal calls in
1314 * src/ApacheApplicationHost.cs: application host for mod_mono.
1315 * src/ApacheWorkerRequest.cs: it derives now from MonoWorkerRequest.
1317 * src/mod_mono.c: it now creates an ApacheApplicationHost and then call
1318 ProcessRequest on every request.
1320 * src/Makefile.am: added MONO_CFLAGS and new source files.
1321 * src/makedll.mak: use this to build ModMono.dll.
1323 * src/ModMono.cs: Removed file. It's been splitted.
1325 2002-12-14 Daniel Lopez Ridruejo <daniel @ rawbyte.com>